[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51360: 29.0.50; variable `server-name' initialized too late for use
From: |
Eli Zaretskii |
Subject: |
bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file |
Date: |
Mon, 25 Oct 2021 05:27:37 +0300 |
> From: Gregor Zattler <grfz@gmx.de>
> Date: Sun, 24 Oct 2021 22:00:21 +0200
>
> > 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.
>
> the idea is to initialise the emacs daemon depending on it's
> server-name. Therefore doing it via emacs-startup-hook is
> somewhat counter-intuitive
Sorry, I don't think I follow: what has intuition got to do with this?
And what do you mean by "initialise the emacs daemon"? -- that happens
out of your control, in the internal Emacs code.
> But you are right that works. Thanks.
So does this mean your problem is solved?
- bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file, Gregor Zattler, 2021/10/23
- bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file, Stefan Kangas, 2021/10/24
- bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file, Gregor Zattler, 2021/10/24
- bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file, Eli Zaretskii, 2021/10/24
- bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file, Gregor Zattler, 2021/10/24
- bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file,
Eli Zaretskii <=
- bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file, Gregor Zattler, 2021/10/25
- bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file, Eli Zaretskii, 2021/10/25