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

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

Re: Starting emacs in ediff mode.


From: Juanma Barranquero
Subject: Re: Starting emacs in ediff mode.
Date: Fri, 25 Jan 2008 18:03:30 +0100

On Jan 25, 2008 5:48 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > - File names given need not be absolute.
> > - You can not give use \ in the file names.
> > - Be nice, do not put env variables in the users environment
>
> Which of these problems are relevant to the simple invocation of Emacs
> that I suggested:
>
> > >    emacs --eval "(ediff-files \"file_1\" \"file_2\")"

I think Lennart is saying that if file_1 and file_2 are relative,
Emacs does not find them, and if they are absolute, the backslashes in
the paths cause problems (at the very least, they must be escaped
themselves).

> I don't see how is this relevant to the OP's question: if they already
> have Emacs running, they could simply invoke Ediff from within that
> Emacs session.  And if Emacs is not running, what's the advantage of
> using emacsclient?

Lennart's patched emacsclient starts Emacs automatically.

             Juanma




reply via email to

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