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#59888: [PATCH] Add 'grep-use-headings' Date: Fri, 09 Dec 2022 21:36:28 +0200 Message-ID: <837cz0z7wj.fsf@gnu.org> References: <87v8mndrla.fsf@gmail.com> <87ilime025.fsf@gmail.com> <86359pm55x.fsf@mail.linkov.net> <87o7scdb45.fsf_-_@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7050"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefankangas@gmail.com, 59888@debbugs.gnu.org, juri@linkov.net To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 09 20:37:26 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 1p3jBW-0001bl-M6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Dec 2022 20:37:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3jBA-0000cC-Jc; Fri, 09 Dec 2022 14:37: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 1p3jB8-0000by-Sv for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:37: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 1p3jB8-0000WC-Dc for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3jB8-0002KZ-8s for bug-gnu-emacs@gnu.org; Fri, 09 Dec 2022 14:37: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: Fri, 09 Dec 2022 19:37: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.16706146048947 (code B ref 59888); Fri, 09 Dec 2022 19:37:02 +0000 Original-Received: (at 59888) by debbugs.gnu.org; 9 Dec 2022 19:36:44 +0000 Original-Received: from localhost ([127.0.0.1]:38030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3jAq-0002KF-Co for submit@debbugs.gnu.org; Fri, 09 Dec 2022 14:36:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3jAo-0002K2-AS for 59888@debbugs.gnu.org; Fri, 09 Dec 2022 14:36:42 -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 1p3jAi-0000DC-8y; Fri, 09 Dec 2022 14:36:36 -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=iLEl6QEcd4CxVxmGmlQaTtdiokb6AavUHERVQdVejbI=; b=owlk5lCXMWbj qHGoTmZ0uMi37poPD7FzIkk5p0/1nb5sW2nLFENsIg/nn2BCyOEUVMfLGbB+sZBjac1t24n9NBGa/ MMMwOt86BT4mF4WjRMozzUdAnuIwXp39bxbvfyuQE1R1f4ZCGjbx455ZZQRkTESUOWBxaet3cXCya /TPX4sTekxuCuSFSAJwbLlv7Tsc8l2crLiMOzpqZt++3SaecCu8KafoZSTOwcb4ABFPntcAvBQbOa TSS9v9whsh2hu2MdOVt7zUDN5bQP3LvpPoLEBYuCJwnNApoT0vuAErC/53co5qJWjTo5MRYo9pWSQ zE90pBPvu+zdIeB1fmcqjA==; 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 1p3jAh-00031U-GT; Fri, 09 Dec 2022 14:36:35 -0500 In-Reply-To: <87o7scdb45.fsf_-_@gmail.com> (message from Augusto Stoffel on Fri, 09 Dec 2022 13:18:02 +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:250438 Archived-At: > From: Augusto Stoffel > Cc: Stefan Kangas , 59888@debbugs.gnu.org, Eli > Zaretskii , Lars Ingebrigtsen > Date: Fri, 09 Dec 2022 13:18:02 +0100 > > As discussed before, I introduced a text property so that one can tell > without guessing which parts of the compilation buffer are not coming > from the external process. This seems to supersede the > 'compilation-header-end' property introduced by Lars in commit > 07f748da43, so I replaced its uses by the new 'compilation-aside' > property. I could easily revert that, but it seemed reasonable to > uniformize things in this case. Thanks, but please find a better name for this property. Something like compilation-meta-data, perhaps? > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -41,6 +41,14 @@ connection. > > * Changes in Specialized Modes and Packages in Emacs 30.1 > > +** Compile > + > +*** New user option 'grep-use-headings'. > +When non-nil, the grep output is split into sections, one for each ^^^^ "Grep", capitalized. Or maybe even "the output of Grep". > +file, instead of having file names prefixed to each line. It is > +equivalent to the --heading option of some tools such as 'git grep' > +and 'rg. ^^^ 'rg'