From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" 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, 3 Mar 2005 09:27:30 -0800 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109871869 3354 80.91.229.2 (3 Mar 2005 17:44:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2005 17:44:29 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 03 18:44:29 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6u90-0007Hn-A3 for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2005 18:29:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6uS0-000792-7b for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2005 12:49:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6uRn-00078M-S6 for emacs-devel@gnu.org; Thu, 03 Mar 2005 12:49:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6uRl-00077G-Tl for emacs-devel@gnu.org; Thu, 03 Mar 2005 12:49:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6uRl-000770-LD for emacs-devel@gnu.org; Thu, 03 Mar 2005 12:49:13 -0500 Original-Received: from [148.87.122.33] (helo=rgminet04.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D6uD8-0003rF-74 for emacs-devel@gnu.org; Thu, 03 Mar 2005 12:34:06 -0500 Original-Received: from rgminet04.oracle.com (localhost [127.0.0.1]) by rgminet04.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j23HY3KT003457 for ; Thu, 3 Mar 2005 12:34:03 -0500 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by rgminet04.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j23HRVYd029292 for ; Thu, 3 Mar 2005 12:30:15 -0500 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j23HRVwE031385 for ; Thu, 3 Mar 2005 10:27:31 -0700 Original-Received: from dradamslap (dradams-lap.us.oracle.com [130.35.177.126]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j23HRUno031379 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 3 Mar 2005 10:27:30 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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:34138 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34138 > 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 with it), I see no connection with what I suggested. That mode appears to work only in buffers that can be parsed to work with next-error etc. What I suggested was a simple command to pick up a numeral from any buffer, 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-line', without requiring them to key in the line number. A minor suggestion - that's all.