all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Re: Calling emacs functions outside emacs
Date: Mon, 01 Dec 2003 06:00:20 -0600	[thread overview]
Message-ID: <m38ylwg33f.fsf@newsguy.com> (raw)
In-Reply-To: 87vfp0c1ur.fsf@herrrossi.mmweg.rwth-aachen.de

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	other threads:[~2003-12-01 12:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.816.1070208983.399.help-gnu-emacs@gnu.org>
2003-12-01  8:39 ` Calling emacs functions outside emacs Klaus Zeitler
2003-12-01  9:40   ` Thorsten Bonow
2003-12-01 12:00     ` Harry Putnam [this message]
2003-12-05 19:33     ` Ian Zimmerman
2003-11-30 15:13 Francis Brosnan Blázquez

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=m38ylwg33f.fsf@newsguy.com \
    --to=reader@newsguy.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.