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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45520 in the body.
You can then email your comments to 45520 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45520; Package emacs. (Tue, 29 Dec 2020 04:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 29 Dec 2020 04:05:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; mode-line-compact doesn't do text properties
Date: Tue, 29 Dec 2020 05:04:16 +0100
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?

If this can't be fixed somewhat easily, I guess I'll revert the
mode-line-compact change, because it's pretty useless without text
properties, but I don't have the time right now to investigate, so I'm
reporting this as a bug to remind myself (or anybody else who feels like
having a look).


In GNU Emacs 28.0.50 (build 59, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
 of 2020-12-23 built on xo
Repository revision: 22c1f00d997d38ba0c453da5f5e9c526d0ac05b0
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid


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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45520; Package emacs. (Tue, 29 Dec 2020 04:19:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 45520 <at> debbugs.gnu.org
Subject: Re: 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45520; Package emacs. (Tue, 29 Dec 2020 05:01:02 GMT) Full text and rfc822 format available.

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

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

> 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).

And the rest didn't seem that complicated, either, so this should
actually work now...

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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 29 Dec 2020 05:01:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 45520 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 29 Dec 2020 05:01:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 26 Jan 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 91 days ago.

Previous Next


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