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: Sun, 21 May 2006 07:28:54 +0300 Organization: JURTA Message-ID: <87lksw58k1.fsf@jurta.org> References: <446C7B73.60907@earthlink.net> <87u07md91o.fsf@jurta.org> <87sln44y1q.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 1148186591 7739 80.91.229.2 (21 May 2006 04:43:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 May 2006 04:43:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 21 06:43:09 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 1FhfmS-0001zv-AZ for ged-emacs-devel@m.gmane.org; Sun, 21 May 2006 06:43:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhfmR-0002OT-OV for ged-emacs-devel@m.gmane.org; Sun, 21 May 2006 00:43:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fhfl9-0001Po-BU for emacs-devel@gnu.org; Sun, 21 May 2006 00:41:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fhfl8-0001PP-LN for emacs-devel@gnu.org; Sun, 21 May 2006 00:41:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fhfl8-0001PK-GB for emacs-devel@gnu.org; Sun, 21 May 2006 00:41:42 -0400 Original-Received: from [217.25.160.1] (helo=relay1.binet.com.ua) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fhfoo-000100-Au; Sun, 21 May 2006 00:45:30 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by relay1.binet.com.ua (Postfix) with ESMTP id 8D21977DA6; Sun, 21 May 2006 07:41:40 +0300 (EEST) Original-Received: from mail.binet.com.ua (i24.dialup.binet.com.ua [217.25.161.88]) by relay1.binet.com.ua (Postfix) with ESMTP id A4F4777DE7; Sun, 21 May 2006 07:41:38 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 20 May 2006 20:56:06 -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:54929 Archived-At: > The quickest way to do this I know is to type C-x d RET, and to find > the edited file in the (sometimes very long) list of all files > in the same directory. > > I think we want to make it easier to get the full visited file name > into the minibuffer after C-x d. For instance, putting it into the > history after the default file name, so that you can get it by typing > M-n M-n. C-x d already puts the file name of the current buffer into the default value of the minibuffer accessible by the single M-n. But when C-x d accepts a file name, it has the different effect: it produces the dired buffer with only one file whose name was given for C-x d (all other files are filtered out by a wildcard). For me this behavior is useless. I'd like to display the dired buffer with all files and to move point to the file with the name specified for C-x d. > With the global key binding `M-g f' all this is achieved by `M-g f M-n RET' > > Now I understand what you want, but it is not the same as the existing > command dired-goto-file. That only moves point within a dired buffer. The only difference from the existing dired-goto-file is that when used as a global key it would create the dired buffer before moving point to the given file name. > What you want is not absurd as a command, but I don't think it belongs > in M-g. One reason to put it on M-g prefix was mnemonics "Go to File" for `M-g f'. But perhaps reusing `C-x C-j' from dired-x is a better key. -- Juri Linkov http://www.jurta.org/emacs/