From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Key binding M-g should really be goto-line Date: Wed, 09 Mar 2005 23:34:54 +0100 Message-ID: References: <87y8cx4b3e.fsf@jurta.org> <87zmxcwkqs.fsf@orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110408207 412 80.91.229.2 (9 Mar 2005 22:43:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2005 22:43:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 23:43:27 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D99pp-0004j7-Pr for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2005 23:39:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9A4a-0003SK-L2 for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2005 17:54:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9A1A-0001V3-IW for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:51:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9A18-0001U7-G7 for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:51:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9A17-0001So-Gp for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:51:02 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D99lZ-0001ev-M1 for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:34:57 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1D99lY-0007xf-Uu for emacs-devel@gnu.org; Wed, 09 Mar 2005 17:34:57 -0500 Original-To: emacs-devel@gnu.org In-Reply-To: <87zmxcwkqs.fsf@orebokech.com> (Romain Francoise's message of "Wed, 09 Mar 2005 22:51:55 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:34388 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34388 Romain Francoise writes: > 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. I am afraid that I have a hard time not to agree after thinking it over. > 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). Well, one could put M-g M-g on that in dired mode, but have M-g M-g mean goto-line in most other modes. It seems absurd to have dired-goto-file as a global binding. > That being said, I'm very much in favor of this change--especially > the bindings you suggest for next-error and previous-error. Well, yes. It makes just too much sense to throw the idea out the door. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum