GNU bug report logs - #35140
12.1; Scan errors in doctex mode with ^^A-comments after braces

Previous Next

Package: auctex;

Reported by: Markus Kohm <komascript <at> gmx.info>

Date: Thu, 4 Apr 2019 12:38:02 UTC

Severity: normal

Found in version 12.1

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 35140 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Arash Esbati <arash <at> gnu.org>
Cc: Markus Kohm <komascript <at> gmx.info>, 35140 <at> debbugs.gnu.org
Subject: Re: bug#35140: 12.1;
 Scan errors in doctex mode with ^^A-comments after braces
Date: Tue, 01 Mar 2022 23:50:34 +0900
Hi Arash, thanks for your response.

>>>>> Arash Esbati <arash <at> gnu.org> writes:
> I don't think AUCTeX suffers if the syntax after "^^A" isn't change so
> we could do it.  One other idea would be to raise this issue also on
> Emacs devel list since Emacs has the same issue as well or ping Stefan
> M. to have a look at this thread before we make a final decision.  What
> do you think?

That sounds nice. I'll do that tomorrow.

>> +(defun font-latex-doctex-match-^^A (limit)
>> +  "In docTeX mode, match comment started by ^^A before LIMIT."
>> +  (catch 'found
>> +    (while (TeX-search-forward-unescaped "^^A" limit t)

> While we're at it, can we change this to:

>   (while (TeX-re-search-forward-unescaped "\\^\\^[AX]" limit t)

> as well?  doc v3 also accepts ^^X as comment starter.

Oh, I didn't know that. Then I have to modify there along your
suggestion.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine




This bug report was last modified 3 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.