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 #14 received at 76014 <at> debbugs.gnu.org (full text, mbox):

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 76014 <at> debbugs.gnu.org
Subject: Re: bug#76014: 31.0.50; Wrong highlighting of "All" in mode-line
Date: Mon, 03 Feb 2025 07:40:33 +0100
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.




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.