From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Mapping of M-g should be goto-line Date: 25 Mar 2004 19:03:34 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <4qsd3yd1.fsf@blue.sea.net> <4062F322.10601@vmlinux.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080238135 30098 80.91.224.253 (25 Mar 2004 18:08:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Mar 2004 18:08:55 +0000 (UTC) Cc: "Jari Aalto+mail.emacs" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 25 19:08:45 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6ZHZ-0008Ic-00 for ; Thu, 25 Mar 2004 19:08:45 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6ZHZ-0006HW-00 for ; Thu, 25 Mar 2004 19:08:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6ZEv-0005my-UE for emacs-devel@quimby.gnus.org; Thu, 25 Mar 2004 13:06:01 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6ZDL-0005Lu-Mb for emacs-devel@gnu.org; Thu, 25 Mar 2004 13:04:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6ZCm-00059O-0Q for emacs-devel@gnu.org; Thu, 25 Mar 2004 13:04:19 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6ZCl-00059A-5h for emacs-devel@gnu.org; Thu, 25 Mar 2004 13:03:47 -0500 Original-Received: from fencepost.gnu.org ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.24) id 1B6Z7x-0002mK-TB; Thu, 25 Mar 2004 12:58:50 -0500 Original-To: Joachim Nilsson In-Reply-To: <4062F322.10601@vmlinux.org> Original-Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20919 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20919 Joachim Nilsson writes: > On 03/25/04 13:27, Jari Aalto+mail.emacs wrote: > > * 2004-03-25 David Kastrup gnu.org> > > | Seconded. If no other binding can be found, we can override it in > > | enriched text mode with a local binding, but as a global binding, > > | goto-line is certainly much more generally useful. > > If possible, we really want M-g, because of "g", goto. Using any other > > key would counter what people have been already using. And it should > > be one key. If it were two keys, people would never use it. They > > would map it right back to "M-g". > > I too agree that a keybinding for goto-line is useful. Like the > original poster I used M-g as well, but since 21.3 I have a new > setup where I use M-# instead. To me that is equally intuitive, > but clashes with calc-dispatch -- so whatever is decided the risk > of a key already being bound is always present in Emacs. Some vague memory made me start up that other editor. And guess what: M-g runs `goto-line' `goto-line' is an interactive compiled Lisp function -- loaded from "/usr/share/xemacs-21.4.12/lisp/simple.elc" (goto-line LINE) Documentation: Goto line LINE, counting from line 1 at beginning of buffer. Since there is considerable consensus here that M-g is a reasonable binding for goto-line, I would like to add that not choosing a different binding would probably also be appreciated by those that want or need to cross between Emacs incarnations. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum