unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: emacs-devel@gnu.org
Subject: gnuserv as persistent elisp repl
Date: Mon, 10 Nov 2008 16:52:31 -0800	[thread overview]
Message-ID: <87y6zrdqy8.fsf@gmail.com> (raw)

Hi,

I am working on a web-interface to some particular Emacs functionality,
and would like to be able to pass elisp forms to Emacs to be evaluated,
and then return the results to my application.

Currently I am using gnuserv to pass elisp to a persistent Emacs, and
then collect the results using the `-batch' option of gnuclient.  Is it
possible (or would it be with a reasonable amount of devel effort on my
part) to force gnuclient to remain open after evaluating and returning
the results of elisp forms, in effect acting as an elisp REPL?  I would
like this option to avoid the overhead of starting a new gnuclient
process every time I evaluate an elisp form.

Please let me know if I am misunderstanding some aspect of gnuserv, if
there is some documentation I should have already read, or if it sounds
like I am approaching this in the wrong way.

Thanks -- Eric




             reply	other threads:[~2008-11-11  0:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11  0:52 Eric Schulte [this message]
2008-11-11  3:13 ` gnuserv as persistent elisp repl Stefan Monnier

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87y6zrdqy8.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-devel@gnu.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.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).