X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.7 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 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: emacsclient from cygwin distro does not work with Cygwin emacs From: Leo In-Reply-To: <20120313090412.Horde.2VnFEElCcOxPXv98TKmSKOA@webmail.df.eu> Date: Tue, 13 Mar 2012 22:01:41 +1100 Message-Id: References: <0867FF21-B46F-4ED7-A30B-8EA91FF22D71 AT letterboxes DOT org> <20120313090412 DOT Horde DOT 2VnFEElCcOxPXv98TKmSKOA AT webmail DOT df DOT eu> To: cygwin AT cygwin DOT com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q2DB28YH025859 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 .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