From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: emacsclient uses obsolete "server" file on Windows Date: Thu, 12 Jun 2008 11:48:36 +0200 Message-ID: References: <484ACDD0.80209@resiak.org> <484BFAE3.1000105@resiak.org> <4850E139.6060105@resiak.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213264195 10088 80.91.229.12 (12 Jun 2008 09:49:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2008 09:49:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: djc Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 12 11:50:38 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K6jRs-00062X-V9 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2008 11:50:29 +0200 Original-Received: from localhost ([127.0.0.1]:54849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6jR5-0001vm-4y for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2008 05:49:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6jQ9-0001a1-LP for help-gnu-emacs@gnu.org; Thu, 12 Jun 2008 05:48:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6jQ7-0001XY-4k for help-gnu-emacs@gnu.org; Thu, 12 Jun 2008 05:48:40 -0400 Original-Received: from [199.232.76.173] (port=40914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6jQ6-0001X8-KW for help-gnu-emacs@gnu.org; Thu, 12 Jun 2008 05:48:38 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.177]:52892) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6jQ5-0000RU-Sh for help-gnu-emacs@gnu.org; Thu, 12 Jun 2008 05:48:38 -0400 Original-Received: by wa-out-1112.google.com with SMTP id m34so2874127wag.10 for ; Thu, 12 Jun 2008 02:48:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=lKA/PC7nIDaUAgmlktH7GvqE2slxRy9eZxnZsBpfY9U=; b=qvoJge3hgmRqFalnn36vvAN/4KcQMX7+gB+3n1WGp9hPV7MNxaA5a+xlzPFpaJsf2K zP4SAOgh+UPPTdvhVRuh1KvhXcbgYDfsWvIZTDJkIcLAPlmC7eAPohxvE7uZ+uqCCnop dED3VyKz8IB0SKLb2xgPIcKmfBhwEazl5aRBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KVJxcCM0zYUpkgLbhfBmklbmrJ+HjcPEzDb8CKOqhbjkHNRpVZjSoWxoMmVdpaFD8C stjV+FoYPoKplm3Kfbo+GtS8g99oCYQewAiYWX2qW1gKEBcChQuVT3vWBmOtiFbFiqfc +1ZUHsIiIO2xBWETGfQs4eSdgvxLL5kuBRkh4= Original-Received: by 10.115.33.1 with SMTP id l1mr1087727waj.228.1213264116343; Thu, 12 Jun 2008 02:48:36 -0700 (PDT) Original-Received: by 10.114.167.12 with HTTP; Thu, 12 Jun 2008 02:48:36 -0700 (PDT) In-Reply-To: <4850E139.6060105@resiak.org> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54760 Archived-At: On Thu, Jun 12, 2008 at 10:41, djc wrote: > But what is the reason for the design decision not to delete the server > authentication file when emacs is killed? According to the comment in server.el, the risk of the server file not being "ours" anymore: ;; Delete the associated connection file, if applicable. ;; This is actually problematic: the file may have been overwritten by ;; another Emacs server in the mean time, so it's not ours any more. ;; (and (process-contact proc :server) ;; (eq (process-status proc) 'closed) ;; (ignore-errors (delete-file (process-get proc :server-file)))) though I'd love to know how likely that is, vs. problems like the one you reported. Juanma