From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Burton Samograd Newsgroups: gmane.emacs.bugs Subject: Re: Emacsserver socket file not removed on exit Date: Wed, 17 May 2006 21:07:24 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87wtckrpxv.fsf@gmail.com> References: <87d5eeqx5i.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147934309 15969 80.91.229.2 (18 May 2006 06:38:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 May 2006 06:38:29 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 18 08:38:26 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fgc9R-0002fo-CD for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 May 2006 08:38:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fgc9Q-00071x-Gq for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 May 2006 02:38:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FgYrp-0000k8-Cq for bug-gnu-emacs@gnu.org; Wed, 17 May 2006 23:08:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FgYrl-0000g2-Vb for bug-gnu-emacs@gnu.org; Wed, 17 May 2006 23:07:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgYrl-0000fx-JQ for bug-gnu-emacs@gnu.org; Wed, 17 May 2006 23:07:57 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FgYul-00040M-G4 for bug-gnu-emacs@gnu.org; Wed, 17 May 2006 23:11:03 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FgYrg-0005V0-2V for gnu-emacs-bug@ftp.gnu.org; Wed, 17 May 2006 23:07:54 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1FgYuc-0003yI-A6 for gnu-emacs-bug@ftp.gnu.org; Wed, 17 May 2006 23:10:55 -0400 Original-Received: from [216.168.1.22] (helo=trinity.supernews.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FgYub-0003uK-SP for gnu-emacs-bug@ftp.gnu.org; Wed, 17 May 2006 23:10:54 -0400 Original-Received: from pa-sjc-01.ranger.supernews.net ([216.168.1.34]:51329 helo=pa-sjc-01.supernews.net) by trinity.supernews.net with esmtp (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FgYrL-000K5R-7I for gnu-emacs-bug@ftp.gnu.org; Thu, 18 May 2006 03:07:31 +0000 Original-Received: (from news@localhost) by pa-sjc-01.supernews.net (8.13.4/8.13.4/Submit) id k4I37UpD004083 for gnu-emacs-bug@prep.ai.mit.edu; Thu, 18 May 2006 03:07:30 GMT (envelope-from nntp-bounce@supernews.net) Original-To: gnu-emacs-bug@ftp.gnu.org Original-Path: corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.bug User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:jFumGK6urQnLl7561cYtcOFomlw= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 17 X-Mailman-Approved-At: Thu, 18 May 2006 02:38:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15105 Archived-At: "Tacvek" writes: >>> The socket file of emacsserver is not removed when Emacs is exited. >>> As far as I can tell, the only thing that causes the server to delete the >>> file is (server-start t), which is called by emacsserver's unload hook. >> >> Can you confirm that the patch below fixes it for you? > > The patch does indeed fix it. > It seems a little strange that nobody had yet caught this, as it broke > etc/emacs.bash fairly badly. Odd, I just found this last week and added a kill-emacs-hook to get rid of it...never thought it was a bug. -- burton samograd kruhft .at. gmail kruhft.blogspot.com www.myspace.com/kruhft metashell.blogspot.com