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: emacsclient on WXP does not work (as it used to) Date: Fri, 31 Oct 2008 15:27:21 +0100 Message-ID: References: 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 1225463269 5208 80.91.229.12 (31 Oct 2008 14:27:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2008 14:27:49 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 15:28:42 2008 connect(): Connection refused 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 1KvuzR-0007P1-Id for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2008 15:28:42 +0100 Original-Received: from localhost ([127.0.0.1]:47412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvuyJ-00058u-SG for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2008 10:27:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvuyF-00057W-B5 for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:27:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvuyE-00057I-SG for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:27:26 -0400 Original-Received: from [199.232.76.173] (port=57641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvuyE-00057F-M1 for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:27:26 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.155]:12440) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KvuyB-0002kg-Sd; Fri, 31 Oct 2008 10:27:24 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 34so530747yxf.66 for ; Fri, 31 Oct 2008 07:27:21 -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=FZOzpZCmAKA5U2g2snCrpUiKp37M0bxIH3frwMFgTpQ=; b=jEyh/UAfV8DTU+Ad0zo9OiL82ruKejBgwAKJu/RwSjN77vRRX1OBNz8i2pmVu65HtW pji8K0oRdV9htPjujZJSBEKSX2EEhiOrP5mlQMX7K1nwnFo2BVi8rPVlHqMLOCHjTFtK ggwBzUBD8Ji8vUYdbx8RvGtZpLaGcEJvh8SpU= 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=XfDqIsbe1eCH9DsILk25S9bFThZEBSCoLCzTHoTfVQqJPxbVaPsoXtovEgFxzPD1XH E/SKCHxHtn5i6cEhDAn2vT70td55GiJw+LgDqRAgqomgabUkrHZM8k7L5hrcRS/yrUko UDsooUh7+ugHG1JbwoLEuiY4PKBWUFzn2ffps= Original-Received: by 10.101.68.19 with SMTP id v19mr1867052ank.58.1225463241354; Fri, 31 Oct 2008 07:27:21 -0700 (PDT) Original-Received: by 10.100.13.13 with HTTP; Fri, 31 Oct 2008 07:27:21 -0700 (PDT) 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:105206 Archived-At: On Fri, Oct 31, 2008 at 15:22, Juanma Barranquero wrote: > You'll open the door to complexity and race conditions for little gain IMHO. That said, in my .emacs I have code in server-hook to check whether an authentication file already exists, and if so, whether the PID stored there is the same as the one for the Emacs instance that is doing the check. So what I do is refusing to start a server if another one with the same `server-name' is still running (more or less). Juanma