GNU bug report logs -
#48365
13.0.11; Dollars in distinct comments trigger math mode highlighting in text in-between
Previous Next
Reported by: jfbu <jfbu <at> free.fr>
Date: Tue, 11 May 2021 19:18:01 UTC
Severity: normal
Found in version 13.0.11
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Oups, sorry, I sent my previous email just before I saw this message!
>>>>> Tassilo Horn <tsdh <at> gnu.org> writes:
> Hi Jean-François,
>>> I'm not sure what is worse. The restriction to have at least
>>> balanced $ also in comments, or the now very restrictive workaround
>>> form. We'll see if someone complains because that breaks his
>>>
>>> % Workaround fix $.
>>>
>>> comment fixes.
>>
>> Hi Tassilo, sorry for causing all the trouble.
> Ah, always these users with their strange requirements and bogus
> documents! ;-)
>> I pulled your commit and it works. For me that's working solution.
>>
>> Would it make sense to apply these rules:
>>
>> 1. a $ in comments can never start math mode
>> 2. but it can and will always stop math mode
> Hm, at first I've thought that would be annoying but it seems to work
> quite well. So I've pushed another commit implementing that. Please
> report if that fits the bill.
> Bye,
> Tassilo
> _______________________________________________
> bug-auctex mailing list
> bug-auctex <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-auctex
This bug report was last modified 4 years and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.