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:22:26 +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 1225462992 4333 80.91.229.12 (31 Oct 2008 14:23:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2008 14:23:12 +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:24:11 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 1Kvuul-0005gn-Uh for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2008 15:23:52 +0100 Original-Received: from localhost ([127.0.0.1]:58295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kvutd-0002G6-MZ for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2008 10:22:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvutZ-0002Fj-QV for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:22:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvutY-0002FA-Fj for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:22:37 -0400 Original-Received: from [199.232.76.173] (port=43782 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvutY-0002Et-8b for emacs-devel@gnu.org; Fri, 31 Oct 2008 10:22:36 -0400 Original-Received: from rn-out-0910.google.com ([64.233.170.184]:65052) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KvutS-0001BW-F3; Fri, 31 Oct 2008 10:22:30 -0400 Original-Received: by rn-out-0910.google.com with SMTP id k32so1061966rnd.7 for ; Fri, 31 Oct 2008 07:22:27 -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=/99M90iAX3SbRbPg5bJgBkgfQyAiOqZiPCxaJ6YONHU=; b=SSm0nYXZ8QwEQifpYifymnrSAb0sZm09/VszjCYRUOJDLQiqnOFu0Vg3TXL7Bh9CNR S8r+8pTtohM5rnpOVynDdmIG4Pc+A2wDDTqyoeQP/emsSpp2avivKl3H4Tk3uV5Wm2N/ 5InrO9vAf/JIza6yPv/UPkEjSJwLGqid39o9Y= 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=F6j264OOKxgeJNa2+F2tevtF8YRG6ATEQmXglXftNfJ/2Bi2QYPq9s2PUDuRGcuBQA E7llVPXkcYIxMS0mMp3aYTpko1MultYKejzpEX6AHzi3V3ODNczTvVjlIrqKItFAum9N FMWpiL1JwAe6Ox2ELerRXWkV0qSW2so+COAGE= Original-Received: by 10.100.9.19 with SMTP id 19mr1877851ani.8.1225462946918; Fri, 31 Oct 2008 07:22:26 -0700 (PDT) Original-Received: by 10.100.13.13 with HTTP; Fri, 31 Oct 2008 07:22:26 -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:105205 Archived-At: On Fri, Oct 31, 2008 at 14:40, dhruva wrote: > Recipe for reproducing the problem: > > 1. Start emacs with server > 2. Use emacsclient to open a file (with -n option not to wait) > 3. Start another emacs with server > 4. Use emacsclient as in #2 (it will open in emacs on #3 for me) > 5. Kill emacs started in #3 > 6. Use emacsclient and you get the error! Using the trunk's emacsclient I cannot even do 2, because I get an error: emasclient: could not get terminal name But other than that, your problem is not related to recent changes in the trunk. You're overwriting the default TCP authentication file ~/.emacs.d/server/server. If you start several servers simultaneously, you must give them different `server-name's. > I think we should use some UDP based discovery of running emacs if it is not > too tough... You'll open the door to complexity and race conditions for little gain IMHO. Juanma