emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: lists@manor-farm.org
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Organize Your Life In Plain Text!
Date: Mon, 18 May 2009 06:17:45 -0700	[thread overview]
Message-ID: <m27i0eh7nq.fsf@gmail.com> (raw)
In-Reply-To: <4A10FAFA.7070502@manor-farm.org> (Ian Barton's message of "Mon, 18 May 2009 07:06:50 +0100")

Ian Barton <lists@manor-farm.org> 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.

  reply	other threads:[~2009-05-18 13:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07 16:49 Organize Your Life In Plain Text! Bernt Hansen
2009-05-07 18:22 ` Rick Moynihan
2009-05-07 18:44   ` Bernt Hansen
     [not found]     ` <4a035da6.0407560a.7391.ffffc270@mx.google.com>
2009-05-07 22:32       ` Bernt Hansen
2009-05-08  2:10         ` Memnon Anon
2009-05-08  3:04           ` Bernt Hansen
2009-05-07 22:50     ` Jonathan Arkell
2009-05-08  1:35       ` Rick Moynihan
2009-05-08  1:46         ` Eric Schulte
2009-05-08 14:08           ` Carsten Dominik
2009-05-08 15:32             ` Eric Schulte
2009-05-08 16:19               ` Carsten Dominik
2009-05-13  0:22 ` Rick Moynihan
2009-05-13  1:39   ` Bernt Hansen
2009-05-13  1:50   ` Bernt Hansen
2009-05-13  3:58     ` Carsten Dominik
2009-05-13  4:02       ` Bernt Hansen
2009-05-13 10:04         ` Sebastian Rose
2009-05-13 10:15           ` Rick Moynihan
2009-05-14 13:33             ` Eric Schulte
2009-05-14 19:30               ` Sebastian Rose
2009-05-14 19:55                 ` Keith Lancaster
2009-05-14 22:16                   ` Eric Schulte
2009-05-15  6:54                     ` Ian Barton
2009-05-15 22:18                       ` Eric Schulte
2009-05-16  6:56                         ` Ian Barton
2009-05-17 21:49                           ` Eric Schulte
2009-05-18  6:06                             ` Ian Barton
2009-05-18 13:17                               ` Eric Schulte [this message]
2009-05-19  9:19                                 ` Ian Barton
2009-05-14 11:36           ` Carsten Dominik
2009-05-14 19:11             ` Bernt Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27i0eh7nq.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists@manor-farm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).