From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: Key binding M-g should really be goto-line Date: Wed, 09 Mar 2005 22:51:55 +0100 Organization: orebokech dot com Message-ID: <87zmxcwkqs.fsf@orebokech.com> References: <87y8cx4b3e.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110406917 11499 80.91.229.2 (9 Mar 2005 22:21:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2005 22:21:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 23:21:57 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D99Ug-0001b2-Vj for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2005 23:17:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D99jR-0002dJ-MI for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2005 17:32:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D99ZT-0006iz-SK for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:22:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D99ZG-0006cB-NQ for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:22:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D99ZG-0006XQ-0r for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:22:14 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D99Eu-0007QR-Bk for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:01:12 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D99AP-00078F-0K for emacs-devel@gnu.org; Wed, 09 Mar 2005 22:56:33 +0100 Original-Received: from yeast.orebokech.com ([82.67.41.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Mar 2005 22:56:32 +0100 Original-Received: from romain by yeast.orebokech.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Mar 2005 22:56:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: yeast.orebokech.com Mail-Copies-To: nobody X-Face: "1+OIb}NK>vxR1ZMk[Jx!/]O|A-v/P&|%hFquLxp20W.'g4KNUD/IdAUSmd'5`f)Q9%"4]%{P`TF2dC4v1~G5D}S( Cancel-Lock: sha1:44BlyDmbZqzQvVYMWPiohaWT5CE= 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34386 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34386 Juri Linkov writes: > M-g could display a message: > Go to: line, M-g = line, char, file, next error, prev error, Other... > and have a keymap with the following key bindings: > M-g M-g - goto-line > M-g l - goto-line > M-g c - goto-char > M-g f - dired-goto-file > M-g n - next-error (goto-next-locus) > M-g M-n - next-error (goto-next-locus) > M-g p - previous-error > M-g M-p - previous-error This is a very good idea. However, Dired users are probably used to M-g not being a prefix key since it's been bound to dired-goto-file in Dired-X for as long as I can remember (more than 11 years, says CVS). That being said, I'm very much in favor of this change--especially the bindings you suggest for next-error and previous-error. -- Romain Francoise | With your feet in the air and it's a miracle -- http://orebokech.com/ | your head on the ground.