From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#59888: [PATCH] Add 'grep-use-headings' Date: Mon, 27 Feb 2023 20:53:44 +0200 Organization: LINKOV.NET Message-ID: <86y1oj9byf.fsf@mail.linkov.net> References: <87v8mndrla.fsf@gmail.com> <87ilime025.fsf@gmail.com> <86359pm55x.fsf@mail.linkov.net> <87o7scdb45.fsf_-_@gmail.com> <837cz0z7wj.fsf@gnu.org> <87k0301h16.fsf@gmail.com> <831qp8z5gp.fsf@gnu.org> <87sfhn3tui.fsf@gmail.com> <83wn6zui9n.fsf@gnu.org> <87ilii41p9.fsf@gmail.com> <867cytgk0k.fsf@mail.linkov.net> <871qme5ej3.fsf@gmail.com> <87cz5w7ehu.fsf@gmail.com> <87pm9wcvoe.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6495"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: Robert Pluim , Eli Zaretskii , 59888@debbugs.gnu.org, stefankangas@gmail.com To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 27 19:55:23 2023 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 1pWieh-0001aL-18 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Feb 2023 19:55:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWieQ-0003ho-Ci; Mon, 27 Feb 2023 13:55:06 -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 1pWieN-0003gv-0m for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 13:55: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 1pWieM-0000Sa-P0 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 13:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWieM-0003GK-9d for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 13:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2023 18:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59888 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 59888-submit@debbugs.gnu.org id=B59888.167752406112479 (code B ref 59888); Mon, 27 Feb 2023 18:55:02 +0000 Original-Received: (at 59888) by debbugs.gnu.org; 27 Feb 2023 18:54:21 +0000 Original-Received: from localhost ([127.0.0.1]:48794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWidh-0003FD-7F for submit@debbugs.gnu.org; Mon, 27 Feb 2023 13:54:21 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:57021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWidd-0003Ew-DU for 59888@debbugs.gnu.org; Mon, 27 Feb 2023 13:54:19 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id EB76520008; Mon, 27 Feb 2023 18:54:06 +0000 (UTC) In-Reply-To: <87pm9wcvoe.fsf@gmail.com> (Augusto Stoffel's message of "Sun, 26 Feb 2023 16:07:13 +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:256898 Archived-At: >> Thatʼs the same as (goto-char (pos-bol)) because of a wrinkle in the >> implementation of `forward-line'. It might even be faster, but Iʼve >> not measured it :-) > > Ugh, that was an anachronism. It will be fixed when I send the final > patch. I tried out your patch, and everything works nicely. So I guess it could be pushed when you send the final version.