GNU bug report logs - #48075
LaTeX-fill-paragraph and Comments with Long Equations

Previous Next

Package: auctex;

Reported by: Mitchell Riley <mvriley <at> wesleyan.edu>

Date: Wed, 28 Apr 2021 02:47:01 UTC

Severity: normal

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mitchell Riley <mvriley <at> wesleyan.edu>
To: bug-auctex <at> gnu.org
Subject: LaTeX-fill-paragraph and Comments with Long Equations
Date: Wed, 28 Apr 2021 12:33:43 +1000
[Message part 1 (text/plain, inline)]
Dear AUCTeX developers,

I am encountering an infinite loop when trying to fill buffers that contain
long commented out equations. The specific equation doesn't seem to matter,
for example, trying to fill a buffer with only the line
% $++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++$
or the line
% $\times \times \times \times \times \times \times \times \times \times
\times$
will cause Emacs to hang. Interrupting the filling with C-g shows that
thousands of empty comment lines are being added to the buffer. Filling
succeeds if the $s are removed, so there must be something specific to
equations going on.

I'm afraid I have no experience reading elisp code, so I don't have much
chance of figuring out the issue myself, sorry...

Mitchell
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.