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 #35 received at 35140 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
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: Thu, 03 Mar 2022 16:05:55 +0900
Hi Stefan,

>>>>> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> It also means that the approach you propose of only changing the `face`
> and not the syntax tables is probably good enough.

Thanks, then I'll go that route.

By the way,
> So, IIUC the same kind of problem already happens "everywhere" in Emacs
> in slightly less trivial cases, such as

>     %% \somemacro{some
>     %%            multiline arg}

> where double clicking on the braces will not do what we want (and will
> often signal that same "Unbalanced parantheses" error).

Surprisingly, it isn't the case. When I double-click on the right brace,
emacs spans active region successfully between "{" and "}", both in
latex-mode and doctex-mode buffer (at least for AUCTeX, I haven't tried
in Emacs built-in tex mode.)

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine




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

Previous Next


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