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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48075 in the body.
You can then email your comments to 48075 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#48075; Package auctex. (Wed, 28 Apr 2021 02:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mitchell Riley <mvriley <at> wesleyan.edu>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Wed, 28 Apr 2021 02:47:02 GMT) Full text and rfc822 format available.

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)]

Information forwarded to bug-auctex <at> gnu.org:
bug#48075; Package auctex. (Wed, 28 Apr 2021 05:20:02 GMT) Full text and rfc822 format available.

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

From: Tassilo Horn <tsdh <at> gnu.org>
To: Mitchell Riley <mvriley <at> wesleyan.edu>
Cc: bug-auctex <at> gnu.org, 48075-done <at> debbugs.gnu.org
Subject: Re: bug#48075: LaTeX-fill-paragraph and Comments with Long Equations
Date: Wed, 28 Apr 2021 07:17:28 +0200
Mitchell Riley <mvriley <at> wesleyan.edu> writes:

Hi Mitchell,

> I am encountering an infinite loop when trying to fill buffers that
> contain long commented out equations.

Thanks for the report.  That issue has already been reported to the
auctex-devel mailinglist yesterday.  I've pushed a fix and made a new
ELPA release version 13.0.10.

Bye,
Tassilo




Reply sent to Tassilo Horn <tsdh <at> gnu.org>:
You have taken responsibility. (Wed, 28 Apr 2021 05:20:02 GMT) Full text and rfc822 format available.

Notification sent to Mitchell Riley <mvriley <at> wesleyan.edu>:
bug acknowledged by developer. (Wed, 28 Apr 2021 05:20: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. (Wed, 26 May 2021 11:24:06 GMT) Full text and rfc822 format available.

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.