unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file
@ 2021-10-23 18:39 Gregor Zattler
  2021-10-24 12:46 ` Stefan Kangas
  0 siblings, 1 reply; 10+ messages in thread
From: Gregor Zattler @ 2021-10-23 18:39 UTC (permalink / raw)
  To: 51360

Dear emacs developers, if emacs is started as a named daemon
like this: `emacs --damon=foo' or like this:
`emacsclient -a "" -s foo [...]' the variable `server-name'
is initialized with the name "foo" but too late to be used
in init.el:



Warning (initialization): An error occurred while loading ´/home/grfz/.config/emacs/init.el´:

Symbol's value as variable is void: server-name



It would be helpful if `server-name' would be initialized
early enough to be used in init.el in order to enable
conditional configuration of the server, depending on it's
name.



Thanks for your attention, Gregor





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-10-25 12:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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