From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Key binding M-g should really be goto-line autolearn=noversion=3.0.2 autolearn=no version=3.0.2 Date: Sat, 5 Mar 2005 09:24:27 +0900 Message-ID: References: Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109982822 28387 80.91.229.2 (5 Mar 2005 00:33:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2005 00:33:42 +0000 (UTC) Cc: Kevin Rodgers , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 05 01:33:42 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7NEd-0005QB-Jj for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2005 01:33:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7NXt-0006M6-Qb for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 19:53:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D7NUs-00032Q-OZ for emacs-devel@gnu.org; Fri, 04 Mar 2005 19:50:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D7NUn-00030h-0q for emacs-devel@gnu.org; Fri, 04 Mar 2005 19:50:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7NUh-0002s8-2Z for emacs-devel@gnu.org; Fri, 04 Mar 2005 19:50:11 -0500 Original-Received: from [64.233.184.203] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D7N5q-0000sd-ON for emacs-devel@gnu.org; Fri, 04 Mar 2005 19:24:30 -0500 Original-Received: by wproxy.gmail.com with SMTP id 40so620509wri for ; Fri, 04 Mar 2005 16:24:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=HuDh4MlEzv1Edkx2PV1kWZRUM7+i01P72bXes+f6hnON8fPIY4Gb4vGfszh9aT90fDfFR/zOhKlg9C50E7UN5s7gx16RAc4vtxEpv56dArRxJyElCw+BXcj9Lqd9rQ8OB2eulhVvjneDqjf2DuDCnuq7Mcv7iQCbd/m5N6Y05GQ= Original-Received: by 10.54.17.30 with SMTP id 30mr74195wrq; Fri, 04 Mar 2005 16:24:29 -0800 (PST) Original-Received: by 10.54.19.70 with HTTP; Fri, 4 Mar 2005 16:24:27 -0800 (PST) Original-To: rms@gnu.org In-Reply-To: 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:34197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34197 On Fri, 04 Mar 2005 18:45:32 -0500, Richard Stallman wrote: > How about making goto-line suggest the number at point > as its default argument? That seems very convenient! I think it may also be convenient if, point is not on a number, use the first number on the current line as a default. This is because I think it's common to have point sitting at the beginning of an error line, and this would save users the effort of manually positioning point over the actual line number (the heuristic could fail in some cases if for instance a filename contained digits, but I think it would often be right). BTW, also maybe the prompt in the "use last selected buffer" case should mention the buffer name. Thanks, -Miles -- Do not taunt Happy Fun Ball.