From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Katz Newsgroups: gmane.emacs.help Subject: Re: Newbie: Interactive goto-line ?! Date: Thu, 26 Feb 2004 12:36:42 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8765dt3fpx.fsf@profitlogic.com> References: <403b2dbe$0$38285$e4fe514c@dreader14.news.xs4all.nl> <874qtgqq9w.fld@barrow.com> <403BBB98.5030506@yahoo.com> <877jycoxo4.fld@barrow.com> <87y8qroejs.fld@barrow.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077817925 11949 80.91.224.253 (26 Feb 2004 17:52:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2004 17:52:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 26 18:51:54 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AwPft-0007R1-00 for ; Thu, 26 Feb 2004 18:51:53 +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 1AwPcc-0006sd-8J for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Feb 2004 12:48:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!12.46.106.161!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 12.46.106.161 Original-X-Trace: news.uni-berlin.de 1077817004 54655803 I 12.46.106.161 ([154421]) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:Qydf4aFFpOBJrMmG/iuI6C++5rY= Original-Xref: shelby.stanford.edu gnu.emacs.help:121287 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17241 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17241 On 25 Feb 2004, Eli Zaretskii wrote: > I was serious. If you have serious counter-arguments why goto-line > is better then "C-x `" and its ilk, please tell. > > In a nutshell, the reason why goto-line should not be a frequently > used command is that normally there's no reason to want to get to > line number N unless you have a program that told you there's > something interesting on that line. Or someone else told you so, perhaps. I work in an environment where we have several people in an open environment working in the same code base, each at their own computer. It rather frequently happens that someone in the area will make a request like "can you tell me what's going on at line 356 of foobar.c" at which point goto-line is rather useful, and useful frequently enough that I've bound goto-line to "M-g" from time to time. Note that I'm not advocating for changing the default binding of "M-g" and that I'm not saying that goto-line is better than the "C-x `" mechanism in cases where the latter is applicable. I simply wanted to point out an environment in which goto-line is useful enough to warrant being bound to a simple key-chord. Of course, since it's emacs I can do all this rebinding myself without bothering the maintainers... :-) But the newbies the OP is worried about might have a harder time, perhaps. Dan