delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/13/17:50:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Mime-Version: 1.0 (Apple Message framework v1257)
Subject: Re: emacsclient from cygwin distro does not work with Cygwin emacs
From: Leo <leoslists AT letterboxes DOT org>
In-Reply-To: <4F5F4D47.2010500@cornell.edu>
Date: Wed, 14 Mar 2012 08:49:46 +1100
Message-Id: <4033026E-FC81-498E-A82F-1E5EAD81795D@letterboxes.org>
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>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q2DLoIQc000379

On 14/03/2012, at 12:36 AM, Ken Brown wrote:

> On 3/13/2012 9:04 AM, Markus Hoenicka wrote:
>> Leo <leoslists AT letterboxes DOT org> was heard to say:
>> 
>>> Well, the directory does exist. Furthermore I tried it with
>>> "~/.emacsdata/server/" (tilde instead of expanded home directory)
>>> first and it doesn't work. Strange thing is it *does* work in NTemacs
>>> with the tilde: I can see, that NTemacs creates a file named "server"
>>> in the directory "~/.emacsdata/server/"" and emacsclient then finds
>>> that file.
>> 
>> 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.
> 
> I'll look into this as soon as I can.  I don't use emacsclient, so I'll need some help.  Please give me step-by-step instructions for reproducing the problem, preferably starting with `emacs -Q'.  Tell me what happens and what should happen (with pointers to the documentation).

Ok, I will check the behaviour without setting the auth dir and launching emacs with -Q and go back to you.

> BTW, have either of you tried this on Linux to see if it behaves the way you expect?

Well, a quick try on Mac OSX shows that the server file does not seem to get created in the auth dir location either. But on Mac OSX it doesn't matter for me, because I don't use the server feature: I can just drag files from Finder on to emacs (and don't need the workaround via emacsclient and send-to…)

Cheers, Leo


--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019