emacs-devel
[Top][All Lists]
Advanced

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

How do I do _THIS_ with emacsclient?


From: David Kastrup
Subject: How do I do _THIS_ with emacsclient?
Date: Sun, 29 Jul 2007 19:53:05 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Hi, I have the following problem: I try using something like
${EDITOR} --eval "(ediff-files (pop command-line-args-left) \
  (pop command-line-args-left))" "file1" "file2"

and when ${EDITOR} is equal to emacsclient, this fails pretty badly:
command-line-args-left is nil, and Emacs tried to execute file1 and
file2, leading to undefined variable complaints.

This behavior clearly is dissatisfactory.  Any idea what I could write
to have this more or less work with emacsclient without breaking when
using Emacs?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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