From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Danilo Segan Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Mapping of M-g should be goto-line Date: Thu, 25 Mar 2004 10:46:07 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <861xnhfee8.fsf@avet.kvota.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1080208001 11861 80.91.224.253 (25 Mar 2004 09:46:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Mar 2004 09:46:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 25 10:46:36 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 1B6RRc-00053L-00 for ; Thu, 25 Mar 2004 10:46:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6RRc-0005ub-00 for ; Thu, 25 Mar 2004 10:46:36 +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 1B6RPD-0001GC-CS for emacs-devel@quimby.gnus.org; Thu, 25 Mar 2004 04:44:07 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6RNp-0000sc-DY for emacs-devel@gnu.org; Thu, 25 Mar 2004 04:42:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6RNH-0000he-Sy for emacs-devel@gnu.org; Thu, 25 Mar 2004 04:42:39 -0500 Original-Received: from [213.244.197.1] (helo=avet.kvota.net) by monty-python.gnu.org with smtp (Exim 4.30) id 1B6RNB-0000f6-6b for emacs-devel@gnu.org; Thu, 25 Mar 2004 04:42:02 -0500 Original-Received: (qmail 30674 invoked by uid 1001); 25 Mar 2004 09:46:07 -0000 Original-To: jari.aalto@poboxes.com (Jari Aalto+mail.emacs) In-Reply-To: (Jari Aalto's message of "Thu, 25 Mar 2004 08:11:24 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) 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:20884 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20884 Today at 7:11, Jari Aalto wrote: > If put side by side, "set face default" and goto-line, I would > estimate that the 99 % of the cases, there is more need for > goto-line. Therefore it would be better if the M-g was mapped > to it.=20 Emacs tries hard to make goto-line unnecessary, AFAICT. Can you provide an example of when goto-line couldn't be replaced with a better functionality (such as using M-x next-error)?=20 > Users need line information. After all, Emacs for most, is > programming language development environment: C / C++, Python, > Perl, Ruby etc. In time they may find and start use other > features like Gnus, Mail and others. Exactly, and that's why the next-error and friends are so useful =E2=80=94 I need not worry about typing the exact line number, because I do not care about the exact line number. I care about the place with certain code/error/whatever, and that's where I want to go. Emacs has the context available, so better make use of it. FWIW, C-x ` is bound to next-error, and it's a big win in situations like this. > The "de facto" situation for long has been that everybody maps > M-g to goto-line. People advice that in newsgroups, because it > is indeed the most logical key. > > If we would take a poll in Emacs newsgroups, presumably the > "yes" votes for goto-line would win in great majority. Perhaps, but that doesn't mean that it's a right thing to do.=20=20 I seldom use current M-g binding as well, but not less than M-x goto-line.=20 Cheers, Danilo