From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Add lgrep/rgrep commands to Edit > Search submenu Date: Sun, 25 Jan 2009 20:54:36 -0500 Message-ID: References: <87y6x0ph4x.fsf@kfs-lx.rd.rdm> <87skn7w85h.fsf@cyd.mit.edu> <87bptvp4wk.fsf@kfs-lx.rd.rdm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232934892 9808 80.91.229.12 (26 Jan 2009 01:54:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 01:54:52 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: storm@cua.dk (Kim F. Storm) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 26 02:56:05 2009 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 1LRGho-00033Y-Iy for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2009 02:56:04 +0100 Original-Received: from localhost ([127.0.0.1]:52032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRGgW-0008WH-R2 for ged-emacs-devel@m.gmane.org; Sun, 25 Jan 2009 20:54:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRGgS-0008VN-9v for emacs-devel@gnu.org; Sun, 25 Jan 2009 20:54:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRGgQ-0008VB-Ar for emacs-devel@gnu.org; Sun, 25 Jan 2009 20:54:39 -0500 Original-Received: from [199.232.76.173] (port=58489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRGgQ-0008V8-6p for emacs-devel@gnu.org; Sun, 25 Jan 2009 20:54:38 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:35681 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRGgP-0007Dx-VW for emacs-devel@gnu.org; Sun, 25 Jan 2009 20:54:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtYFAA+mfEnO+LLC/2dsb2JhbACBbcZxhUuCIg X-IronPort-AV: E=Sophos;i="4.37,323,1231131600"; d="scan'208";a="32812141" Original-Received: from 206-248-178-194.dsl.teksavvy.com (HELO pastel.home) ([206.248.178.194]) by ironport2-out.teksavvy.com with ESMTP; 25 Jan 2009 20:54:36 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 93AE58040; Sun, 25 Jan 2009 20:54:36 -0500 (EST) In-Reply-To: <87bptvp4wk.fsf@kfs-lx.rd.rdm> (Kim F. Storm's message of "Sun, 25 Jan 2009 20:22:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:108244 Archived-At: > I find lgrep / rgrep rather useful as an editing tool -- but perhaps > that is because I have the "replace grep match" add-on which I find is > one of the most efficient extensions to Emacs (it was rejected last time > I proposed this - so I'm not going to propose it again). I can't remember seeing it discussed, but it looks pretty neat. I don't use lgrep/rgrep myself, but it looks like it'll work with `grep' just fine, which I do use regularly. Being in feature freeze, we're not going to integrate it now, and we may want to tweak the UI a bit, but I like the idea. It's a bit inconvenient that it relies on GNU grep's match-highlight, and I wonder what happens with other grep implementations. Stefan PS: a related functionality would be all.el's ability to edit the *grep* buffer and have the modifications be immediately reflected in the corresponding buffers.