X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Date: Tue, 13 Mar 2012 09:04:12 +0100 Message-ID: <20120313090412.Horde.2VnFEElCcOxPXv98TKmSKOA@webmail.df.eu> From: Markus Hoenicka To: cygwin AT cygwin DOT com Subject: Re: emacsclient from cygwin distro does not work with Cygwin emacs References: <0867FF21-B46F-4ED7-A30B-8EA91FF22D71 AT letterboxes DOT org> In-Reply-To: <0867FF21-B46F-4ED7-A30B-8EA91FF22D71@letterboxes.org> User-Agent: Internet Messaging Program (IMP) H4 (5.0.18) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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): 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