[Top][All Lists]

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

Re: Starting emacs in ediff mode.

From: Lennart Borgman (gmail)
Subject: Re: Starting emacs in ediff mode.
Date: Sun, 27 Jan 2008 16:13:33 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Juanma Barranquero wrote:
On Jan 27, 2008 2:17 PM, Richard G Riley <> wrote:

Personally I must admit to being surprised that emacsclient doesn't
invoke emacs if there is not an existing emacs running - that one
ommission makes it tricky to set up emacsclient as default viewer/editor
in many cases.

Of course you can run emacsclient so it will start Emacs if it is not
running; that's what the --alternate-editor option is for. The trick,
of course, is that --alternate-editor doesn't run Emacs as a server
connected to the emacsclient instance that started it. That does not
preclude using it as default viewer/editor in all cases, just the ones
where it is automatically run from a tool that expects it to be done
when emacsclient returns (for example, in many VCS when emacsclient is
used as the editor for the commit logs).

I've read reasonings as to why it doesn't launch emacs if
not already done, but, well, it just seems quite wrong

I haven't read (in the emacs-devel list) reasonings as to why it
*shouldn't* do it, just as to why it is not yet implemented.

Juanma, it might be time to start looking at it again, or? As you know I have code for this. I have tried to break the "start-emacs-automatically" part from the gui part now.

I would be glad to get your help to get this into Emacs. Even if another implementation for it is choosen later that will not be very hard to change (if we structure the code so that it can easily be changed later). What do you say, Juanma?

reply via email to

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