unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Davin Pearson <davin.pearson@gmail.com>
To: Robert Pluim <rpluim@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Trouble getting the daemon thread online.
Date: Sun, 7 Aug 2022 13:35:58 +1200	[thread overview]
Message-ID: <CAG9ihEtCq2EZbsToZHt_u4ZM=tb1ZyDfdJCCbq7QwoWwTr0OJA@mail.gmail.com> (raw)
In-Reply-To: <87ilnbhw1c.fsf@gmail.com>

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
> --
>


  reply	other threads:[~2022-08-07  1:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-01 22:36 Trouble getting the daemon thread online Davin Pearson
2022-08-02  8:47 ` Robert Pluim
2022-08-07  1:35   ` Davin Pearson [this message]
2022-08-09  4:03     ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG9ihEtCq2EZbsToZHt_u4ZM=tb1ZyDfdJCCbq7QwoWwTr0OJA@mail.gmail.com' \
    --to=davin.pearson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).