help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling emacs functions outside emacs


From: Harry Putnam
Subject: Re: Calling emacs functions outside emacs
Date: Mon, 01 Dec 2003 06:00:20 -0600
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de> writes:

>     Klaus> gnuclient -batch -eval "(ediff-files \"$file1\"
>     Klaus> \"$file2\")"
>
>     Klaus> though I'm not sure if this works with the standard
>     Klaus> emacsclient instead of gnuclient.
>
> The upcoming Emacs (now in CVS) is accompanied by a new emacsclient
> which is able to evaluate lisp expressions.

It will fail given the flag -eval.  It expects -e or --eval.  Also
doesn't understand -batch as in above gnuclient command so to do the
same as above with cvs emacsclient it would be:

emacsclient --eval "(ediff-files \"$file1\" \"$file2\")"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]