From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Key binding M-g should really be goto-line Date: Wed, 09 Mar 2005 09:32:51 +0100 Message-ID: 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 1110357889 23613 80.91.229.2 (9 Mar 2005 08:44:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2005 08:44:49 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 09:44:49 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8wnu-00039V-9k for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2005 09:44:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8x0i-0001A9-Ar for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2005 03:57:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8wv3-0008Gm-Pg for emacs-devel@gnu.org; Wed, 09 Mar 2005 03:51:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8wuy-0008Ee-H5 for emacs-devel@gnu.org; Wed, 09 Mar 2005 03:51:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8wuw-000891-RL for emacs-devel@gnu.org; Wed, 09 Mar 2005 03:51:47 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1D8wcT-0001Qn-Qn for emacs-devel@gnu.org; Wed, 09 Mar 2005 03:32:42 -0500 Original-Received: (qmail 53283 invoked from network); 9 Mar 2005 08:32:40 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 9 Mar 2005 08:32:40 -0000 Original-To: Juri Linkov In-Reply-To: <87y8cx4b3e.fsf@jurta.org> (Juri Linkov's message of "Wed, 09 Mar 2005 09:05:33 +0200") 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:34359 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34359 Juri Linkov writes: > 2. goto-line is not too frequent command to deserve the sole > M-g key. There are many other goto-related commands that could > share the same mnemonics and have the common M-g prefix key. Brilliant ideas!! I second ALL of your suggestions. One command I use quite often is "find-file-and-line-near-point" which takes something like FILE:LINE "near" the cursor and jumps to LINE in FILE. I use this when I look at backtraces in bug-reports (of course, I already have code which can do this, but a logical binding would be nice). M-g j would be an excellent binding for this. -- Kim F. Storm http://www.cua.dk