all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
Cc: emacs-devel@gnu.org
Subject: Re: The emacsclient socket vs. etc/emacs.bash
Date: Fri, 08 Dec 2006 15:06:51 +0100	[thread overview]
Message-ID: <87k6124h38.fsf@pacem.orebokech.com> (raw)
In-Reply-To: <jwvbqmeik6k.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri\, 08 Dec 2006 08\:46\:48 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> 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  <monnier@iro.umontreal.ca>

	* 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 <romain@orebokech.com> | 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	other threads:[~2006-12-08 14:06 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08 13:15 The emacsclient socket vs. etc/emacs.bash Romain Francoise
2006-12-08 13:46 ` Stefan Monnier
2006-12-08 14:06   ` Romain Francoise [this message]
2006-12-08 18:38     ` Stefan Monnier
2006-12-08 19:10       ` Juanma Barranquero
2006-12-08 23:33         ` Stefan Monnier
2006-12-08 23:47           ` Juanma Barranquero
2006-12-09  1:28             ` Stefan Monnier
2006-12-09 11:36           ` Romain Francoise
2006-12-09  1:26 ` Richard Stallman
2006-12-09  3:55   ` Stefan Monnier
2006-12-09 18:25     ` Richard Stallman
2006-12-15 12:45       ` Juanma Barranquero
2006-12-15 13:37         ` Kim F. Storm
2006-12-15 14:05           ` Juanma Barranquero
2006-12-15 23:40             ` Stefan Monnier
2006-12-15 23:47               ` Juanma Barranquero
2006-12-16  9:54                 ` Eli Zaretskii
2006-12-16 11:07                   ` Juanma Barranquero
2006-12-15 21:07           ` Andreas Schwab
  -- strict thread matches above, loose matches on Subject: below --
2006-12-15 13:54 LENNART BORGMAN
2006-12-15 15:18 ` Kim F. Storm
2006-12-15 15:24   ` Lennart Borgman
2006-12-15 15:38     ` Kim F. Storm
2006-12-15 15:48       ` Lennart Borgman
2006-12-15 23:21         ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k6124h38.fsf@pacem.orebokech.com \
    --to=romain@orebokech.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.