This is the mail archive of the
mailing list for the Cygwin project.
Re: emacsclient from cygwin distro does not work with Cygwin emacs
On 14/03/2012, at 12:36 AM, Ken Brown wrote:
On 3/13/2012 9:04 AM, Markus Hoenicka wrote:
emacsclient works fine when I unset the environment variable
"EMACS_SERVER_FILE". This holds true regardless what server-auth-dir
is set to.
Leo <email@example.com> 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
with the tilde: I can see, that NTemacs creates a file named
in the directory "~/.emacsdata/server/"" and emacsclient then finds
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.
my server file is in "/tmp/emacs45021/", not in "~/.emacs.d/
I quit Emacs and create "~/.emacs.d/server/" (which did not exist
system), Emacs still does not use this directory when I start it
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
preferably starting with `emacs -Q'. Tell me what happens and what
happen (with pointers to the documentation).
In order to produce the error, do the following:
(1) start emacs -Q.
(2) execute in the scratch buffer
(setq server-auth-dir "~/")
(3) go to a cygwin bash (outside emacs)
(4) set EMACS_SERVER_FILE to "~/server"
(5) run the command
and you get the error message from the original post, but you'd expect
to get in emacs a buffer displayed with the .emasc file.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple