From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 13:12:26 +0200 Message-ID: <83cz828nvp.fsf@gnu.org> References: <87r0wn87yz.fsf@thornhill.no> <83k02a8tw4.fsf@gnu.org> <87mt76wknp.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21258"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, 60322-done@debbugs.gnu.org, dgutov@yandex.ru To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 29 12:34:19 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 1pArAx-0005Ex-B5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Dec 2022 12:34:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pArAi-000846-72; Thu, 29 Dec 2022 06:34:04 -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 1pArAh-00083J-6W for bug-gnu-emacs@gnu.org; Thu, 29 Dec 2022 06:34: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 1pArAg-0002gk-Up for bug-gnu-emacs@gnu.org; Thu, 29 Dec 2022 06:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAqqM-00089S-3O for bug-gnu-emacs@gnu.org; Thu, 29 Dec 2022 06:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Dec 2022 11:13: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-done@debbugs.gnu.org id=D60322.167231234331287 (code D ref 60322); Thu, 29 Dec 2022 11:13:02 +0000 Original-Received: (at 60322-done) by debbugs.gnu.org; 29 Dec 2022 11:12:23 +0000 Original-Received: from localhost ([127.0.0.1]:59382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAqpj-00088Z-7v for submit@debbugs.gnu.org; Thu, 29 Dec 2022 06:12:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAqph-00088K-ND for 60322-done@debbugs.gnu.org; Thu, 29 Dec 2022 06:12:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAqpb-0002ET-F5; Thu, 29 Dec 2022 06:12:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lM8aDNxNQGP0zKHdTauIO+AMle4Hf6lPZV62gtG43vo=; b=S0Zo054BSGfY 0fA2VwYBlbXDC0xzufZNI58SuwyaxScQvio7tqwG5yeb3NnzaFwo7kQ8slr2vSIm1BrwVerwWibt9 8a1sQ5or9uZ8Rwu1dZ0ieI+yddMZ+fK2Fvu53hCNwGfzytTy8LVREixIrXvtPDAyPpcBEgSCxBPwj 5Y/ONFVvHQsmOxT9rxc8TN/Q83efE3QGXdEWNsfbVTgAdlRJxVr2wGx0xA0oG2qs3wuvXfrQNp6xh 5K9+cNNzuwzAJSwVNYSk6CiGcjXkGc3lcoDkyOi+WOjApF0cKnqOslBb7Vi/B0hAF8HQ7DwfaX/PW 4jghoot1n/28J5bnIwmQtg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAqpb-0003zl-3y; Thu, 29 Dec 2022 06:12:15 -0500 In-Reply-To: <87mt76wknp.fsf@thornhill.no> (message from Theodor Thornhill on Thu, 29 Dec 2022 11:48:10 +0100) 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:252029 Archived-At: > From: Theodor Thornhill > Cc: 60322@debbugs.gnu.org > Date: Thu, 29 Dec 2022 11:48:10 +0100 > > 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 :-) Thanks, done.