delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 13 Mar 2012 15:51:06 +0100 |
Message-ID: | <20120313155106.Horde.FAI2dElCcOxPX17abbZmsBA@webmail.df.eu> |
From: | Markus Hoenicka <markus DOT hoenicka AT mhoenicka DOT de> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: emacsclient from cygwin distro does not work with Cygwin emacs |
References: | <0867FF21-B46F-4ED7-A30B-8EA91FF22D71 AT letterboxes DOT org> <20120313090412 DOT Horde DOT 2VnFEElCcOxPXv98TKmSKOA AT webmail DOT df DOT eu> <D64A6C94-C90A-46A7-985D-0ECE6C55AE8A AT letterboxes DOT org> <20120313140418 DOT Horde DOT aYp9Q0lCcOxPX0XSwV9FhDA AT webmail DOT df DOT eu> <4F5F4D47 DOT 2010500 AT cornell DOT edu> |
In-Reply-To: | <4F5F4D47.2010500@cornell.edu> |
User-Agent: | Internet Messaging Program (IMP) H4 (5.0.18) |
MIME-Version: | 1.0 |
X-Df-Sender: | bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Ken Brown <kbrown AT cornell DOT edu> was heard to say: >> I can confirm that Emacs does not honor server-auth-dir. I did not >> customize this variable or alter it otherwise. Its value is >> "~/.emacs.d/server/" which is apparently a hard-coded default. However, >> my server file is in "/tmp/emacs45021/", not in "~/.emacs.d/server/". If >> I quit Emacs and create "~/.emacs.d/server/" (which did not exist on my >> system), Emacs still does not use this directory when I start it again. > Thanks for chiming in. I went back to the sources (lisp/server.el) and found out that Emacs does what it is told there. The directory specified in "server-auth-dir" is honored only if the server is supposed to use TCP sockets instead of local sockets. Local sockets end up in /tmp/emacsXY/ which is what I observe here. In order to use TCP sockets, you have to set "server-use-tcp" to a non-nil value. However, attempting to start the server throws me into the debugger if I do that. I'll leave that to the OP as I don't use TCP sockets. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |