From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: Key binding M-g should really be goto-line Date: Wed, 02 Mar 2005 09:08:16 +0100 Message-ID: References: <1109720969.656668.1814.nullmailer@Update.UU.SE> <1109726094.640118.1962.nullmailer@Update.UU.SE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109753379 13626 80.91.229.2 (2 Mar 2005 08:49:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2005 08:49:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 02 09:49:39 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6PXv-00058r-6k for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2005 09:49:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6Pqd-0006II-UK for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2005 04:08:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6Pe5-0003k8-S4 for emacs-devel@gnu.org; Wed, 02 Mar 2005 03:55:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6Pe2-0003ja-O3 for emacs-devel@gnu.org; Wed, 02 Mar 2005 03:55:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6PdF-0003J8-EC for emacs-devel@gnu.org; Wed, 02 Mar 2005 03:55:01 -0500 Original-Received: from [134.96.7.25] (helo=triton.rz.uni-saarland.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D6OuF-0005Y8-EK for emacs-devel@gnu.org; Wed, 02 Mar 2005 03:08:31 -0500 Original-Received: from iwi-gate.iwi.uni-sb.de (iwi-gate.iwi.uni-sb.de [134.96.72.13]) by triton.rz.uni-saarland.de (8.12.10/8.12.10) with ESMTP id j2288TPs3486210; Wed, 2 Mar 2005 09:08:29 +0100 (CET) Original-Received: from [134.96.72.190] (helo=neutrino.iwi.uni-sb.de) by iwi-gate.iwi.uni-sb.de with esmtp (Exim 4.43 (FreeBSD)) id 1D6Otx-000Eah-Av; Wed, 02 Mar 2005 09:08:13 +0100 Original-Received: from angeli by neutrino.iwi.uni-sb.de with local (Exim 4.50) id 1D6Ou0-00034W-O3; Wed, 02 Mar 2005 09:08:16 +0100 Original-To: ams@kemisten.nu In-Reply-To: <1109726094.640118.1962.nullmailer@Update.UU.SE> (Alfred M. Szmidt's message of "Wed, 02 Mar 2005 02:14:54 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-IWi-MailScanner-Information: Please contact the ISP for more information X-IWi-MailScanner: Found to be clean X-IWi-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5, autolearn=disabled) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.1 (triton.rz.uni-saarland.de [134.96.7.25]); Wed, 02 Mar 2005 09:08:29 +0100 (CET) X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.30.0.2; VDF 6.30.0.9 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:34043 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34043 * Alfred M. Szmidt (2005-03-02) writes: > I am using it often when dealing with patches generated with `diff' > and wanting to look at the original source before applying a patch. > > That is what `diff-mode' and C-c C-c (or ) is for. So once > again, I fail to see what use goto-line has for other then in really > awkward situations. I have a keyboard shortcut which opens Emacs with a Dired buffer in the directory I am usually editing and I find it more efficient to open the file in question from there and just jump to the line in question with `M-g' than to activate diff-mode for a patch I got via email and having to type in the path to the file the patch applies to. You could argue that such things don't happen often enough to warrant a special key binding, but I find it very convenient having it. -- Ralf