From unknown Sat Aug 09 05:05:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48075: LaTeX-fill-paragraph and Comments with Long Equations Resent-From: Mitchell Riley Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Wed, 28 Apr 2021 02:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48075 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 48075@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161957799530280 (code B ref -1); Wed, 28 Apr 2021 02:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2021 02:46:35 +0000 Received: from localhost ([127.0.0.1]:51400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbaDi-0007sK-Ok for submit@debbugs.gnu.org; Tue, 27 Apr 2021 22:46:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:52084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lba1h-0007WV-78 for submit@debbugs.gnu.org; Tue, 27 Apr 2021 22:34:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lba1g-0004k8-TM for bug-auctex@gnu.org; Tue, 27 Apr 2021 22:34:09 -0400 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:39699) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lba1f-0006cD-0G for bug-auctex@gnu.org; Tue, 27 Apr 2021 22:34:08 -0400 Received: by mail-io1-xd35.google.com with SMTP id k25so18617480iob.6 for ; Tue, 27 Apr 2021 19:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wesleyan.edu; s=wesgmail; h=mime-version:from:date:message-id:subject:to; bh=Y4kFUkkt3rMdminW80mHPaGOIqH8YqQ3SnG5nWpkCYw=; b=kKcichpNXY95HeThxK8nbOZtgfA//AtCkgGWN5aAzUPdRXu+XoqyitaFr3L7ouWyRl Fm7G/B/U9kq3IJjIRZKiGzWliAepgvOQV67BE5NkHyfs7gDGpSrKjQJQjGZJLwSIRd69 XntZ5xyZPXU6ZVo2YdzzcB5gpQzkaWighjRNo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Y4kFUkkt3rMdminW80mHPaGOIqH8YqQ3SnG5nWpkCYw=; b=Y8bZ/HuFKHCUgepd1qvgbIfHr91YjLqi7PZA4aFo+gsMC/6cYQGT8wgcEm1cIhThk4 RjqQa3x7FvgJ6YuyshrbzfHwoi+ydxl/aibX5TZ+Podjmg9NHPcoZqzbFvFOYHFdafzZ lOnV3ydlZFLvg2IPBzVxQSmsh5vturVp4hkVJG3N9KkXi9nO6FUgkZXrvKxPIymcgQu4 Xv/Jy+Pbrl42r5RhnhRJWFMS2FiroFwtx7x5XA1F3mEZ3Ps66H4C/wHaNzoPUlO88LfT gQCbwWU2E1U8B19tG/hBYGZlQhboRBdzuHRIXTHFsocA2mjJi31Y865cixfL9fqKwXxh mHRA== X-Gm-Message-State: AOAM532Ebt4ftgRy4DpuUOjFGx5TWtwjXsKnbFYzYvu92w6uZRrHg0wA 3OCyj2c9wPdXN24IkmveBzEo2PiV7fslCA== X-Google-Smtp-Source: ABdhPJzBeCQiPMzQvhauNxnVix363NKak6j/8IyBxflVF5xdobYPuPobJDuXyqvmuJF+7CTMxtFx1g== X-Received: by 2002:a05:6638:14c:: with SMTP id y12mr24859258jao.63.1619577236110; Tue, 27 Apr 2021 19:33:56 -0700 (PDT) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com. [209.85.166.50]) by smtp.gmail.com with ESMTPSA id o13sm2130698ilf.3.2021.04.27.19.33.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Apr 2021 19:33:55 -0700 (PDT) Received: by mail-io1-f50.google.com with SMTP id l21so18428346iob.1 for ; Tue, 27 Apr 2021 19:33:55 -0700 (PDT) X-Received: by 2002:a5d:8d12:: with SMTP id p18mr22612045ioj.31.1619577235028; Tue, 27 Apr 2021 19:33:55 -0700 (PDT) MIME-Version: 1.0 From: Mitchell Riley Date: Wed, 28 Apr 2021 12:33:43 +1000 X-Gmail-Original-Message-ID: Message-ID: Content-Type: multipart/alternative; boundary="000000000000c7bdc705c0ff3538" Received-SPF: pass client-ip=2607:f8b0:4864:20::d35; envelope-from=mvriley@wesleyan.edu; helo=mail-io1-xd35.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Mailman-Approved-At: Tue, 27 Apr 2021 22:46:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --000000000000c7bdc705c0ff3538 Content-Type: text/plain; charset="UTF-8" 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 --000000000000c7bdc705c0ff3538 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear AUCTeX developers,

