From unknown Thu Jun 19 14:07:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48075 <48075@debbugs.gnu.org> To: bug#48075 <48075@debbugs.gnu.org> Subject: Status: LaTeX-fill-paragraph and Comments with Long Equations Reply-To: bug#48075 <48075@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:07:23 +0000 retitle 48075 LaTeX-fill-paragraph and Comments with Long Equations reassign 48075 auctex submitter 48075 Mitchell Riley severity 48075 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 22:46:35 2021 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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 28 01:19:37 2021 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 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: submit 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 From unknown Thu Jun 19 14:07:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 26 May 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator