GNU bug report logs - #76014
31.0.50; Wrong highlighting of "All" in mode-line

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Sun, 2 Feb 2025 16:04:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 76014 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 76014 <at> debbugs.gnu.org
Subject: Re: bug#76014: 31.0.50; Wrong highlighting of "All" in mode-line
Date: Tue, 04 Feb 2025 15:46:42 +0200
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Cc: 76014 <at> debbugs.gnu.org
> Date: Tue, 04 Feb 2025 06:12:57 +0100
> 
> Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
> 
> > Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
> >
> >> Confirmed, 71505b723c9fb9de20f6d38be7c73d595e9be3ce it is.
> >
> > Don't know if this is directly related, but playing with
> >
> >   (defun foo ()
> >     (interactive)
> >     (with-current-buffer (get-buffer-create "*foo*")
> >       (erase-buffer)
> >       (insert "12345")
> >       (put-text-property (point-min) (point)
> >                          'display '(min-width (5)))
> >       (put-text-property (point-min) (point)
> >                          'mouse-face 'highlight)
> >       (insert "abc")
> >       (display-buffer (current-buffer))))
> >
> > shows that if the text, in this case "12345", is longer than min-width, a
> > space is added, and if it's equal to min-width, no space is added.
> 
> That attached patch fixes both the above problem and the the one in the
> mode-line.

Thanks, feel free to install.




This bug report was last modified 185 days ago.

Previous Next


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