From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Doing search and replace via *grep* buffer Date: Thu, 11 Oct 2007 09:12:56 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1192119335 4076 80.91.229.12 (11 Oct 2007 16:15:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2007 16:15:35 +0000 (UTC) To: =?iso-8859-1?Q?Ren=E9_Kyllingstad?= , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 11 18:15:34 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ig0gj-00051h-7v for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2007 18:15:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ig0gd-0001Se-5A for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2007 12:14:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ig0gP-0001NP-VP for emacs-devel@gnu.org; Thu, 11 Oct 2007 12:14:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ig0gO-0001Mc-7I for emacs-devel@gnu.org; Thu, 11 Oct 2007 12:14:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ig0gN-0001MO-Nb for emacs-devel@gnu.org; Thu, 11 Oct 2007 12:14:43 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ig0gM-00017T-OG for emacs-devel@gnu.org; Thu, 11 Oct 2007 12:14:43 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l9BGEZw3023168; Thu, 11 Oct 2007 11:14:36 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id l9ADptpE026883; Thu, 11 Oct 2007 10:14:35 -0600 Original-Received: from dhcp-4op11-4op12-west-130-35-178-158.us.oracle.com by acsmt351.oracle.com with ESMTP id 3284991021192119171; Thu, 11 Oct 2007 09:12:51 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-reply-to: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80630 Archived-At: > in February Kim posted a patch to allow doing search and replace via the > *grep* buffer. I think that would be a great feature to have inluded in > Emacs. David and Stefan suggested other ways of implementing same, but > there was the pending release to focus on. > > Anyone in the mood for it now? It would be sweet. See also the thread "be able to replace during isearch" at the beginning of July 2007. The idea is to replace particular search hits on demand, during isearch. This is quite different from a query-replace approach, where you are asked about each hit. You just hit a key if you want to replace the current hit. A different key would let you redefine the replacement string.