I am encounteri= ng an infinite loop when trying to fill buffers that contain long commented= out equations. The specific equation doesn't seem to matter, for examp= le, 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
--000000000000c7bdc705c0ff3538-- From unknown Sat Aug 09 05:05:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48075: LaTeX-fill-paragraph and Comments with Long Equations Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Wed, 28 Apr 2021 05:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48075 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Mitchell Riley Cc: 48075@debbugs.gnu.org, 48075-done@debbugs.gnu.org X-Debbugs-Original-Cc: bug-auctex@gnu.org, 48075-done@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161958717713054 (code B ref -1); Wed, 28 Apr 2021 05:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2021 05:19:37 +0000 Received: from localhost ([127.0.0.1]:51508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbcbp-0003OU-8l for submit@debbugs.gnu.org; Wed, 28 Apr 2021 01:19:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:60422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbcbn-0003OK-D6 for submit@debbugs.gnu.org; Wed, 28 Apr 2021 01:19:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbcbn-000895-7Y for bug-auctex@gnu.org; Wed, 28 Apr 2021 01:19:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38177) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbcbm-0001XE-Rn; Wed, 28 Apr 2021 01:19:34 -0400 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:58985) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lbcbm-00026w-EB; Wed, 28 Apr 2021 01:19:34 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id 107F727C0054; Wed, 28 Apr 2021 01:19:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 28 Apr 2021 01:19:34 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvuddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepve evieekteekveeigfefffeivdetgeduvdffueeuudevgedttdehvdfhueevfffhnecukfhp peekjedrudeifedrfedurdduheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghl ihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfh grshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from thinkpad-t440p (p57a31f9a.dip0.t-ipconnect.de [87.163.31.154]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Apr 2021 01:19:33 -0400 (EDT) References: User-agent: mu4e 1.5.12; emacs 28.0.50 From: Tassilo Horn Date: Wed, 28 Apr 2021 07:17:28 +0200 In-reply-to: Message-ID: <87fszbdlzw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Mitchell Riley 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 From unknown Sat Aug 09 05:05:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mitchell Riley Subject: bug#48075: closed (Re: bug#48075: LaTeX-fill-paragraph and Comments with Long Equations) Message-ID: References: <87fszbdlzw.fsf@gnu.org> X-Gnu-PR-Message: they-closed 48075 X-Gnu-PR-Package: auctex Reply-To: 48075@debbugs.gnu.org Date: Wed, 28 Apr 2021 05:20:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1619587202-13114-1" This is a multi-part message in MIME format... ------------=_1619587202-13114-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48075: LaTeX-fill-paragraph and Comments with Long Equations which was filed against the auctex package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48075@debbugs.gnu.org. --=20 48075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48075 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1619587202-13114-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48075-done) by debbugs.gnu.org; 28 Apr 2021 05:19:41 +0000 Received: from localhost ([127.0.0.1]:51511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbcbt-0003Ok-FW for submit@debbugs.gnu.org; Wed, 28 Apr 2021 01:19:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbcbs-0003OI-57 for 48075-done@debbugs.gnu.org; Wed, 28 Apr 2021 01:19:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38177) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbcbm-0001XE-Rn; Wed, 28 Apr 2021 01:19:34 -0400 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:58985) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lbcbm-00026w-EB; Wed, 28 Apr 2021 01:19:34 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id 107F727C0054; Wed, 28 Apr 2021 01:19:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 28 Apr 2021 01:19:34 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvuddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepve evieekteekveeigfefffeivdetgeduvdffueeuudevgedttdehvdfhueevfffhnecukfhp peekjedrudeifedrfedurdduheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghl ihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfh grshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from thinkpad-t440p (p57a31f9a.dip0.t-ipconnect.de [87.163.31.154]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Apr 2021 01:19:33 -0400 (EDT) References: User-agent: mu4e 1.5.12; emacs 28.0.50 From: Tassilo Horn To: Mitchell Riley Subject: Re: bug#48075: LaTeX-fill-paragraph and Comments with Long Equations Date: Wed, 28 Apr 2021 07:17:28 +0200 In-reply-to: Message-ID: <87fszbdlzw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48075-done Cc: bug-auctex@gnu.org, 48075-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Mitchell Riley 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 ------------=_1619587202-13114-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Apr 2021 02:46:35 +0000 Received: from localhost ([127.0.0.1]:51400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbaDi-0007sK-Ok for submit@debbugs.gnu.org; Tue, 27 Apr 2021 22:46:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:52084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lba1h-0007WV-78 for submit@debbugs.gnu.org; Tue, 27 Apr 2021 22:34:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lba1g-0004k8-TM for bug-auctex@gnu.org; Tue, 27 Apr 2021 22:34:09 -0400 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:39699) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lba1f-0006cD-0G for bug-auctex@gnu.org; Tue, 27 Apr 2021 22:34:08 -0400 Received: by mail-io1-xd35.google.com with SMTP id k25so18617480iob.6 for ; Tue, 27 Apr 2021 19:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wesleyan.edu; s=wesgmail; h=mime-version:from:date:message-id:subject:to; bh=Y4kFUkkt3rMdminW80mHPaGOIqH8YqQ3SnG5nWpkCYw=; b=kKcichpNXY95HeThxK8nbOZtgfA//AtCkgGWN5aAzUPdRXu+XoqyitaFr3L7ouWyRl Fm7G/B/U9kq3IJjIRZKiGzWliAepgvOQV67BE5NkHyfs7gDGpSrKjQJQjGZJLwSIRd69 XntZ5xyZPXU6ZVo2YdzzcB5gpQzkaWighjRNo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Y4kFUkkt3rMdminW80mHPaGOIqH8YqQ3SnG5nWpkCYw=; b=Y8bZ/HuFKHCUgepd1qvgbIfHr91YjLqi7PZA4aFo+gsMC/6cYQGT8wgcEm1cIhThk4 RjqQa3x7FvgJ6YuyshrbzfHwoi+ydxl/aibX5TZ+Podjmg9NHPcoZqzbFvFOYHFdafzZ lOnV3ydlZFLvg2IPBzVxQSmsh5vturVp4hkVJG3N9KkXi9nO6FUgkZXrvKxPIymcgQu4 Xv/Jy+Pbrl42r5RhnhRJWFMS2FiroFwtx7x5XA1F3mEZ3Ps66H4C/wHaNzoPUlO88LfT gQCbwWU2E1U8B19tG/hBYGZlQhboRBdzuHRIXTHFsocA2mjJi31Y865cixfL9fqKwXxh mHRA== X-Gm-Message-State: AOAM532Ebt4ftgRy4DpuUOjFGx5TWtwjXsKnbFYzYvu92w6uZRrHg0wA 3OCyj2c9wPdXN24IkmveBzEo2PiV7fslCA== X-Google-Smtp-Source: ABdhPJzBeCQiPMzQvhauNxnVix363NKak6j/8IyBxflVF5xdobYPuPobJDuXyqvmuJF+7CTMxtFx1g== X-Received: by 2002:a05:6638:14c:: with SMTP id y12mr24859258jao.63.1619577236110; Tue, 27 Apr 2021 19:33:56 -0700 (PDT) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com. [209.85.166.50]) by smtp.gmail.com with ESMTPSA id o13sm2130698ilf.3.2021.04.27.19.33.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Apr 2021 19:33:55 -0700 (PDT) Received: by mail-io1-f50.google.com with SMTP id l21so18428346iob.1 for ; Tue, 27 Apr 2021 19:33:55 -0700 (PDT) X-Received: by 2002:a5d:8d12:: with SMTP id p18mr22612045ioj.31.1619577235028; Tue, 27 Apr 2021 19:33:55 -0700 (PDT) MIME-Version: 1.0 From: Mitchell Riley Date: Wed, 28 Apr 2021 12:33:43 +1000 X-Gmail-Original-Message-ID: Message-ID: Subject: LaTeX-fill-paragraph and Comments with Long Equations To: bug-auctex@gnu.org Content-Type: multipart/alternative; boundary="000000000000c7bdc705c0ff3538" Received-SPF: pass client-ip=2607:f8b0:4864:20::d35; envelope-from=mvriley@wesleyan.edu; helo=mail-io1-xd35.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 27 Apr 2021 22:46:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --000000000000c7bdc705c0ff3538 Content-Type: text/plain; charset="UTF-8" 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 --000000000000c7bdc705c0ff3538 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear AUCTeX developers,

I am encounteri= ng an infinite loop when trying to fill buffers that contain long commented= out equations. The specific equation doesn't seem to matter, for examp= le, 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
--000000000000c7bdc705c0ff3538-- ------------=_1619587202-13114-1--