From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: M-g binding in Gnus Date: Thu, 10 Mar 2005 16:18:20 +0100 Message-ID: References: <87y8cx4b3e.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110468659 27053 80.91.229.2 (10 Mar 2005 15:30:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2005 15:30:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 10 16:30:58 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9PVF-00084M-In for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2005 16:23:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9Pk9-0002LU-5n for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2005 10:38:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9Piv-0001So-8Z for emacs-devel@gnu.org; Thu, 10 Mar 2005 10:37:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9Pim-0001Ns-Sn for emacs-devel@gnu.org; Thu, 10 Mar 2005 10:37:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9Pil-0001N5-PH for emacs-devel@gnu.org; Thu, 10 Mar 2005 10:37:07 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1D9PQS-0005Bb-Hf for emacs-devel@gnu.org; Thu, 10 Mar 2005 10:18:12 -0500 Original-Received: (qmail 98768 invoked from network); 10 Mar 2005 15:18:11 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 10 Mar 2005 15:18:11 -0000 Original-To: emacs-devel@gnu.org In-Reply-To: (Reiner Steib's message of "Thu, 10 Mar 2005 14:34:24 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) 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: news.gmane.org gmane.emacs.devel:34421 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34421 Reiner Steib writes: > On Thu, Mar 10 2005, Kim F. Storm wrote: > >> Reiner Steib writes: >> >>> Wouldn't the "file:linenumber" feature require an absolute filename >>> unless the buffer local value `default-directory' happens to be >>> appropriate? I'd guess that such situations are rare (sender and >>> recipient often have different file locations). >> >> I always start gnus in emacs/src directory -- so I can quickly look at >> backtraces... > > I see. But do you really think that this situation is so common that > it's relevant for the _default_ binding of M-g in Gnus? I don't think > so. > > (Probably it would even be sufficient _for you_ to change M-g to goto > only in the Emacs related groups.) I'm not talking about M-g => goto-line, but M-g as a prefix key for various goto-xxx commands. IMO, the FILE:LINE format should not be recognized by the ordinary goto-line command -- it should be a separate command on, e.g. M-g f. Mnemonic: M-g f => goto file at point In the future, there may be many useful "goto" commands with the M-g prefix. Gnus shouldn't assume that none of those bindings will be useful in a gnus-related window. For example, if M-g m did something like "goto *Messages* buffer", and M-g c was "goto *compilation* buffer", gnus shouldn't hide those bindings. -- Kim F. Storm http://www.cua.dk