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: Thu, 29 Dec 2022 23:49:43 -0600

On Mon, Aug 29 2022, Roland Winkler wrote:
> 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.

commit ab38abfdf75e091b9970dd3ba977aaa1b6067cc3





reply via email to

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