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: Sat, 22 Nov 2008 22:47:05 +0100 Message-ID: References: <18728.4982.765983.511070@a1ihome1.kph.uni-mainz.de> <18728.5963.672940.47287@a1ihome1.kph.uni-mainz.de> <18728.9899.815004.638335@a1ihome1.kph.uni-mainz.de> <18728.14527.648410.433140@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 1227390562 31159 80.91.229.12 (22 Nov 2008 21:49:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2008 21:49:22 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: "Ulrich Mueller" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 22 22:50: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 1L40Mv-0004ix-1s for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2008 22:50:21 +0100 Original-Received: from localhost ([127.0.0.1]:55770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L40Ll-0003B5-V9 for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2008 16:49:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L40Jr-0002Fc-5Z for emacs-devel@gnu.org; Sat, 22 Nov 2008 16:47:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L40Jp-0002EO-OD for emacs-devel@gnu.org; Sat, 22 Nov 2008 16:47:10 -0500 Original-Received: from [199.232.76.173] (port=36139 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L40Jp-0002EF-8J for emacs-devel@gnu.org; Sat, 22 Nov 2008 16:47:09 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.247]:36180) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L40Jp-0006eD-C5 for emacs-devel@gnu.org; Sat, 22 Nov 2008 16:47:09 -0500 Original-Received: by an-out-0708.google.com with SMTP id c38so653338ana.21 for ; Sat, 22 Nov 2008 13:47:05 -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=NOkHbuHWGCe3chRas6+xrmhpj0VJnvaoHVxty+zpTBY=; b=iHQvj5bBtHfvazdqS2/I8w9s5I8IX2ODl19eQwauqu8oF8+qGITOEOVnP0OhnMiiHz FeVijB4tB+IZH+5LFA5k1UAa7R1lkV08X4Qobjw4iaILMmDRvzY6/SjC1wypWzCUc5nd l3Tg57bDngoHZvPOJh3p5tR1pkgPz2m7zI1t8= 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=UV8CO+LROcPvIYmSwJYjOwdtEuZoK8wCtlcA3ZU5rI+ZFt+qPUVlDLpv6Ie6L4bMgH bEVGJ98OoowKm0o436Q6Xkz/GdWdIZuPaVwCvGaHBnjanrav82l0hptlol5EZtLBbguj hWHcxsoYtJXZbwbD06K88oLM7LZZC+2L4QPuc= Original-Received: by 10.100.151.14 with SMTP id y14mr876556and.117.1227390425635; Sat, 22 Nov 2008 13:47:05 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Sat, 22 Nov 2008 13:47:05 -0800 (PST) In-Reply-To: <18728.14527.648410.433140@a1ihome1.kph.uni-mainz.de> 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:105977 Archived-At: On Sat, Nov 22, 2008 at 17:52, Ulrich Mueller wrote: > If you assume that the user's home directory is NFS mounted, then this > is the normal case. It would be the normal case that the user, on the local machine, would have the home directory in a NFS server, and at the same time, there would be an Emacs on the NFS server using an authentication file on the user's home directory? (That's the case you mentioned before, if I understand it correctly.) If that really happens, that should be fixed at another level... > Agreed, of course a partial fix is better than not checking at all. OK. > And I would vote against renaming the function, since I think its > intention is to find out if a server is running. I don't really care, as long as the user isn't mislead. But I'm not sure the intention of the function is know whether a server is running; more like a helper to avoid two or more Emacs to trample one onto another, I think. > Another question, is the plan now to call server-running-p from > server-start (and refuse to start if it is returning non-nil)? That's what Stefan said: "Another option is for server-start to try and detect that there's already an active socket (using server-running-p) and refuse to start." Juanma