From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: Organize Your Life In Plain Text! Date: Mon, 18 May 2009 06:17:45 -0700 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M62j8-0006Pj-78 for emacs-orgmode@gnu.org; Mon, 18 May 2009 09:17:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M62j3-0006Ns-DF for emacs-orgmode@gnu.org; Mon, 18 May 2009 09:17:57 -0400 Received: from [199.232.76.173] (port=43745 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M62j3-0006Nn-7d for emacs-orgmode@gnu.org; Mon, 18 May 2009 09:17:53 -0400 Received: from mail-pz0-f175.google.com ([209.85.222.175]:43280) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M62j2-0003Aa-Ob for emacs-orgmode@gnu.org; Mon, 18 May 2009 09:17:53 -0400 Received: by pzk5 with SMTP id 5so2262522pzk.14 for ; Mon, 18 May 2009 06:17:51 -0700 (PDT) In-Reply-To: <4A10FAFA.7070502@manor-farm.org> (Ian Barton's message of "Mon, 18 May 2009 07:06:50 +0100") 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: lists@manor-farm.org Cc: emacs-orgmode@gnu.org Ian Barton writes: [...] >>> 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 > Hi Ian, 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. Thanks -- Eric > > Ian.