emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Organize Your Life In Plain Text!


From: Ian Barton
Subject: Re: [Orgmode] Re: Organize Your Life In Plain Text!
Date: Tue, 19 May 2009 10:19:39 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090409)


Meanwhile  have another problem:) When I try to view a page I can see
the basic navigation structure, but no style info or content. I notice
that there is no stylesheet.css in ~/blogs and I tried copying one
from the blorgit directory there. I do have an index.org, but it isn't
being processed and included in the web page index. I am guessing that
there is some problem with my Ruby installation. I have checked and I
am definitely using V1.8.

This problem is more complicated.  Blorgit relies on Emacs to actually
export org-mode files to html.  To do this it passes the org-mode files
to an Emacs server using the 'emacsclient' command.  To allow your Emacs
instance to act as a server for blorgit you need to load the
org-interaction.el file located in the backend/acts_as_org/elisp/
directory.  I have added the following to my .emacs so that this happens
automatically.

;; serve up web pages for blorgit
(load "~/src/blorgit/backend/acts_as_org/elisp/org-interaction.el")
I still have the same problem. I think the following log gives a clue:

address@hidden:~/devel/blorgit$ ruby blorgit.rb
== Sinatra/0.9.1.1 has taken the stage on 4567 for development with
backup from WEBrick
[2009-05-18 07:02:36] INFO  WEBrick 1.3.1
[2009-05-18 07:02:36] INFO  ruby 1.8.7 (2008-08-11) [i486-linux]
[2009-05-18 07:02:36] INFO  WEBrick::HTTPServer#start: pid=14054 port=4567
emacsclient: invalid option -- 'v'
Try `emacsclient --help' for more information
127.0.0.1 - - [18/May/2009 07:02:47] "GET /index HTTP/1.1" 200 3504 0.0816
localhost - - [18/May/2009:07:02:47 BST] "GET /index HTTP/1.1" 200 3504
http://localhost:4567/index -> /index
127.0.0.1 - - [18/May/2009 07:02:47] "GET /stylesheet.css HTTP/1.1"
200 530 0.0009
localhost - - [18/May/2009:07:02:47 BST] "GET /stylesheet.css
HTTP/1.1" 200 530
http://localhost:4567/index -> /stylesheet.css

Seems my emacsclient doesn't like one of the options. I am using:

GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.14.1)
 of 2008-09-05 on vernadsky, modified by Ubuntu

I've changed the options passed to emacsclient, so they should be more
uniform.  Please try the latest (git pull && git submodule update) and
see if that fixes the issue.  If emacsclient options problems persist,
you could try changing the options in line 21 of

backend/acts_as_org/lib/acts_as_org.rb
If need be I could make this information (the emacsclient command and
options) configurable.

Eric,

Thanks that has fixed my problem and I can start using Blorgit now. I am away next week, but when I get back I'll review the documentation on Worg.

Best wishes,

Ian.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]