GNU bug report logs -
#40930
AUCTeX fontification messed up
Previous Next
Reported by: <gennady.uraltsev <at> gmail.com>
Date: Tue, 28 Apr 2020 13:01:02 UTC
Severity: normal
Merged with 36075
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40930 in the body.
You can then email your comments to 40930 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#40930
; Package
auctex
.
(Tue, 28 Apr 2020 13:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
<gennady.uraltsev <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Tue, 28 Apr 2020 13:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Dear Everyone,
I have posted a reddit thread about a bug wth AUCTeX fontification that
exists since 6 years or so. I myself reported it here in 2019-06 but it was
ignored. The bug is occurs frequently but is very hard to reproduce
reliably: this is why I can't include a minimal example. The reddit thread
is here:
https://www.reddit.com/r/emacs/comments/g95vyl/font_lock_in_auctex_messed_up
/
and I copy the contents below for completeness. There is some discussion in
the comments there.
It would be great to have some instructions on how to approach the problem.
*****
Hello everyone. I use AUCTeX to write papers in LaTeX. It is a great
environment if configured correctly. I use it with preview-latex and
prettify-symbols-mode. I want to use TeX-fold-mode but I have not set it up
yet.
However there is a recurring problem that is very difficult to catch and to
diagnose. I have reported it on the bug-auctex mailing list and google
searches give many other people complaining about the issue:
https://lists.gnu.org/archive/html/bug-auctex/2019-06/msg00005.html
https://emacs.stackexchange.com/questions/20518/how-to-investigate-color-ble
eding
https://github.com/syl20bnr/spacemacs/issues/9976
http://pragmaticemacs.com/emacs/refresh-auctex-syntax-highlighting/
https://github.com/syl20bnr/spacemacs/issues/5433
It seems to be a very difficult issue to reproduce consistently, even though
it appears often in any large enough tex file.
Here is what I know:
It appears in: vanilla emacs, spacemacs, doom emacs.
It appears in: windows, linux (I am currently on windows)
It appears with
(setq TeX-install-font-lock 'tex-font-setup)
and
(setq TeX-install-font-lock 'font-latex-setup)
It *does not* depend on this issue
https://www.gnu.org/software/auctex/manual/auctex/Known-problems.html#Known-
problems
(no verbatim or dollar signs)
The problem can reappear and disappear even by inserting a single letter (in
a math environment or outside one)
The problem can sometimes reappear and disappear by merely scrolling the
buffer
The problem seems to get worse with larger files
The problem seems to get worse with other functionality that relies on
overlays/text properties e.g. preview-latex or rainbow-delimiters but it
presents itself even without these packages.
Another approach is to disable jit. It seems to help a lot but it doesn't
solve the issue. Mistakes still occur. They are just fewer and thus
tolerable.
The problem disappears when doing M-x normal-mode but any action can make it
reappear.
Unfortunately, I am currently writing quite a large paper and this bug is
making AUCTeX unusable. Every several letters I write trigger a change in
fontification.
The developers have ignored my bug report: I don't blame them. It is
completely unclear how to reproduce it. I did ask for instructions on what
to do but none were given.
I am writing here to pool together all I have found about the issue so we
could possibly help track this bug down. Any suggestions?
EDIT:disabling jit helps a bit.
****
Best,
Gennady
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#40930
; Package
auctex
.
(Wed, 03 Jun 2020 07:39:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 40930 <at> debbugs.gnu.org (full text, mbox):
Hi Gennady,
>>>>> <gennady.uraltsev <at> gmail.com> writes:
> Dear Everyone,
> I have posted a reddit thread about a bug wth AUCTeX fontification that
> exists since 6 years or so. I myself reported it here in 2019-06 but it was
> ignored. The bug is occurs frequently but is very hard to reproduce
> reliably: this is why I can't include a minimal example.
> The reddit thread is here:
> https://www.reddit.com/r/emacs/comments/g95vyl/font_lock_in_auctex_messed_up
> /
> and I copy the contents below for completeness. There is some discussion in
> the comments there.
> It would be great to have some instructions on how to approach the problem.
We are sorry for not having been able to help for long time. Recently we
began to think that this bug is the same as bug#33139, though it is not
yet confirmed:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33139
We finally managed to fix that bug, so we hope that this bug is fixed as
well. Could you try the latest development version in the git repository
or the ELPA release which is to appear soon?
Regards,
Ikumi Keita
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#40930
; Package
auctex
.
(Fri, 05 Jun 2020 17:37:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 40930 <at> debbugs.gnu.org (full text, mbox):
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> We finally managed to fix that bug, so we hope that this bug is fixed
> as well. Could you try the latest development version in the git
> repository or the ELPA release which is to appear soon?
The ELPA release which hopefully fixes the issue is 12.2.3.
Bye,
Tassilo
Merged 36075 40930.
Request was from
Ikumi Keita <ikumi <at> ikumi.que.jp>
to
control <at> debbugs.gnu.org
.
(Sat, 06 Jun 2020 09:29:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#40930
; Package
auctex
.
(Thu, 11 Jun 2020 19:35:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 40930 <at> debbugs.gnu.org (full text, mbox):
Hello everyone,
I have been using the new version quite intensely since several days on a
paper that used to get messed up.
Everything seems to work very well.
Thank you so much!
Best,
Gennady
-----Original Message-----
From: Tassilo Horn <tsdh <at> gnu.org>
Sent: Friday, 5 June, 2020 13:36
To: gennady.uraltsev <at> gmail.com; 40930 <at> debbugs.gnu.org
Subject: Re: bug#40930: AUCTeX fontification messed up
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> We finally managed to fix that bug, so we hope that this bug is fixed
> as well. Could you try the latest development version in the git
> repository or the ELPA release which is to appear soon?
The ELPA release which hopefully fixes the issue is 12.2.3.
Bye,
Tassilo
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Thu, 11 Jun 2020 21:14:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
<gennady.uraltsev <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 11 Jun 2020 21:14:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 40930-done <at> debbugs.gnu.org (full text, mbox):
Hi Gennady,
> I have been using the new version quite intensely since several days
> on a paper that used to get messed up.
>
> Everything seems to work very well.
That's very good news!
> Thank you so much!
You are welcome. I'm closing this bug report then.
Thanks,
Tassilo
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Thu, 11 Jun 2020 21:14:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Gennady Uraltsev <gennady.uraltsev <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 11 Jun 2020 21:14:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 10 Jul 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.