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: Grep key bindings Date: Thu, 3 Jul 2008 09:59:19 -0700 Message-ID: <00f801c8dd2e$227fe3e0$c2b22382@us.oracle.com> References: <4853F884.7000609@gmail.com><7dbe73ed0806141442h342f8ff0u83863f3980a7e229@mail.gmail.com> <48545D78.8080103@gmail.com> <4854E536.8040407@gmail.com><87k5gql900.fsf@jurta.org> <878wwp1an8.fsf@jurta.org> <871w2gi58m.fsf@jurta.org> <87d4m0c9md.fsf@jurta.org> <87wsk89byj.fsf@jurta.org> <87bq1ihey5.fsf@jurta.org><878wwlpa0e.fsf_-_@jurta.org> <87bq1h1dqg.fsf@catnip.gol.com><87iqvpnucx.fsf@jurta.org> <8763rp1chc.fsf@catnip.gol.com> <87abgzyo4z.fsf@shellarchive.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215104503 9500 80.91.229.12 (3 Jul 2008 17:01:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 17:01:43 +0000 (UTC) Cc: 'Juri Linkov' , emacs-devel@gnu.org To: "'Phil Jackson'" , "'Miles Bader'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 03 19:02:29 2008 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 1KESCS-0006he-8d for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 19:02:28 +0200 Original-Received: from localhost ([127.0.0.1]:37207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KESBb-0006fd-HZ for ged-emacs-devel@m.gmane.org; Thu, 03 Jul 2008 13:01:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KESBV-0006ed-SJ for emacs-devel@gnu.org; Thu, 03 Jul 2008 13:01:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KESBU-0006dp-2J for emacs-devel@gnu.org; Thu, 03 Jul 2008 13:01:29 -0400 Original-Received: from [199.232.76.173] (port=43131 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KESBT-0006dm-Ow for emacs-devel@gnu.org; Thu, 03 Jul 2008 13:01:27 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:44664) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KESBO-0004Wi-LE; Thu, 03 Jul 2008 13:01:23 -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 m63H1BR4024788; Thu, 3 Jul 2008 12:01:12 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m6363KOb021480; Thu, 3 Jul 2008 11:01:11 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3703246371215104356; Thu, 03 Jul 2008 09:59:16 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 03 Jul 2008 09:59:15 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87abgzyo4z.fsf@shellarchive.co.uk> Thread-Index: AcjdIuiJdTpYu2oFR6yktg45u2cpXwACJv5g 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:100302 Archived-At: Yes, most users use `grep' and `compile' frequently. And many users bind them to keys they like. Does that mean Emacs should pre-bind them? I personally don't think we need a predefined global binding for `grep' or `compile'. It's not hard for users to do that on their own, using exactly the keys they want. FWIW - I find that I often reuse the same grep output buffer for a different grep command - changing either the pattern or the file list (e.g. */*.el vs *.el) or both. So I bind `g' in the *grep* buffer to `grep'. That's different from what Emacs does by default, which is to bind `g' to `recompile', which just repeats the last compile command exactly. I also bind `+' to a command that renames the current grep buffer to *grep* and pops to a new buffer *grep*.