From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: two dired questions Date: Sun, 07 Mar 2010 22:02:11 -0600 Message-ID: References: <4b93fdc2$0$282$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272990601 6834 80.91.229.12 (4 May 2010 16:30:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 16:30:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 18:29:59 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9L0R-0000wN-Bt for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 18:29:59 +0200 Original-Received: from localhost ([127.0.0.1]:38169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9L0Q-00050Q-OD for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 12:29:58 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 07 Mar 2010 22:02:02 -0600 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help In-Reply-To: <4b93fdc2$0$282$14726298@news.sunsite.dk> X-No-Archive: yes Original-Lines: 32 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.133.44 Original-X-Trace: sv3-roTDSBEtZPuFpzKM13qUcFwycvFBTmeaMrwNeOjznKSUwajmXvQdklFeKP2cVEmKlc5KM89LtjqDVNH!ay0NzkAyhPa9/f5o/nV7kz5+c6kK4X488l3hretf3o+t0LgnjARU/GkUyUSI1Pgztih97vql+add!far4pJmWnBmVEhQL/dvgjafEw3OD5g== Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: usenet.stanford.edu gnu.emacs.help:177395 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 X-Gmane-Expiry: 2010-05-18 Xref: news.gmane.org gmane.emacs.help:72930 Archived-At: Colin S. Miller wrote: > B. T. Raven wrote: >> i. >> Is there a function or, better yet, a keychord that backspaces (by >> erasing) subdirectory components in the minibuffer. So, if the current >> directory is deeply embedded in the file hierarchy, can I hit a key >> combo to move backwards (upwards toward the root) in the directory tree: >> > > Ed, > In any buffer (with a file), pressing C-x C-j will open a *dired* buffer > containing that file, and move the point to that file's entry. > In a *dired* buffer, it opens the parent directory. > > I'm not sure how to replace the current *dired* buffer with its parent. > > HTH, > Colin S. Miller > > > Thanks, Colin. C-x C-j must be new in ver. 23 since it's undefined by default in my 22.3 distro. In both versions you should be able to replace the current dired buffer with its parent (unless you're in the root) by navigating to the .. entry (e.g. with a series of < or > presses) and then pressing 'a' tnx, Ed