From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: dired in one buffer Date: Fri, 18 Aug 2006 16:18:17 -0700 Message-ID: References: <20060816.092016.26494.579978@webmail51.nyc.untd.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155943134 12755 80.91.229.2 (18 Aug 2006 23:18:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Aug 2006 23:18:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 19 01:18:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GEDc0-0006M5-Na for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Aug 2006 01:18:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEDbz-00078d-2B for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Aug 2006 19:18:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GEDbm-000783-7O for help-gnu-emacs@gnu.org; Fri, 18 Aug 2006 19:18:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GEDbk-00076j-JO for help-gnu-emacs@gnu.org; Fri, 18 Aug 2006 19:18:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEDbk-00076g-Gq for help-gnu-emacs@gnu.org; Fri, 18 Aug 2006 19:18:32 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GEDiY-0005Kc-Lm for help-gnu-emacs@gnu.org; Fri, 18 Aug 2006 19:25:34 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k7INIU7K010766 for ; Fri, 18 Aug 2006 18:18:31 -0500 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-73-155.vpn.oracle.com [141.144.73.155]) by rgmgw3.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k7INITlf009968 for ; Fri, 18 Aug 2006 17:18:30 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 In-Reply-To: <20060816.092016.26494.579978@webmail51.nyc.untd.com> Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36773 Archived-At: dired-find-alternate-file (normally assigned to the 'a' key in dired- mode) replaces the current buffer (the dired buffer) with the file/directory that the cursor is on. Just thought I'd mention that you can also use `C-x C-v' to do this. Instead of substituting the file or directory where the cursor is, it prompts you for the file or directory name. With a long directory listing (many files), when your cursor is not necessarily near the file or directory you want to visit, it can be quicker to use `C-x C-v', especially since you can use completion to provide the name. I would never bother to make an alternate-directory substitute command to replace `^', for instance, because it is quick enough to do `C-x C-v' and use, say, `M-DEL' (in the minibuffer) to remove the last directory component. And I probably use `C-x C-v' more in Dired than anywhere else, because although I often want several file buffers (visible or not), I don't as often want multiple Dired buffers. People use Emacs differently, but I find that my cursor in Dired is usually not where I need it to be for this kind of thing (`a').