emacs-devel
[Top][All Lists]
Advanced

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

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


From: Romain Francoise
Subject: Re: The emacsclient socket vs. etc/emacs.bash
Date: Fri, 08 Dec 2006 15:06:51 +0100

Stefan Monnier <address@hidden> writes:

> It's not new in CVS.  Emacs-21.4 doesn't delete his socket either.

I don't know about Emacs 21, the submitter is comparing to an Emacs from
CVS built a couple of months ago (in which emacs.bash works fine).

And indeed if I revert to revision 1.117 of server.el then Emacs does
remove the socket at exit:

    src$ rm -rf /tmp/emacs1000
    src$ ./emacs --eval '(progn (server-start) (save-buffers-kill-emacs))'
    src$ ls -l /tmp/emacs1000
    total 0
    src$ rm -rf /tmp/emacs1000
    src$ rm ../lisp/server.el*; cvs up ../lisp/server.el # fetch latest
    cvs update: warning: `../lisp/server.el' was lost
    U ../lisp/server.el
    src$ ./emacs --eval '(progn (server-start) (save-buffers-kill-emacs))'
    src$ ls -l /tmp/emacs1000
    total 0
    srwx------ 1 romain romain 0 Dec  8 15:01 server
    src$

This change looks related:

2006-11-02  Stefan Monnier  <address@hidden>

        * server.el (server-auth-key): Remove.  Replace by a process-property.
        (server-start): Don't remove the file of the previous process, but
        instead clear out the place for the new file.

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

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