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

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

bug#50202: bibtex-mode: unescaped dollar sign in file field leads to wro


From: Roland Winkler
Subject: bug#50202: bibtex-mode: unescaped dollar sign in file field leads to wrong highlighting
Date: Mon, 29 Aug 2022 10:19:26 -0500

On Fri, Aug 26 2022, Stefan Monnier wrote:
> Another option is to mark $ as punctuation and then rely instead on
> `font-lock-keywords` to highlight something like "\\$[^$\n]+\\$".
> So $^2$ would still be highlighted in URLs but "foo$bar" wouldn't.

Thanks, that's a good compromise that should cover most use cases
without getting too complicated.





reply via email to

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