tags notabug
close 80743 14.2.0
thanks

Todor Tsankov via bug-auctex via Bug reporting list for AUCTeX 
<[email protected]> writes:

> The style/expl3.el style file changes the syntax class of the symbols _
> and : (underscore and colon) to "w". This style file ends up loaded in
> regular documents (via, for example, hooks in fontspec.el and unicode-
> math.el), where underscore is used to typeset subscripts, and this has a
> number of undesirable effects. To mention just two that caused me to
> discover the bug: it breaks fontification in prettify-symbols-mode and
> forward-word and backward-word do not work as expected.

Thanks for reporting this.  This issue is already fixed in AUCTeX
sources with commit 0deabcab and will be available with the next
release.

> Perhaps it is possible to create a special major mode for LaTeX
> programming, where fontification needs are different from these in a
> regular document, and use it by default in sty files.

We have `docTeX-mode' for this purpose.

> In a regular document, one could switch it on temporarily in
> ExplSyntaxOn/ExplSyntaxOff, makeatletter/makeatother code blocks, like
> in org-mode.

That would be a good thing in general, hopefully Someoneā„¢ steps forward
and submit patches for it.

> Thank you for maintaining AucTeX.

You're welcome.

I'm closing this report.

Best, Arash

Footnotes:
[1]  
https://cgit.git.savannah.gnu.org/cgit/auctex.git/commit/?id=0deabcab40a726464ba17b8ff1b3e9717f6d6dda



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex
  • bug#80743: ... Todor Tsankov via bug-auctex via Bug reporting list for AUCTeX
    • bug#80... Arash Esbati

Reply via email to