From: Eli Zaretskii <eliz@gnu.org>
To: Gregor Zattler <grfz@gmx.de>
Cc: 51360@debbugs.gnu.org, stefan@marxist.se
Subject: bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file
Date: Sun, 24 Oct 2021 18:59:06 +0300 [thread overview]
Message-ID: <83sfwq2z3p.fsf@gnu.org> (raw)
In-Reply-To: <875ytm8mis.fsf@no.workgroup> (message from Gregor Zattler on Sun, 24 Oct 2021 17:34:19 +0200)
> From: Gregor Zattler <grfz@gmx.de>
> Date: Sun, 24 Oct 2021 17:34:19 +0200
> Cc: 51360@debbugs.gnu.org
>
> When emacs is started with emacs --daemon=foo (or
> emacsclinet -a "" -s foo [...]) one does not use
> `server-start'.
>
> > Do you have a recipe for reproducing this?
>
> Have
>
> (when (equal server-name "foo") (message "My name is foo!"))
>
> in .emacs and start emacs with emacs --daemon=foo
Whatever you do that you need server-name for, can't you do that in
emacs-startup-hook? AFAIR, that gets called after the daemon already
finished its initialization and provided its name to Emacs, so
server-name should be already populated.
next prev parent reply other threads:[~2021-10-24 15:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-23 18:39 bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file Gregor Zattler
2021-10-24 12:46 ` Stefan Kangas
2021-10-24 15:34 ` Gregor Zattler
2021-10-24 15:45 ` Gregory Heytings
2021-10-24 19:42 ` Gregor Zattler
2021-10-24 15:59 ` Eli Zaretskii [this message]
2021-10-24 20:00 ` Gregor Zattler
2021-10-25 2:27 ` Eli Zaretskii
2021-10-25 8:02 ` Gregor Zattler
2021-10-25 12:41 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83sfwq2z3p.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=51360@debbugs.gnu.org \
--cc=grfz@gmx.de \
--cc=stefan@marxist.se \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.