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: Sun, 8 Jun 2008 22:38:00 +0200 Message-ID: References: <484ACDD0.80209@resiak.org> <484BFAE3.1000105@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 1212957510 30072 80.91.229.12 (8 Jun 2008 20:38:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2008 20:38:30 +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 Sun Jun 08 22:39:13 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 1K5RfP-00084t-Cf for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2008 22:39:07 +0200 Original-Received: from localhost ([127.0.0.1]:39654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5Rec-0000ZU-CK for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2008 16:38:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5ReN-0000Xg-Hx for help-gnu-emacs@gnu.org; Sun, 08 Jun 2008 16:38:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5ReL-0000X2-RI for help-gnu-emacs@gnu.org; Sun, 08 Jun 2008 16:38:02 -0400 Original-Received: from [199.232.76.173] (port=60126 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5ReL-0000Wy-KO for help-gnu-emacs@gnu.org; Sun, 08 Jun 2008 16:38:01 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.242]:45200) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5ReL-0002se-Jo for help-gnu-emacs@gnu.org; Sun, 08 Jun 2008 16:38:01 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so2305340rvb.6 for ; Sun, 08 Jun 2008 13:38:00 -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=Ma6nk7MUXIqJqNP7RSX2c9cGt6xB1VMRlW8s9EZx8bs=; b=SGFIfhJaxAo+0qSC7omTotUJIl8vBryKNTI18V8jYP8cIyGFxp2bEyCHtlj84VAcEv hKOFY/3tPKknWuEMIAoqHSRBFGJMcchXvqQA0lLlbh9zaTWc40pWZu2nAelxHOvHv3Lq pkMmR/hu/PTalop1LAYo2fD+Vs2BPL3PtQUZM= 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=DkSX2m2C2MuhxXOLEfiMjktsAmUimDiaV3I2LwAgtTrLT+Lo2VJB/CZ6s5SYgcQsiR 5Va1ASEKasPMAmMTp/GOODEaRrx6OX/fDbmjY2lNUjo735WhMUj5XogcJCHWOUZ0pRd6 pP7JPaw7oVvCWuctw41s/q9cKyXw/NR0ujcbM= Original-Received: by 10.115.50.5 with SMTP id c5mr2518968wak.60.1212957480563; Sun, 08 Jun 2008 13:38:00 -0700 (PDT) Original-Received: by 10.114.167.12 with HTTP; Sun, 8 Jun 2008 13:38:00 -0700 (PDT) In-Reply-To: <484BFAE3.1000105@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:54628 Archived-At: > I exit with save-buffers-kill-emacs (files.el). FWIW, I think stopping the server should delete the authentication file. Alas, it doesn't (and it is not a bug, it is so by design). You can use this in your .emacs; it's not pretty, but it will help: (require 'server) (server-start) (defvar my-server-file (expand-file-name server-name server-auth-dir)) (add-hook 'kill-emacs-hook (lambda () (condition-case nil (delete-file my-server-file) (error nil)))) Juanma