From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Add lgrep/rgrep commands to Edit > Search submenu Date: Tue, 27 Jan 2009 18:40:37 +0100 Message-ID: <87k58godey.fsf@kfs-lx.rd.rdm> References: <87y6x0ph4x.fsf@kfs-lx.rd.rdm> <86ljszky0l.fsf@susa.i-did-not-set--mail-host-address--so-tickle-me> <8763k39hxb.fsf@jurta.org> <87y6wzngq9.fsf@kfs-lx.rd.rdm> <200901260042.n0Q0gnuI029772@rodan.ics.uci.edu> <87ab9dll12.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233078867 14580 80.91.229.12 (27 Jan 2009 17:54:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 17:54:27 +0000 (UTC) Cc: Gilaras Drakeson , Dan Nicolaescu , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 27 18:55:39 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 1LRs9v-0002vM-PX for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2009 18:55:36 +0100 Original-Received: from localhost ([127.0.0.1]:52662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRs8d-0003Bl-4F for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2009 12:54:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRrvm-0005K7-L0 for emacs-devel@gnu.org; Tue, 27 Jan 2009 12:40:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRrvk-0005Hy-TO for emacs-devel@gnu.org; Tue, 27 Jan 2009 12:40:57 -0500 Original-Received: from [199.232.76.173] (port=51497 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRrvk-0005Hg-Iq for emacs-devel@gnu.org; Tue, 27 Jan 2009 12:40:56 -0500 Original-Received: from mail1-hoer.fullrate.dk ([90.185.1.42]:49767 helo=smtp.fullrate.dk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRrvk-0001gl-6z for emacs-devel@gnu.org; Tue, 27 Jan 2009 12:40:56 -0500 Original-Received: from kfs-lx.rd.rdm.cua.dk (unknown [90.184.173.152]) by smtp.fullrate.dk (Postfix) with SMTP id 1D00C9D04B; Tue, 27 Jan 2009 18:40:37 +0100 (CET) In-Reply-To: <87ab9dll12.fsf@jurta.org> (Juri Linkov's message of "Tue, 27 Jan 2009 01:52:09 +0200") 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:108301 Archived-At: Juri Linkov writes: >> > Nice idea: >> > >> > M-g l => lgrep >> > M-g r => rgrep >> >> These are nice >> >> > M-g f -> grep-find >> > M-g e -> grep >> >> But these don't seem very useful for most users given the 2 above, if >> the user really really knows he wants to use these, they know how to do >> their own bindings. And we don't want to spend to use too many key >> bindings for "grep" related things, there might be other useful things >> to bind. > > I agree, we should keep more key prefixes for other useful things. > So we can use only one prefix `M-g r' for all grep commands: > > M-g r e grep > M-g r l lgrep > M-g r r rgrep > M-g r f grep-find Those are only marginally shorter than M-x gr RET, M-x lg RET, M-x rg RET I think we should leave this alone .... Users can bind them as they like. -- Kim F. Storm http://www.cua.dk