From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab 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: Thu, 03 Mar 2005 22:58:17 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1109887534 6688 80.91.229.2 (3 Mar 2005 22:05:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2005 22:05:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 03 23:05:34 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6yRb-0001sH-P5 for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2005 23:05:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6yke-0004dr-4H for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2005 17:25:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6yjn-0004KZ-P9 for emacs-devel@gnu.org; Thu, 03 Mar 2005 17:24:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6yjg-0004Gl-K1 for emacs-devel@gnu.org; Thu, 03 Mar 2005 17:24:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6yjf-0004B2-V3 for emacs-devel@gnu.org; Thu, 03 Mar 2005 17:24:00 -0500 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D6yKq-0007D0-4I for emacs-devel@gnu.org; Thu, 03 Mar 2005 16:58:20 -0500 Original-Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 03E831554F56; Thu, 3 Mar 2005 22:58:18 +0100 (CET) Original-To: "Drew Adams" X-Yow: How do I get HOME? In-Reply-To: (Drew Adams's message of "Thu, 3 Mar 2005 09:27:30 -0800") User-Agent: Gnus/5.110002 (No Gnus v0.2) 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:34152 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34152 "Drew Adams" writes: > > it might be generally useful to have a command that picks up the > > line-number from the text at point (whenever that text can be > > parsed as a numeral) and does `goto-line' in buffer > > `(other-buffer (current-buffer) t)'. > > We already have that, it's compilation-minor-mode. > > Looking at the code for compilation-minor-mode (as I'm inexperienced wi= th > it), I see no connection with what I suggested. That mode appears to wo= rk > only in buffers that can be parsed to work with next-error etc. Sorry, I misunderstood your suggestion. > What I suggested was a simple command to pick up a numeral from any buf= fer, > regardless of what the numeral might mean in that buffer. It would be > rudimentary, but would do at least what people are doing with `goto-lin= e', > without requiring them to key in the line number. A minor suggestion - > that's all. You already don't have to type the number, just mark, copy and paste it. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."