[Top][All Lists]

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

Re: The emacsclient socket vs. etc/emacs.bash

From: Juanma Barranquero
Subject: Re: The emacsclient socket vs. etc/emacs.bash
Date: Fri, 15 Dec 2006 13:45:41 +0100

On 12/9/06, Richard Stallman <address@hidden> wrote:

    - time 0: Emacs 1 starts its server.
    - time 1: Emacs 2 starts its server, overriding Emacs 1's server.

Isn't that already a problem?
Shouldn't we prevent this from happening, somehow?

I agree. I don't like Emacs 2 blindly overwritting Emacs 1's server
(or socket) file.

    - time 2: Emacs 1 exits: if it deletes the socket, it actually deletes
      Emacs 2's, not its own, so it'd be a bug

Can Emacs 1 determine that its socket has been replaced?

For local sockets I don't know, but with TCP sockets the server
authentication file contains the pid of the Emacs instance that
created it.


reply via email to

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