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: Bind "n" and "p" in occur-mode-map Date: Fri, 25 Jun 2010 23:36:32 +0300 Organization: JURTA Message-ID: <87aaqin92n.fsf@mail.jurta.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277500540 22487 80.91.229.12 (25 Jun 2010 21:15:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Jun 2010 21:15:40 +0000 (UTC) Cc: Emacs-Devel devel To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 25 23:15:37 2010 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.69) (envelope-from ) id 1OSGAw-0007tW-Mn for ged-emacs-devel@m.gmane.org; Fri, 25 Jun 2010 23:15:37 +0200 Original-Received: from localhost ([127.0.0.1]:53653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSGAg-0002k0-Oz for ged-emacs-devel@m.gmane.org; Fri, 25 Jun 2010 17:10:46 -0400 Original-Received: from [140.186.70.92] (port=40706 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSFwZ-0003ZD-9J for emacs-devel@gnu.org; Fri, 25 Jun 2010 16:56:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSFwX-0008Kp-Oa for emacs-devel@gnu.org; Fri, 25 Jun 2010 16:56:11 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:34285 helo=mx2.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSFwX-0008Kb-I5 for emacs-devel@gnu.org; Fri, 25 Jun 2010 16:56:09 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (62.65.210.19.cable.starman.ee [62.65.210.19]) by mx2.starman.ee (Postfix) with ESMTP id 1282F3F40A7; Fri, 25 Jun 2010 23:56:05 +0300 (EEST) In-Reply-To: (Deniz Dogan's message of "Fri, 25 Jun 2010 01:20:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:126402 Archived-At: > I was thrown off when I realized that occur-mode-map doesn't do > anything useful with "n" and "p" so I figured they could be bound to > occur-next and occur-prev respectively. Currently M-n and M-p are > bound to these functions. Attached is a patch. > > Any comments? There was a plan to converge keybindings of occur and grep/compile. So maybe grep/compile should bind "n" and "p" as well? There are already some letters bound to special commands like `g' bound to `recompile'. Oh, no! I just tried to type `g' in etc/compilation.txt and it has a disastrous effect - it overwrites the file with the output of the last compilation command. I wonder why `g' is bound to `recompile' instead of `revert-buffer'? -- Juri Linkov http://www.jurta.org/emacs/