From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Add lgrep/rgrep commands to Edit > Search submenu Date: Tue, 27 Jan 2009 01:52:09 +0200 Organization: JURTA Message-ID: <87ab9dll12.fsf@jurta.org> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233014570 24063 80.91.229.12 (27 Jan 2009 00:02:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 00:02:50 +0000 (UTC) Cc: Gilaras Drakeson , emacs-devel@gnu.org, "Kim F. Storm" To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 27 01:04:03 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 1LRbQb-0002Xc-9D for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2009 01:03:41 +0100 Original-Received: from localhost ([127.0.0.1]:44177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRbPJ-0004Uo-GI for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2009 19:02:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRbKl-0002HA-MT for emacs-devel@gnu.org; Mon, 26 Jan 2009 18:57:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRbKj-0002FE-4d for emacs-devel@gnu.org; Mon, 26 Jan 2009 18:57:38 -0500 Original-Received: from [199.232.76.173] (port=57071 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRbKi-0002Ev-Ap for emacs-devel@gnu.org; Mon, 26 Jan 2009 18:57:36 -0500 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]:64517) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRbKg-0002iN-JT for emacs-devel@gnu.org; Mon, 26 Jan 2009 18:57:35 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LRbKb-0008Wn-OG; Tue, 27 Jan 2009 01:57:30 +0200 In-Reply-To: <200901260042.n0Q0gnuI029772@rodan.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 25 Jan 2009 16:42:49 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 7ffaa6bc246e67c9b1a22e0c753f4a43 X-DrWeb-checked: yes X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) 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:108273 Archived-At: > > 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 M-g M-r M-e grep M-g M-r M-l lgrep M-g M-r M-r rgrep M-g M-r M-f grep-find All these key sequences are easy to type. -- Juri Linkov http://www.jurta.org/emacs/