GNU bug report logs -
#47832
28.0.50; define-fringe-bitmap and emacs --daemon
Previous Next
Reported by: Gregory Heytings <gregory <at> heytings.org>
Date: Fri, 16 Apr 2021 22:23:01 UTC
Severity: normal
Tags: fixed, patch
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Tue, 25 May 2021 13:24:14 +0000
> From: Gregory Heytings <gregory <at> heytings.org>
> cc: larsi <at> gnus.org, 47832 <at> debbugs.gnu.org
>
> > I'm asking why do we need to process the second kind here. That kind
> > was already set up when user initializations defined replacements for
> > those standard bitmaps. Right? So why do we need to set them up again?
>
> What you write is correct when you call "emacs", not when you call "emacs
> --daemon". In the latter case the user-defined bitmaps have not yet been
> set up. It's explained in the comment:
>
> /* Set up user-defined fringe bitmaps that might have been defined
> before the frame of this kind was initialized. This can happen
> if Emacs is started as a daemon and the init files define fringe
> bitmaps. */
OK, but then perhaps we should only do that in a daemon? Or at least
say in a comment there that the second loop does some redundant
initializations except under --daemon.
This bug report was last modified 3 years and 362 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.