* Re: bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces
[not found] ` <24961.1646146234@localhost>
@ 2022-03-02 9:01 ` Ikumi Keita
2022-03-02 14:01 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Ikumi Keita @ 2022-03-02 9:01 UTC (permalink / raw)
To: emacs-devel; +Cc: Markus Kohm, 35140
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces
2022-03-02 9:01 ` bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces Ikumi Keita
@ 2022-03-02 14:01 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2022-03-02 14:01 UTC (permalink / raw)
To: Ikumi Keita; +Cc: emacs-devel, Markus Kohm
Ikumi Keita [2022-03-02 18:01:18] wrote:
> 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.
And to whoever has something to contribute: Please keep your answers in
`35140@debbugs.gnu.org` and not in `emacs-devel@gnu.org`.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-02 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1990475.NB1R35vEMU@komascript.de>
[not found] ` <25610.1557200375@localhost>
[not found] ` <12115.1646127291@localhost>
[not found] ` <86pmn5j3eg.fsf@gnu.org>
[not found] ` <24961.1646146234@localhost>
2022-03-02 9:01 ` bug#35140: 12.1; Scan errors in doctex mode with ^^A-comments after braces Ikumi Keita
2022-03-02 14:01 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).