emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Message's text-properties in *Messages*


From: Stefan Monnier
Subject: Re: Message's text-properties in *Messages*
Date: Wed, 30 May 2018 22:09:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> > As I wrote previously, redisplay is not the issue here, as
>> > message_dolog doesn't call any redisplay entry points.
>> Hmm... indeed I'm not worried about message_dolog calling redisplay,
>> instead I think the worry is about redisplay calling message_dolog
>> (probably via `message` or some variant thereof).
>
> I don't think this happens, and I don't think it could work for
> redisplay to call 'message' or its ilk.  Do you see any such calls?

I haven't checked: I just assumed it was part of the worry.

BTW now I see that message_dolog indeed runs the after-change-functions
as well, so it already runs arbitrary Lisp code (and if its
after-change-functions call `message` you get funny results).

>> And in that case, we could also replace message_dolog with
>> message_dolog_lisp (if needed, building a fresh new Lisp string from
>> a char*).
> Probably, although it could be cumbersome with some of the current
> callers.

I'll see how it comes out,


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]