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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#48075: closed (LaTeX-fill-paragraph and Comments with Long
 Equations)
Date: Wed, 28 Apr 2021 05:20:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 28 Apr 2021 07:17:28 +0200
with message-id <87fszbdlzw.fsf <at> gnu.org>
and subject line Re: bug#48075: LaTeX-fill-paragraph and Comments with Long Equations
has caused the debbugs.gnu.org bug report #48075,
regarding LaTeX-fill-paragraph and Comments with Long Equations
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
48075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48075
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
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


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.