Hi Tamas,

>>>>> Tamas Papp <[email protected]> writes:
> 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?

I had a brief look at the implementation of `prettify-symbols-mode', and
it doesn't seem promising unfortunately. Prettification takes place
based on `prettify-symbols-alist', which contains no face specification.
:-(

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW

Reply via email to