GNU bug report logs - #76761
31.0.50; Image icons from 'icons.el' could be accidentally dropped

Previous Next

Package: emacs;

Reported by: Pengji Zhang <me <at> pengjiz.com>

Date: Wed, 5 Mar 2025 10:11:01 UTC

Severity: normal

Found in version 31.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: Pengji Zhang <me <at> pengjiz.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 76761 <at> debbugs.gnu.org
Subject: bug#76761: 31.0.50; Image icons from 'icons.el' could be accidentally dropped
Date: Thu, 06 Mar 2025 17:59:06 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

> Isn't that rather a bug in mode-line-compact?  It shouldn't remove
> spaces which have 'display' properties on them, since they are not
> "empty space" on the mode line.

Yes, I agree that we probably need to fix 'mode-line-compact' as well.
However, other than 'mode-line-compact', 'string-split', 'string-trim',
and some other commonly used string functions could also remove such
"non-empty spaces" unexpectedly. Image icons are the only thing that
brings me trouble. So I am reporting it as an 'icons.el' bug. Besides,
IMO it is less intrusive to change 'icons.el'.




This bug report was last modified 78 days ago.

Previous Next


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