From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#52815: Editable grep buffer Date: Wed, 29 Dec 2021 11:01:37 -0500 Message-ID: References: <-A0G14QC69c60rBlKL90_BCjTD4WA8Gza7BCXaipOmLvsf7QqahA3fccjk9a2S_nYrYklM9z93VykcczMHUPEjcz8WAf1Nrz_b59t5GPEzA=@protonmail.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35270"; mail-complaints-to="usenet@ciao.gmane.io" Cc: laszlomail@protonmail.com, 52815@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 29 17:02:12 2021 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 1n2bP2-00090q-5m for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 17:02:12 +0100 Original-Received: from localhost ([::1]:59108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2bP0-0006h4-C1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 11:02:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2bOs-0006gq-8P for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 11:02:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2bOr-0002aE-Tj for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 11:02:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2bOr-0004t5-R2 for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 11:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Dec 2021 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52815 X-GNU-PR-Package: emacs Original-Received: via spool by 52815-submit@debbugs.gnu.org id=B52815.164079370818106 (code B ref 52815); Wed, 29 Dec 2021 16:02:01 +0000 Original-Received: (at 52815) by debbugs.gnu.org; 29 Dec 2021 16:01:48 +0000 Original-Received: from localhost ([127.0.0.1]:50032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2bOd-0004hh-Ml for submit@debbugs.gnu.org; Wed, 29 Dec 2021 11:01:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2bOZ-0004aT-3W for 52815@debbugs.gnu.org; Wed, 29 Dec 2021 11:01:46 -0500 Original-Received: from [2001:470:142:3::e] (port=43344 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2bOT-0002YS-AE; Wed, 29 Dec 2021 11:01:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=va9VCgbbIrdD3H14frba+n7miDFkzZ220vNIH5cahrQ=; b=mLM5o9CaMeKP pul15BixpVkwGngM07sX5azFJ6xuPr+dbJ7H4la8dC8JTNnVnvNxdwWnHk0gZq4F6PuKjYAjGaLh3 NdeQIN8+gBeXJt4dtWk1AYdYGmN8rrkOTnrOBTV1p3yZC9ng+HEM6YtXattklAXFYbiiqzksJXkJa xQ7aegXMW8zZSTF5HMMssBH2vp3ozZ3X5eGjeuq5PyCwpcorAsRSW2S4bxIfE3g4+c6EZZQMb12ME 7TJm9DB5ytJ1H/b7IPzn6BsYnlCR+qHOb/nfP0PMvb4hyXNmflgF6o3r4O+4UmwGaAh8u+FEL/+1S YvIKFifOw3Fmoultb6PDIg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1n2bOT-0002Mc-HD; Wed, 29 Dec 2021 11:01:37 -0500 In-Reply-To: (message from Stefan Kangas on Tue, 28 Dec 2021 16:29:20 -0800) 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" Xref: news.gmane.io gmane.emacs.bugs:223350 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Commands which produce a *grep* buffer (grep, grep-find) should allow > > the user to edit the results and apply them to the original locations > > like Occur does. I can see two meanings for "the original locations" -- does it mean the locations stated in the edited grep output, or does it mean the locations that _were_ stated in the original grep output (before editing it)? If it is the former, then can't you do this with C-u C-x ` ? I just tried it and it worked. C-u C-x ` reparses the error locations in the buffer. Actually editing the text in the Grep mode buffer is a nuisance, since many self-inserting characters do unusual things. But that is a different issue. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)