From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dhruva Newsgroups: gmane.emacs.devel Subject: Re: emacsclient on WXP does not work (as it used to) Date: Fri, 31 Oct 2008 19:59:56 +0530 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225463430 5911 80.91.229.12 (31 Oct 2008 14:30:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2008 14:30:30 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 15:31:32 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 1Kvv24-0008MR-Iv for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2008 15:31:26 +0100 Original-Received: from localhost ([127.0.0.1]:48377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kvv0x-0006Zg-Cq for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2008 10:30:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kvv0r-0006YD-MD for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:30:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kvv0o-0006VC-2n for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:30:09 -0400 Original-Received: from [199.232.76.173] (port=44594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kvv0n-0006V8-Rk for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:30:05 -0400 Original-Received: from ti-out-0910.google.com ([209.85.142.189]:31425) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kvv0l-0003ll-3I; Fri, 31 Oct 2008 10:30:03 -0400 Original-Received: by ti-out-0910.google.com with SMTP id u5so666208tia.10 for ; Fri, 31 Oct 2008 07:29:57 -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=yJvmKQoTbskEp8bkt46edl6BvF67lP94wWbyCFbhA9k=; b=EGLAHgy2fju4u9arrIou9hscc6/pHQcXJzKJg/n8YAdVPSgQ+vy8trBwg1+GeqwZH7 9HlWaVrn08eOjhBjN79nppDM4CbtLd6hSHLTmRVc4uMArq9/5JfE384c0cBLuBl6hkWP /CaeLwSaeJa9Um5nPapFURBXT69cN0NuiDp3o= 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=tKGc3Y4BnDWVS9boxZ0S/fxFsl4BERKYxWVUpA92SGzmI03s3pgGj/LbJw6XAje1PD jriM8ZG89VhHKvzZ0chzq+ScpbmhdWWuXJ3YpUeBGtOtiG74Y6sh5+cpLP/+OeS2LlI6 HJCA6ftGATTSpPO8p0mnXcr4c08opSUlKqc/c= Original-Received: by 10.110.62.4 with SMTP id k4mr4240310tia.34.1225463397033; Fri, 31 Oct 2008 07:29:57 -0700 (PDT) Original-Received: by 10.110.93.2 with HTTP; Fri, 31 Oct 2008 07:29:56 -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:105208 Archived-At: Hi, On Fri, Oct 31, 2008 at 7:57 PM, Juanma Barranquero wrote: > 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). IMO, that could be the default behavior of server with an option to force the server start. -dhruva -- Contents reflect my personal views only!