[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after brac
From: |
Ikumi Keita |
Subject: |
bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces |
Date: |
Wed, 02 Mar 2022 18:01:18 +0900 |
Greetings, Emacs developers.
I'd like to ask what to do with bug#35140. This was originally posted as
AUCTeX bug, but the same issue applies for Emacs built-in tex-mode.el as
well, as described below. That's the reason why I'm posting to
emacs-devel.
Please have a look at
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35140#5
to see what this bug is.
The reason of this error is the syntax-table property put on the closing
curly brace. In order to achieve different fontification on the docTeX
documentation and the comment after ^^A, the function
`font-latex-doctex-^^A' puts the "comment ender" syntax on the closing
"}", which hides the proper syntax "closing paren paired with {" and
thus leads to the reported error.
Actually, `font-latex-doctex-^^A' is essentially just a copy of
`doctex-font-lock-^^A' in `tex-mode.el', so the Emacs built-in
doctex-mode shares exactly the same problem with respect to the given
test file at double-clicking.
Are there any smart ways to address this issue?
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Ikumi Keita, 2022/03/01
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Arash Esbati, 2022/03/01
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Ikumi Keita, 2022/03/01
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces,
Ikumi Keita <=
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Stefan Monnier, 2022/03/02
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Ikumi Keita, 2022/03/02
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Stefan Monnier, 2022/03/02
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Tassilo Horn, 2022/03/02
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Arash Esbati, 2022/03/03
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Tassilo Horn, 2022/03/03
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Ikumi Keita, 2022/03/03
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Ikumi Keita, 2022/03/05
- bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces, Arash Esbati, 2022/03/03