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, 02 Jul 2010 23:54:07 +0300 Organization: JURTA Message-ID: <87eifl7fj4.fsf@mail.jurta.org> References: <87aaqin92n.fsf@mail.jurta.org> <8739w49x73.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278108771 26502 80.91.229.12 (2 Jul 2010 22:12:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2010 22:12:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 03 00:12:47 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 1OUoTW-00011S-WC for ged-emacs-devel@m.gmane.org; Sat, 03 Jul 2010 00:12:47 +0200 Original-Received: from localhost ([127.0.0.1]:52406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUoTV-0002Du-6q for ged-emacs-devel@m.gmane.org; Fri, 02 Jul 2010 18:12:45 -0400 Original-Received: from [140.186.70.92] (port=42573 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUoTJ-0002CU-FS for emacs-devel@gnu.org; Fri, 02 Jul 2010 18:12:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUoTH-0002Xa-VE for emacs-devel@gnu.org; Fri, 02 Jul 2010 18:12:33 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:41135 helo=mx2.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUoTH-0002XP-Ou for emacs-devel@gnu.org; Fri, 02 Jul 2010 18:12:31 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.28.160.cable.starman.ee [82.131.28.160]) by mx2.starman.ee (Postfix) with ESMTP id A99C43F4145; Sat, 3 Jul 2010 01:12:26 +0300 (EEST) In-Reply-To: <8739w49x73.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 30 Jun 2010 13:45:04 -0500") 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:126714 Archived-At: > JL> There was a plan to converge keybindings of occur and grep/compile. > JL> So maybe grep/compile should bind "n" and "p" as well? > > The underlying functionality (next-error/previous-error) is the same so > binding `n'/`p' makes sense to me as well. But next-error also has the > `C-x `' binding *globally* so maybe it makes sense to think about the > corresponding global binding for previous-error as well. At least in my > experience it's more useful to jump back and forth between interesting > points in the source buffer than in the adjunct compilation/grep/occur > buffer. We already have convenient global keybindings `M-g M-n' for `next-error' and `M-g M-p' for `previous-error'. -- Juri Linkov http://www.jurta.org/emacs/