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: error in server-running-p on M$ Date: Sun, 23 Nov 2008 09:31:44 +0530 Message-ID: References: <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=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227412925 12760 80.91.229.12 (23 Nov 2008 04:02:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2008 04:02:05 +0000 (UTC) Cc: Eli Zaretskii , Ulrich Mueller , emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 23 05:03:07 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 1L46Bc-00061V-86 for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2008 05:03:04 +0100 Original-Received: from localhost ([127.0.0.1]:59806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L46AT-0001Li-2O for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2008 23:01:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L46AP-0001Ld-6u for emacs-devel@gnu.org; Sat, 22 Nov 2008 23:01:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L46AM-0001LR-Q0 for emacs-devel@gnu.org; Sat, 22 Nov 2008 23:01:47 -0500 Original-Received: from [199.232.76.173] (port=51185 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L46AM-0001LO-Ks for emacs-devel@gnu.org; Sat, 22 Nov 2008 23:01:46 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.170]:36128) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L46AM-0002q3-A1 for emacs-devel@gnu.org; Sat, 22 Nov 2008 23:01:46 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 28so1615954wfc.24 for ; Sat, 22 Nov 2008 20:01:44 -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=7dtWDsoLmoMwbTyP/EFSPSIW5whuMW3fK3rLArAghgI=; b=NTEQzTmFNha+FFiEBfxnZjpCKMgk3dj4Gk4CEALO7EZc0yQfNAcL2As+oMbgVDz3tb nu8xlPoGfpiRQah2ogzkCnt4uzIt61+xRxCVeIoOEnb/jPE01wBi8knYEyXec2L9qxKI CMQ+sg5AnTowlYgSm8+HkJkNmDW7vMW4UId/4= 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=MQSjXoOFZUGZNSbSdIqAaHmwhPNwk4k7LuMgBldpAgCf0twOXC49IItUPrZkig1IDu sHdYwqx7OojRG4MatoA61ZLMCHhWLY2nz6hu+IAXLm5bWHDTrx6Zy/6TWs9fG9OVolBn IG5AB5EvJTkYT1S17OURMse2BULTx/ZoThVZs= Original-Received: by 10.142.230.9 with SMTP id c9mr1016793wfh.254.1227412904549; Sat, 22 Nov 2008 20:01:44 -0800 (PST) Original-Received: by 10.142.110.21 with HTTP; Sat, 22 Nov 2008 20:01:44 -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:105989 Archived-At: Hi, On Sun, Nov 23, 2008 at 9:29 AM, Juanma Barranquero wrote: > On Sun, Nov 23, 2008 at 04:56, dhruva wrote: > >> How about storing the machine IP address and the port in the file for >> each successful emacs server instance. The file name itself can be >> machine IP DOT port. This will handle the case of NFS mounted home >> folders. > > I don't understand. What do you gain with this? How does emacsclient > know with which instance must connect? The host on which emacsclient is executed will look for a file with the machine's IP. If the file exists, it picks the port from the file extension part. -dhruva -- Contents reflect my personal views only!