From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: M-g in dired Date: Fri, 19 May 2006 06:04:19 +0300 Organization: JURTA Message-ID: <87u07md91o.fsf@jurta.org> References: <446C7B73.60907@earthlink.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148008172 3720 80.91.229.2 (19 May 2006 03:09:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 May 2006 03:09:32 +0000 (UTC) Cc: emacs-devel@gnu.org, edwinstearns_news@earthlink.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 19 05:09:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FgvMn-0004cZ-9c for ged-emacs-devel@m.gmane.org; Fri, 19 May 2006 05:09:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgvMl-0005Hq-Q2 for ged-emacs-devel@m.gmane.org; Thu, 18 May 2006 23:09:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FgvM6-000561-0M for emacs-devel@gnu.org; Thu, 18 May 2006 23:08:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FgvM4-00055S-Rz for emacs-devel@gnu.org; Thu, 18 May 2006 23:08:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgvM4-00055P-Ng for emacs-devel@gnu.org; Thu, 18 May 2006 23:08:44 -0400 Original-Received: from [217.25.160.1] (helo=relay1.binet.com.ua) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FgvPH-00055Z-Qn; Thu, 18 May 2006 23:12:04 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by relay1.binet.com.ua (Postfix) with ESMTP id DEF6577D5B; Fri, 19 May 2006 06:08:42 +0300 (EEST) Original-Received: from mail.binet.com.ua (i19.dialup.binet.com.ua [217.25.161.83]) by relay1.binet.com.ua (Postfix) with ESMTP id D7B4977DBB; Fri, 19 May 2006 06:08:40 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Thu, 18 May 2006 22:04:57 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by ClamAv at binet.com.ua 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 Xref: news.gmane.org gmane.emacs.devel:54759 Archived-At: > In most contexts M-g is a prefix key, but in dired it is bound to > dired-goto-file. I often run the command compile while visiting a > dired buffer, but cannot jump to errors with M-g M-n as usual. > > This binding is a leftover from a time when M-g had a different global > meaning. We should get rid of this binding, and move the command to > another key. > > What would be a good binding for it? > M-g f and M-g M-f, perhaps? Currently dired.el defines: (define-key dired-mode-map "\M-g" 'dired-goto-file) and dired-x.el defines: (define-key dired-mode-map "\M-g" 'dired-goto-file) (define-key dired-mode-map "\M-G" 'dired-goto-subdir) I recall I proposed two variants for dired-goto-file: `M-g f' (and `M-g M-f') and `M-g g' (and `M-g M-g'). And you agreed to `M-g f' (and `M-g M-f'). But it's not clear what to do with \M-G bound to dired-goto-subdir? I also proposed to make the key binding `M-g f' global, but this could be implemented ATR (after the release). -- Juri Linkov http://www.jurta.org/emacs/