[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tick Reduction
From: |
Eli Zaretskii |
Subject: |
Re: Tick Reduction |
Date: |
Mon, 29 Nov 2021 15:53:23 +0200 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: dgutov@yandex.ru, stefankangas@gmail.com, emacs-devel@gnu.org
> Date: Mon, 29 Nov 2021 14:40:26 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > How would you know where to call it? When display_string produces the
> > glyphs for the result of "%p", all it sees is a C string like "26%".
> > I don't see how it could reach out to the original mode-line spec.
> > the above code runs only _after_ display_string returns.
>
> Yes, it'd have to call the `display' machinery before doing the C
> string, I think?
That's crazy (forgive my French). It is much cleaner to produce a
Lisp string with the result of %p (or whatever), with the 'display'
property on it, and use that in the mode line instead.
- Re: Tick Reduction, (continued)
- Re: Tick Reduction, Eli Zaretskii, 2021/11/25
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/25
- Re: Tick Reduction, Eli Zaretskii, 2021/11/25
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/25
- Re: Tick Reduction, Eli Zaretskii, 2021/11/25
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/26
- Re: Tick Reduction, Eli Zaretskii, 2021/11/26
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/27
- Re: Tick Reduction, Eli Zaretskii, 2021/11/27
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/29
- Re: Tick Reduction,
Eli Zaretskii <=
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/29
- Re: Tick Reduction, Eli Zaretskii, 2021/11/29
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/29
- Re: Tick Reduction, Eli Zaretskii, 2021/11/29
- Re: Tick Reduction, Eli Zaretskii, 2021/11/29
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/29
- Re: Tick Reduction, Feng Shu, 2021/11/24
- Re: Tick Reduction, Eli Zaretskii, 2021/11/25
- Re: Tick Reduction, Lars Ingebrigtsen, 2021/11/25
- Re: Tick Reduction, chad, 2021/11/22