[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble getting the daemon thread online.
From: |
Davin Pearson |
Subject: |
Re: Trouble getting the daemon thread online. |
Date: |
Sun, 7 Aug 2022 13:35:58 +1200 |
I have written the following batch file: runmacs.bat
cd ~ && emacs --geometry 1024x768 --debug-init $1 &
and placed it in the directory ~/Binaries
Then executing the command runmacs.bat starts emacs every time
(but not in daemon mode which is my personal preference)
On Tue, 2 Aug 2022 at 20:47, Robert Pluim <rpluim@gmail.com> wrote:
> >>>>> On Tue, 2 Aug 2022 10:36:14 +1200, Davin Pearson <
> davin.pearson@gmail.com> said:
>
> Davin> It seems that I was correct in assuming Emacs 28.1
> Davin> is running a daemon thread. With the new GNU Version I am
> having trouble
> Davin> loading
> Davin> emacs.
>
> Only if you start it with --daemon or run '(server-start)' from your
> init file. Unless you mean the desktop environment run files that ship
> with emacs, which can start emacs in daemon mode.
>
> Davin> When I type
>
> Davin> $emacs
>
> Davin> at the command prompt, it starts up Emacs but then after 6
> Davin> seconds of loading it terminates itsel f.
>
> Davin> When I type emacsclient -c it says the following message.
>
> Davin> /snap/emacs/1609/usr/bin/emacsclient: can't find socket; have
> you started
> Davin> the server?
> Davin> /snap/emacs/1609/usr/bin/emacsclient: To start the server in
> Emacs, type
> Davin> "M-x server-start".
> Davin> /snap/emacs/1609/usr/bin/emacsclient: No socket or alternate
> editor.
> Davin> Please use:
>
> Davin> --socket-name
> Davin> --server-file (or environment variable EMACS_SERVER_FILE)
> Davin> --alternate-editor (or environment variable ALTERNATE_EDITOR)
>
> Well, it Emacs isnʼt running, then emacsclient wonʼt be able to
> connect to it. You need to figure out why emacs is exiting. 'emacs -Q'
> is normally a good start.
>
> Robert
> --
>