GNU bug report logs -
#37945
Saving file erases minor mode font locking.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37945 in the body.
You can then email your comments to 37945 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#37945
; Package
auctex
.
(Sun, 27 Oct 2019 17:46:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Prashant Sachdeva <sachdevaprash <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Sun, 27 Oct 2019 17:46:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
When saving files, the lisp files for some style files (e.g. expl3, minted)
call font-latex-update-font-lock, which has the following lines to revert
the font locking to defaults (around line 1287-88 of font-latex.el):
(setq font-lock-set-defaults nil)
(font-lock-set-defaults)
This removes any font locking done by minor modes (e.g. hl-todo-mode,
outshine-mode). There should be another way of applying these styles that
does not override previously set font properties, or reapplies the font
lock applied by minor modes.
Emacs : GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.7.0, Carbon Version
158 AppKit 1671.6)
of 2019-10-19
Package: 12.1.2
Also covered as a bug in hl-todo-mode
<https://github.com/tarsius/hl-todo/issues/26#issuecomment-546637535>.
- Prashant
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37945
; Package
auctex
.
(Tue, 09 Jun 2020 11:21:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 37945 <at> debbugs.gnu.org (full text, mbox):
Dear all,
I wanted to inquire on the status of the mentioned report since
the issue has not been resolved. Custom font lock is still broken with LaTeX
files in Emacs.
See https://github.com/tarsius/hl-todo/issues/26.
Best,
Dominik
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37945
; Package
auctex
.
(Wed, 10 Jun 2020 19:00:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 37945 <at> debbugs.gnu.org (full text, mbox):
Dominik Schrempf <dominik.schrempf <at> gmail.com> writes:
> I wanted to inquire on the status of the mentioned report since the
> issue has not been resolved. Custom font lock is still broken with
> LaTeX files in Emacs.
If you can, you can test-drive the AUCTeX branch
obsolete-font-latex-update-font-lock where I hopefully fixed that issue
(and maybe introduced other breakage while doing it).
Feedback welcome!
Tassilo
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37945
; Package
auctex
.
(Thu, 11 Jun 2020 11:35:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 37945 <at> debbugs.gnu.org (full text, mbox):
Hi,
thanks a lot for working on this. I tested the mentioned branch and indeed, it
works flawlessly. As far as I can see now, no other regressions were introduced,
and I sincerely hope it stays like this!
Best,
Dominik
Tassilo Horn <tsdh <at> gnu.org> writes:
> Dominik Schrempf <dominik.schrempf <at> gmail.com> writes:
>
>> I wanted to inquire on the status of the mentioned report since the
>> issue has not been resolved. Custom font lock is still broken with
>> LaTeX files in Emacs.
>
> If you can, you can test-drive the AUCTeX branch
> obsolete-font-latex-update-font-lock where I hopefully fixed that issue
> (and maybe introduced other breakage while doing it).
>
> Feedback welcome!
> Tassilo
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37945
; Package
auctex
.
(Thu, 11 Jun 2020 18:56:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 37945 <at> debbugs.gnu.org (full text, mbox):
Dominik Schrempf <dominik.schrempf <at> gmail.com> writes:
Hi Dominik,
> thanks a lot for working on this. I tested the mentioned branch and
> indeed, it works flawlessly. As far as I can see now, no other
> regressions were introduced,
That's good news. I give it some days of testing by others and then
I'll merge it into master. So hopefully it'll be fixed in GNU AUCTeX
12.2.4.
> and I sincerely hope it stays like this!
Gosh, don't put too much pressure on me! :-)
Bye,
Tassilo
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Sun, 14 Jun 2020 12:21:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Prashant Sachdeva <sachdevaprash <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 14 Jun 2020 12:21:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 37945-done <at> debbugs.gnu.org (full text, mbox):
Tassilo Horn <tsdh <at> gnu.org> writes:
>> thanks a lot for working on this. I tested the mentioned branch and
>> indeed, it works flawlessly. As far as I can see now, no other
>> regressions were introduced,
>
> That's good news. I give it some days of testing by others and then
> I'll merge it into master. So hopefully it'll be fixed in GNU AUCTeX
> 12.2.4.
Ok, the branch is now merged into master and we'll be doing a new ELPA
release in some days.
I'm closing this report now. Thanks a lot for testing!
Bye,
Tassilo
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37945
; Package
auctex
.
(Sun, 14 Jun 2020 16:20:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 37945-done <at> debbugs.gnu.org (full text, mbox):
Thank you!
Tassilo Horn <tsdh <at> gnu.org> writes:
> Tassilo Horn <tsdh <at> gnu.org> writes:
>
>>> thanks a lot for working on this. I tested the mentioned branch and
>>> indeed, it works flawlessly. As far as I can see now, no other
>>> regressions were introduced,
>>
>> That's good news. I give it some days of testing by others and then
>> I'll merge it into master. So hopefully it'll be fixed in GNU AUCTeX
>> 12.2.4.
>
> Ok, the branch is now merged into master and we'll be doing a new ELPA
> release in some days.
>
> I'm closing this report now. Thanks a lot for testing!
>
> Bye,
> Tassilo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 13 Jul 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.