From: Eric Schulte <schulte.eric@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [ANN, OT] Emacs web-server, a new option for serving Org-mode files
Date: Sat, 11 Jan 2014 14:53:37 -0700 [thread overview]
Message-ID: <87r48eyyla.fsf@gmail.com> (raw)
In-Reply-To: <m1txdawcw9.fsf@tsdye.com> (Thomas S. Dye's message of "Sat, 11 Jan 2014 09:12:54 -1000")
tsd@tsdye.com (Thomas S. Dye) writes:
> Hi Eric,
>
> This worked out of the box for me. Neat!
>
Great.
>
> I ran into a problem with an optional step:
>
> poto:emacs-web-server dk$ emacs --version
> GNU Emacs 24.3.1
> Copyright (C) 2013 Free Software Foundation, Inc.
> GNU Emacs comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of Emacs
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING.
> poto:emacs-web-server dk$ make
> emacs --batch --execute '(add-to-list (quote load-path)
> "/Users/dk/org-local/emacs-web-server")' -f batch-byte-compile
> web-server-status-codes.el web-server-test.el web-server.el
> Wrote /Users/dk/org-local/emacs-web-server/web-server-status-codes.elc
>
> In toplevel form:
> web-server-test.el:9:1:Error: Cannot open load file: eieio
>
> In toplevel form:
> web-server.el:33:1:Error: Cannot open load file: eieio
> make: *** [src] Error 1
>
I'm not sure what to make of that, as eieio.el is distributed as part of
Emacs, so it should be in lisp/emacs-lisp/ under your installed Emacs
directory, which should be in the load-path. Regardless, since
everything is running successfully, Emacs can obviously find eieio at
runtime, so I wouldn't worry about batch compilation not working.
Best,
>
> All the best,
> Tom
>
> Eric Schulte <schulte.eric@gmail.com> writes:
>
>> A non-Org announcement which I believe may still be of interest given
>> the recurring discussion of ways to serve Org-mode files as web pages.
>>
>> I've written an Emacs web-server [1], which may be used to interact with
>> Org-mode over HTTP. It has no dependencies aside from needing Emacs 24
>> or later and it should be easy to install and use [2].
>>
>> Three simple examples of how it may be used with Org-mode include;
>> 1. web server which exports Org files on demand [3],
>> 2. an export *service* [4] which allows users to upload Org-mode files
>> and then download exported versions, or
>> 3. simply a way to serve your daily agenda as a web page [5].
>>
>> I've ported the Org-ehtml editable Org-mode Wiki [6] from Elnode to this
>> new web-server, and I now find that it is both easier to install, and is
>> more stable, and faster [7]. I know that Elnode setup had been a
>> barrier to some users of org-ehtml, hopefully that barrier is now
>> removed.
>>
>> I hope this is of interest and not too far off topic.
>>
>> Best,
>>
>> Footnotes:
>> [1] https://github.com/eschulte/emacs-web-server
>>
>> [2] http://eschulte.github.io/emacs-web-server/tutorials/#sec-1
>>
>> [3]
>> http://eschulte.github.io/emacs-web-server/Org_002dmode-Export.html#Org_002dmode-Export
>>
>> [4]
>> https://github.com/eschulte/emacs-web-server/blob/master/examples/013-org-export-service.el
>>
>> [5]
>> https://github.com/eschulte/emacs-web-server/blob/master/examples/011-org-agenda.el
>>
>> [6] https://github.com/eschulte/org-ehtml
>>
>> [7] http://eschulte.github.io/emacs-web-server/benchmark/
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
next prev parent reply other threads:[~2014-01-11 21:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-11 18:09 [ANN, OT] Emacs web-server, a new option for serving Org-mode files Eric Schulte
2014-01-11 19:12 ` Thomas S. Dye
2014-01-11 21:53 ` Eric Schulte [this message]
2014-01-12 1:12 ` Thomas S. Dye
2014-01-11 22:21 ` John Hendy
2014-01-11 22:27 ` David Belohrad
2014-01-11 22:33 ` Eric Schulte
2014-01-12 16:38 ` David Belohrad
2014-01-11 22:29 ` Eric Schulte
2014-01-11 23:22 ` John Hendy
2014-01-12 0:26 ` Eric Schulte
2014-01-12 1:10 ` John Hendy
2014-01-12 1:53 ` Eric Schulte
2014-01-12 14:40 ` John Hendy
2014-01-12 16:21 ` Eric Schulte
2014-01-16 0:51 ` Andrea Rossetti
2014-01-17 17:37 ` Eric Schulte
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r48eyyla.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tsd@tsdye.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.