GNU bug report logs -
#74009
14.0.6.2024-10-22_10:04:26; LaTeX-fill-environment does strange things when % is present
Previous Next
Full log
View this message in rfc822 format
Uwe Brauer <oub <at> mat.ucm.es> writes:
> 2. I receive lately a lot of latex files, with very very long lines
> (it seems that a lot of latex editor now support soft line
> wrapping), emacs still struggles I use virtual-auto-fill-mode
> from time to time but it is inferior than running auctex latex
> fill commands. So mostly I run LaTeX-fill-section on those files,
> and as this example indicates this can result in a sort of
> catastrophe since emacs becomes idle but is then silently filling
> the buffer with these
> %
> %
> lines.
AUCTeX shouldn't behave like this, so we should investigate why this
happens, but OTOH, AUCTeX isn't a text formatter for all sort of strange
code. Maybe you want to give latexindent[1] a try and see, if it does a
better job in your case.
Best, Arash
Footnotes:
[1] https://ctan.org/pkg/latexindent
This bug report was last modified 284 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.