From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: error in server-running-p on M$ Date: Sun, 23 Nov 2008 13:46:01 +0100 Message-ID: References: <18728.4982.765983.511070@a1ihome1.kph.uni-mainz.de> 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 1227444382 13803 80.91.229.12 (23 Nov 2008 12:46:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2008 12:46:22 +0000 (UTC) Cc: Eli Zaretskii , Ulrich Mueller , emacs-devel@gnu.org To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 23 13:47:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L4EMz-0001LW-3G for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2008 13:47:22 +0100 Original-Received: from localhost ([127.0.0.1]:45926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4ELp-0006ky-UJ for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2008 07:46:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4ELk-0006kl-RB for emacs-devel@gnu.org; Sun, 23 Nov 2008 07:46:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4ELi-0006kO-Fv for emacs-devel@gnu.org; Sun, 23 Nov 2008 07:46:03 -0500 Original-Received: from [199.232.76.173] (port=49902 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4ELi-0006kL-Am for emacs-devel@gnu.org; Sun, 23 Nov 2008 07:46:02 -0500 Original-Received: from rn-out-0910.google.com ([64.233.170.191]:35744) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4ELi-0003Nf-Dd for emacs-devel@gnu.org; Sun, 23 Nov 2008 07:46:02 -0500 Original-Received: by rn-out-0910.google.com with SMTP id k32so1454719rnd.7 for ; Sun, 23 Nov 2008 04:46:01 -0800 (PST) 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=vy7Wtlc1pu/Vo3bAVMt1nOgxIGS+hjIFDozxektDZXI=; b=tdTNhGMyaugIosYQTX1HiUomBhB/alqoj5y80lptmKbxgsjJG8qYGFIJv/eU/gQ979 FI0TYUoOhsOkeH4rfpGCVYa1y5b7hq6CWiogwC0h4K3YQ7MltMIJBCH2c25VrTEuu5P5 BPmzLSCsoalx+gl/A+aev0IGPe3cux9Cv1NeY= 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=ALeGFA0IBp5gWSREag2tGu9l8i++PeWLrT4kPX+ait7R6ZqwEe1pWC4C0QQgE7KMr0 iKsNvJlHyThubFDgRUVTKtEmvyRrsvO5kFHdlD1x1zwzCc37fsZhX0JYGVPvZcrldFMb LkLhlE6k2NXBdJUMsmDVCDrGK3gb2PSNbRe2E= Original-Received: by 10.100.121.12 with SMTP id t12mr1074086anc.96.1227444361332; Sun, 23 Nov 2008 04:46:01 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Sun, 23 Nov 2008 04:46:01 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106032 Archived-At: On Sun, Nov 23, 2008 at 12:26, Juanma Barranquero wrote: > Stopping the server removes the file. Ah, no, it doesn't, because IIRC you opposed to it: ;; 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)))) I was mistaken because my .emacs includes code to delete it. But it *should* be deleted. Juanma