From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Gardella Newsgroups: gmane.emacs.help Subject: Re: emacsclient does not start: How to create a server file? Date: Sun, 17 Mar 2013 23:02:08 +0000 Message-ID: <87fvztljf3.fsf@gmail.com> References: <1363539530398-281116.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363561643 20882 80.91.229.3 (17 Mar 2013 23:07:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Mar 2013 23:07:23 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Mon Mar 18 00:07:49 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHMg9-0005X0-22 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 00:07:49 +0100 Original-Received: from localhost ([::1]:53141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHMfl-0000wl-IA for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Mar 2013 19:07:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHMeC-0000cM-FR for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sun, 17 Mar 2013 19:07:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHMaq-000660-15 for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sun, 17 Mar 2013 19:05:48 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHMap-00065Q-R1 for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Sun, 17 Mar 2013 19:02:19 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UHMbA-0001dn-B5 for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Mon, 18 Mar 2013 00:02:40 +0100 Original-Received: from 178.32.210.80 ([178.32.210.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Mar 2013 00:02:40 +0100 Original-Received: from gardellawg by 178.32.210.80 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Mar 2013 00:02:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: 178.32.210.80 X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:yvhmYIEI4b1Xw1Ngtb+UBgXArjs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:89568 Archived-At: Hi Stefan, Stefan Husmann writes: > Hello, > > when I try to open a file with emacsclient, I get > > emacsclient -f ~/.emacs.d/se .emacs > emacsclient: error accessing server file "/home/haawda/.emacs.d/se" > > If I do not specify the server file with -f, I get a similar message, but > wit ~/tmp/server. The server files do not exist. How can they be created? > And why is ~/tmp the default? > > I am on Arch Linux. My emacs is a selfcompiled version from the xwidget > branch, but the behaviour also happens with an emacs from trunk with lucid > gui. Is the server already running? If not, one good technique is to run emacsclient -a "" or have ALTERNATE_EDITOR="" in your environment. Either way, this will cause emacsclient to start an emacs --daemon in the background and then connect to it, rather than just exiting with an error that it can't find the server. I am not sure why ~/tmp/server is the default server file for you. Perhaps it has to do with the prefix you used when configuring? -- Regards, WGG