* bug#45520: 28.0.50; mode-line-compact doesn't do text properties
@ 2020-12-29 4:04 Lars Ingebrigtsen
2020-12-29 4:18 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-29 4:04 UTC (permalink / raw)
To: 45520
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#45520: 28.0.50; mode-line-compact doesn't do text properties
2020-12-29 4:04 bug#45520: 28.0.50; mode-line-compact doesn't do text properties Lars Ingebrigtsen
@ 2020-12-29 4:18 ` Lars Ingebrigtsen
2020-12-29 5:00 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-29 4:18 UTC (permalink / raw)
To: 45520
Lars Ingebrigtsen <larsi@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#45520: 28.0.50; mode-line-compact doesn't do text properties
2020-12-29 4:18 ` Lars Ingebrigtsen
@ 2020-12-29 5:00 ` Lars Ingebrigtsen
0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-29 5:00 UTC (permalink / raw)
To: 45520
Lars Ingebrigtsen <larsi@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-29 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-29 4:04 bug#45520: 28.0.50; mode-line-compact doesn't do text properties Lars Ingebrigtsen
2020-12-29 4:18 ` Lars Ingebrigtsen
2020-12-29 5:00 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.