From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60322: 30.0.50; [PATCH]: Search for comment at bol in prog-fill-reindent-defun Date: Thu, 29 Dec 2022 11:48:10 +0100 Message-ID: <87mt76wknp.fsf@thornhill.no> References: <87r0wn87yz.fsf@thornhill.no> <83k02a8tw4.fsf@gnu.org> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6819"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60322@debbugs.gnu.org To: Eli Zaretskii , Dmitry Gutov , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 29 11:49:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pAqTb-0001XK-6m for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Dec 2022 11:49:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAqTA-0003km-Vk; Thu, 29 Dec 2022 05:49:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAqT8-0003kV-W4 for bug-gnu-emacs@gnu.org; Thu, 29 Dec 2022 05:49:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAqT8-0001WR-MH for bug-gnu-emacs@gnu.org; Thu, 29 Dec 2022 05:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAqT8-0007bI-Cs for bug-gnu-emacs@gnu.org; Thu, 29 Dec 2022 05:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Dec 2022 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60322 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60322-submit@debbugs.gnu.org id=B60322.167231089429157 (code B ref 60322); Thu, 29 Dec 2022 10:49:02 +0000 Original-Received: (at 60322) by debbugs.gnu.org; 29 Dec 2022 10:48:14 +0000 Original-Received: from localhost ([127.0.0.1]:59370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAqSM-0007aB-GW for submit@debbugs.gnu.org; Thu, 29 Dec 2022 05:48:14 -0500 Original-Received: from out-50.mta0.migadu.com ([91.218.175.50]:39798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAqSK-0007Zr-8b for 60322@debbugs.gnu.org; Thu, 29 Dec 2022 05:48:12 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1672310891; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FM7JOBiLD+yGfqbH9RtWbbMxNto4XFHzgVqgxIi6ULQ=; b=1e0brt+4eciFPi7yFxmH8JZmsrUiOFtieC8ULGIT2Jw2C6t7+ADK3zxPWPb7Posp6H7Su8 Cj9e6n3PitZo9AZ5vrAjbIiD1vrxsD/+Pjl8a/XU3fjtgrHoti6HM+wyjg4v3UzlRPBmxH 2BV/Sd2TaEkgV2+96X0ZCVR7eb2RX7CJ5hqMucFGis/TVyhUcAeV4TOS7Gr/OdGSliCwwe TtxxOJp6G0z89Yn1WcTyhpDIp3gvZffyQWNWemU0VatGYJcLtF5BcqoH7ll1CDIn8hlRbg hLSLwXXwKwYffM4ZYPjmn705qN3aA6srwMFRjdoOvYDvM7Z3x4O55qqKW2sTeQ== In-Reply-To: <83k02a8tw4.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:252027 Archived-At: Eli Zaretskii writes: >> Date: Sun, 25 Dec 2022 22:54:44 +0100 >> From: Theodor Thornhill via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> Attached is a small adjustment to the regex used in >> prog-fill-reindent-defun. The point is that we shouldn't consider lines >> where comments come after actual code as inside a comment. > > Dmitry, Yuan, any comments? This is adressed in f9a22cf78d1a7f6472b09c3046c6a7f6984bc2d2, so This can be closed :-) Theo