From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Shutko Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Mapping of M-g should be goto-line Date: Thu, 25 Mar 2004 11:28:09 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ekrg3kgm.fsf@wesley.springies.com> References: <861xnhfee8.fsf@avet.kvota.net> <86brmldvbd.fsf@avet.kvota.net> <8yhp3yh7.fsf@blue.sea.net> <86vfktcch7.fsf@avet.kvota.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080239636 1384 80.91.224.253 (25 Mar 2004 18:33:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Mar 2004 18:33:56 +0000 (UTC) Cc: Juanma Barranquero , Lucas , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 25 19:33:45 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6Zfk-0001r3-00 for ; Thu, 25 Mar 2004 19:33:44 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6Zfk-00070t-00 for ; Thu, 25 Mar 2004 19:33:44 +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 1B6Zdn-0004ZF-PQ for emacs-devel@quimby.gnus.org; Thu, 25 Mar 2004 13:31:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6ZBS-0004jf-4Z for emacs-devel@gnu.org; Thu, 25 Mar 2004 13:02:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6ZAq-0004aP-Ou for emacs-devel@gnu.org; Thu, 25 Mar 2004 13:02:20 -0500 Original-Received: from [216.162.125.102] (helo=simon.springies.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6Ymf-00071G-7l for emacs-devel@gnu.org; Thu, 25 Mar 2004 12:36:49 -0500 Original-Received: from wesley.springies.com (wesley.springies.com [192.168.1.2]) by simon.springies.com (Postfix) with ESMTP id 8E4473F37; Thu, 25 Mar 2004 11:35:40 -0600 (CST) Original-Received: by wesley.springies.com (Postfix, from userid 1000) id 372DA4292E; Thu, 25 Mar 2004 11:35:40 -0600 (CST) Original-To: jari.aalto@poboxes.com (Jari Aalto+mail.linux) In-Reply-To: <86vfktcch7.fsf@avet.kvota.net> (Danilo Segan's message of "Thu, 25 Mar 2004 13:55:48 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20922 Danilo Segan writes: > How could the first approach using goto-line be "more user friendly" > than the latter? If that's your point, I strongly disagree. And no, > I'm not talking only about me, I'm talking about everyone using a > terminal outside Emacs for such tasks. emacsclient requires lots of keystrokes. Even if you alias it, it requires an open terminal on the same machine you're running Emacs. One common use case I have is reading (often really large) java log files on another machine and checking on java exceptions. next-error won't work for those even if I transfer the log file and force it into compilation-mode. There is some code which will parse java exceptions and jump similar to next-error, but I'd still have to transfer the file, which I don't want to do (since it is big, remote, and has lines appended to it while I'm looking at it). Or, getting a backtrace from a web app in the browser. I could cut and paste it all into a buffer and fake it up appropriately, or I could just use goto-line. Or, another use-case: getting line numbers from a java debugger running in a graphical window. Sure, I could pop to a console (bringing a third application into the mix) and type "emacsclient -n +2323 LongDirectoryHeirarchy/Whatever.java", or I could flip to Emacs, load it using file-cache to find the file, and quickly go to the file. Or, someone calls me saying "I'm having trouble understanding line 124 of this file, could you explain it? Emacs's other features are not the solution to these issues. I've been using Emacs for about 10 years now and have a pretty fair handle on what it does, and have coded things to make things easier, and really, sometimes goto-line is the simplest answer. -- Alan Shutko - I am the rocks. Man invented Alcohol. God invented Grass. Who do you trust?