help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient does not start: How to create a server file?


From: William Gardella
Subject: Re: emacsclient does not start: How to create a server file?
Date: Sun, 17 Mar 2013 23:02:08 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hi Stefan,

Stefan Husmann <stefan-husmann@t-online.de> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]