bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#47455: 27.1; bibtex mode - citation key generation - non-ascii chara


From: Roland Winkler
Subject: bug#47455: 27.1; bibtex mode - citation key generation - non-ascii characters
Date: Sun, 30 May 2021 16:39:16 -0500

On Fri May 28 2021 Brian Elmegaard wrote:
> I understand your reasoning about this being an issue with the
> tools used.  In auctex I can also enter \newcommand{\ΓΌ}{u} without
> being warned that it will not work with latex.
> 
> The warning seems to be a good idea to me as well.

I realized:

One can also instruct font-lock to use for non-ascii characters
something like font-lock-warning-face (based on a user option for
enabling this behavior).

And Auctex could do the same.

However this fails with something like the unicode character
'ZERO WIDTH SPACE' (which has fooled me occassionally in the very
context we are discussing here).  Is it possible to instruct emacs
to make such "hidden characters" more easily visible, say by using
some display property?

The fontification could also be encapsulated in a minor mode that
one could use for \(Bib\|La\)?TeX files.

Maybe such a minor mode exists already and I am right now
reinventing the wheel?





reply via email to

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