GNU bug report logs -
#77381
[PATCH] extend tex--prettify-symbols-alist
Previous Next
Reported by: "Paul D. Nelson" <ultrono <at> gmail.com>
Date: Sun, 30 Mar 2025 11:42:02 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #50 received at 77381 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>> 1. Wrap char-displayable-p in (with-selected-frame ...).
>>
>> 2. Give char-displayable-p a frame argument, and wrap its body in
>> (with-selected-frame ...).
>>
>> 3. Drop the frame argument altogether (leaving (with-selected-frame
>> ...) to callers of these functions).
>
> I prefer (1), since we cannot change char-displayable-p itself (it's
> used in too many places, including during startup).
>
>> Option (3) seemed simplest to me, and also at the least risk of
>> introducing confusion concerning the name of the new function: at a
>> glance, "char-displayable-on-frame-p" might suggest incorrectly that it
>> does the analogue for the given frame of what char-displayable-p does
>> for the selected frame.
>
> I acknowledge the potential confusion, but I think we can countermand
> that in the doc string (without even mentioning char-displayable-p).
Thanks, I've revised to (1). Please see attached.
[0001-Restrict-symbol-prettification-to-displayable-ones.patch (text/x-patch, attachment)]
This bug report was last modified 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.