[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs RPC
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Emacs RPC |
Date: |
Sun, 24 Apr 2011 20:00:55 +0200 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Sounds fine in principle, but could you provide more details by posting
> the docstring for the proposed function? For instance, is COMMAND
> supposed to be a Lisp form, or a string?
Originally I was thinking a string (since that's what emacsclient does),
but I now feel that a Lisp form would be more useful and RPC-ey, and I
think the return value should also be a Lisp form.
That is, you'd say
(server-eval-at "foo" '(+ 1 2))
and get back
3
That is, `server-eval-at' will do a `read-from-string' on the output it
gets back from the server, basically.
Perhaps `eval-at' would be a better name, though?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Emacs RPC, Lars Magne Ingebrigtsen, 2011/04/23
Re: Emacs RPC, Chong Yidong, 2011/04/24
- Re: Emacs RPC,
Lars Magne Ingebrigtsen <=
- Re: Emacs RPC, Stefan Monnier, 2011/04/25
Re: Emacs RPC, Stefan Monnier, 2011/04/25
Emacs RPC security (was: Emacs RPC), Ted Zlatanov, 2011/04/25