Hi,

I am using prettify-symbols-mode in Emacs (30.1), especially for AucTeX,
which is great as it turns eg \lambda to λ and reduces visual clutter.

However, I would like to visually distinguish eg the λ characters already
in the file in UTF8 from those that are the result of being replaced by
this mode. In other words, I would like to choose a different face (eg a
different background color) for the prettified symbols.

(I know that if I (setq prettify-symbols-unprettify-at-point t), it
reverts at the point, but I just want to look, not check by moving the
point.)

Is there a way I can do this? I asked on stackoverflow [1] but did not
get a helpful solution. The face is apparently font-latex-sedate-face,
which is used for a gazillion of other things. Can I somehow highlight
based on prettify-symbols-end / prettify-symbols-start enclosing the
text?

best,

Tamas

[1] 
https://emacs.stackexchange.com/questions/84783/different-face-for-prettified-symbols

Reply via email to