GNU bug report logs - #51360
29.0.50; variable `server-name' initialized too late for use in init file

Previous Next

Package: emacs;

Reported by: Gregor Zattler <grfz <at> gmx.de>

Date: Sat, 23 Oct 2021 18:40:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Gregor Zattler <grfz <at> gmx.de>
Subject: bug#51360: closed (Re: bug#51360: 29.0.50; variable `server-name'
 initialized too late for use in init file)
Date: Mon, 25 Oct 2021 12:43:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#51360: 29.0.50; variable `server-name' initialized too late for use in init file

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 51360 <at> debbugs.gnu.org.

-- 
51360: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51360
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregor Zattler <grfz <at> gmx.de>
Cc: 51360-done <at> debbugs.gnu.org
Subject: Re: bug#51360: 29.0.50;
 variable `server-name' initialized too late for use in init file
Date: Mon, 25 Oct 2021 15:41:55 +0300
> From: Gregor Zattler <grfz <at> gmx.de>
> Date: Mon, 25 Oct 2021 10:02:16 +0200
> 
> > So does this mean your problem is solved?
> 
> Yes, thanks.  Please close the bug report.

Thanks, closing.

[Message part 3 (message/rfc822, inline)]
From: Gregor Zattler <grfz <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; variable `server-name' initialized too late for use in
 init file
Date: Sat, 23 Oct 2021 20:39:25 +0200
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



This bug report was last modified 3 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.