emacsclient from cygwin distro does not work with Cygwin emacs

2012-03-13 Thread Leo
Hi there 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 follo

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

2012-03-13 Thread Markus Hoenicka
Hi, Leo 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:

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

2012-03-13 Thread Leo
On 13/03/2012, at 7:04 PM, Markus Hoenicka wrote: > Hi, > > Leo 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

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

2012-03-13 Thread Markus Hoenicka
Leo 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"

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

2012-03-13 Thread Ken Brown
On 3/13/2012 9:04 AM, Markus Hoenicka wrote: Leo 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

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

2012-03-13 Thread Markus Hoenicka
Ken Brown 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/"

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

2012-03-13 Thread Leo
On 14/03/2012, at 12:36 AM, Ken Brown wrote: > On 3/13/2012 9:04 AM, Markus Hoenicka wrote: >> Leo 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 th

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

2012-03-14 Thread Leo
On 14/03/2012, at 12:36 AM, Ken Brown wrote: On 3/13/2012 9:04 AM, Markus Hoenicka wrote: Leo 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*

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

2012-03-14 Thread Ken Brown
On 3/14/2012 6:19 AM, Leo wrote: emacsclient works fine when I unset the environment variable "EMACS_SERVER_FILE". This holds true regardless what server-auth-dir is set to. In order to produce the error, do the following: (1) start emacs -Q. (2) execute in the scratch buffer (require 'server)

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

2012-03-14 Thread Leo
On 15/03/2012, at 2:51 AM, Ken Brown wrote: > On 3/14/2012 6:19 AM, Leo wrote: >> emacsclient works fine when I unset the environment variable >> "EMACS_SERVER_FILE". This holds true regardless what server-auth-dir is >> set to. >> >> In order to produce the error, do the following: >> >> (1) s