From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Key binding M-g should really be goto-line autolearn=no version=3.0.2 Date: Wed, 02 Mar 2005 09:00:28 -0500 Message-ID: <87hdju6tma.fsf-monnier+emacs@gnu.org> References: <01c51ee3$Blat.v2.4$8124a8c0@zahav.net.il> <20050302083113.YHKM20421.fep01-app.kolumbus.fi@cante.net> <1109763031.811246.2962.nullmailer@Update.UU.SE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109772665 9367 80.91.229.2 (2 Mar 2005 14:11:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2005 14:11:05 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org, eliz@gnu.org, "Jari Aalto+mail.emacs" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 02 15:11:03 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6UTm-0006zF-NH for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2005 15:05:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6UmY-0004Yp-E2 for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2005 09:24:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6Ujc-0003cv-2K for emacs-devel@gnu.org; Wed, 02 Mar 2005 09:21:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6UjR-0003Y5-5Z for emacs-devel@gnu.org; Wed, 02 Mar 2005 09:21:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6UjP-0003Qb-Op for emacs-devel@gnu.org; Wed, 02 Mar 2005 09:21:43 -0500 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D6UOs-0003ee-Mx; Wed, 02 Mar 2005 09:00:31 -0500 Original-Received: from alfajor ([67.68.218.40]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050302140029.FJSN1567.tomts25-srv.bellnexxia.net@alfajor>; Wed, 2 Mar 2005 09:00:29 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 66D88D749D; Wed, 2 Mar 2005 09:00:29 -0500 (EST) Original-To: ams@kemisten.nu In-Reply-To: <1109763031.811246.2962.nullmailer@Update.UU.SE> (Alfred M. Szmidt's message of "Wed, 02 Mar 2005 12:30:31 +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: main.gmane.org gmane.emacs.devel:34078 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34078 > have M-g as goto-line or else". I really feel that the use of > goto-line to warrant a single char key binding is overblown--specially > for a single keystroke binding!; if people use it that often then one > should write a proper mode for Emacs to ease whatever one is doing > instead of introducing a new keybinding. We've gone through that umpteen times. It just so happens that "the proper mode" has not yet been written for each and every case, and that in many cases it can't be written because the line number is not directly available to Emacs but has to be typed in by the user (e.g. it's given over the phone, or it's printed in your web-browser's window, ...). The reason why people use goto-line is not really relevant: the fact is that they do use it, even if it means M-x goto-line RET or adding a binding in their .emacs for it. I.e. there's a very clear need for it. Even in this very mailing list of highly experienced Emacs hackers, many people have mentioned that they have goto-line bound to some key. I used to have it bound to M-g. I myself have hacked isearch so that C-s does goto-line. Arguing "you should follow the true path of enlightenment because I know better than you" is just ridiculous, Stefan