GNU bug report logs - #77381
[PATCH] extend tex--prettify-symbols-alist

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Cc: 77381 <at> debbugs.gnu.org
Subject: bug#77381: [PATCH] extend tex--prettify-symbols-alist
Date: Sun, 30 Mar 2025 19:50:38 +0300
> From: "Paul D. Nelson" <ultrono <at> gmail.com>
> Cc: 77381 <at> debbugs.gnu.org
> Date: Sun, 30 Mar 2025 18:21:44 +0200
> 
> > Ideally, we should only add those which can be displayed.  The
> > function char-displayable-p should be able to tell.  Would it be
> > possible to change the code such that only the symbols that pass that
> > test are added?
> 
> I tried, but wasn't able to extract the necessary information from
> char-displayable-p:
> 
> In GUI Emacs,
> 
>   (char-displayable-p #x1F6F0) -> 'unicode
> 
> and that character is not displayable for me (it renders as a white
> square).
> 
> In Emacs -nw,
> 
>   (char-displayable-p #x1d550) -> 'unicode
> 
> but that character displays normally for me.

For a GUI frame, if char-displayable-p returns a symbol, the character
is not displayable.  Characters that can be displayed on a GUI frame
should cause char-displayable-p to return a string, the name of the
font suitable for the character.




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.