GNU bug report logs - #45520
28.0.50; mode-line-compact doesn't do text properties

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Tue, 29 Dec 2020 04:05:02 UTC

Severity: normal

Tags: fixed

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 45520 <at> debbugs.gnu.org
Subject: bug#45520: 28.0.50; mode-line-compact doesn't do text properties
Date: Tue, 29 Dec 2020 05:18:01 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I thought the issue was with `format-mode-line', but that function does
> return text properties as ordered (I think).  Instead the issue is that
> display_string doesn't do anything with the text properties?

OK, that was trivial to fix, so now the snippet that shortens the mode
line text just has to be amended to do the work on the Lisp_Object
string instead (so that text properties are preserved).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 199 days ago.

Previous Next


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