From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Re: Organize Your Life In Plain Text! Date: Tue, 19 May 2009 10:19:39 +0100 Message-ID: <4A1279AB.9060404@manor-farm.org> References: <87zldovowk.fsf@gollum.intra.norang.ca> <87bppxojos.fsf@gollum.intra.norang.ca> <4D5BC81A-63F1-49E3-87BB-21000C1C115B@gmail.com> <87y6t1mz0e.fsf@gollum.intra.norang.ca> <87y6t1coa5.fsf@kassiopeya.MSHEIMNETZ> <87bppv32jf.fsf@kassiopeya.MSHEIMNETZ> <1A95CAAB-513D-4513-8A64-EC4803AB1F77@mac.com> <4A0D11B7.1040103@manor-farm.org> <4A0E6398.9080304@manor-farm.org> <4A10FAFA.7070502@manor-farm.org> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6LUH-0004AI-9d for emacs-orgmode@gnu.org; Tue, 19 May 2009 05:19:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6LUC-00047Y-NQ for emacs-orgmode@gnu.org; Tue, 19 May 2009 05:19:52 -0400 Received: from [199.232.76.173] (port=51844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6LUC-00047A-Er for emacs-orgmode@gnu.org; Tue, 19 May 2009 05:19:48 -0400 Received: from li40-130.members.linode.com ([72.14.178.130]:55495) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6LUB-0008V0-So for emacs-orgmode@gnu.org; Tue, 19 May 2009 05:19:48 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org >>>> 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: >> >> ian@scamper:~/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.