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


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


http://stackoverflow.com/questions/885793/emacs-error-when-calling-server-start

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


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