This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: emacsclient from cygwin distro does not work with Cygwin emacs


On 13/03/2012, at 7:04 PM, Markus Hoenicka wrote:

> Hi,
> 
> Leo <leoslists@letterboxes.org> was heard to say:
> 
>> I try to use emacsclient with Cygwin emacs, but it does not
>> work. emacsclient returns:
>> 
>>      emacsclient: error accessing server file
>>      "/cygdrive/c/home/.emacsdata/server/server"
>> 
>> In my .emacs file of the running emacs instance I have the following lines:
>> 
>>      (require 'server)
>>      (setq server-auth-dir "/cygdrive/c/home/.emacsdata/server/")
>>      (server-start)
> 
> I use only (server-start) in my .emacs, so emacsclient per see does work. Apparently it can't cope with your path specification. Does "~/.emacsdata/server/" work? Does "~/.emacs.d/server/" work? Also, it seems like the directory must exist on Windows before Emacs starts up, see this discussion (about halfway down the page):
> 

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.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]