From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: two dired questions Date: Thu, 04 Mar 2010 15:15:45 +0100 Organization: Organization?!? Message-ID: <87r5o0cgvi.fsf@lola.goethe.zz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272988651 30443 80.91.229.12 (4 May 2010 15:57:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 15:57:31 +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 17:57:30 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 1O9KUy-0008KK-BX for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 17:57:28 +0200 Original-Received: from localhost ([127.0.0.1]:38645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9KUx-0005Gl-UP for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 11:57:27 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-1.dfn.de!news.dfn.de!newsfeed.straub-nv.de!news.unit0.net!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) Cancel-Lock: sha1:fl2ujD7msodUyeL4lyaS1xeATFw= Original-Lines: 57 Original-NNTP-Posting-Date: 04 Mar 2010 15:15:45 CET Original-NNTP-Posting-Host: 312fe0c0.newsspool3.arcor-online.net Original-X-Trace: DXC=TKWQobQh[XIC4i^e1BZ=_HMcF=Q^Z^V3H4Fo<]lROoRA8kF5MOK` 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:72902 Archived-At: "B. T. Raven" writes: > 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: > > c:\abc\def\ghi\jkl > becomes > c:\abc\def\ghi > then > c:\abc\def > M-DEL (translated from ) runs the command backward-kill-word, which is an interactive compiled Lisp function in `simple.el'. It is bound to , M-DEL. (backward-kill-word ARG) Kill characters backward until encountering the beginning of a word. With argument ARG, do this that many times. > ii. > Is there a setting that overwrites the dired buffer with the new one > navigated to (or alternatively kills the one navigated from), so that > there is only one dired buffer at a time instead of a long trail of them? dired-find-alternate-file is an interactive compiled Lisp function in `dired.el'. (dired-find-alternate-file) In Dired, visit this file or directory instead of the dired buffer. [back] Or more generally: C-x C-v runs the command find-alternate-file, which is an interactive compiled Lisp function in `files.el'. It is bound to C-x C-v. (find-alternate-file FILENAME &optional WILDCARDS) Find file FILENAME, select its buffer, kill previous buffer. -- David Kastrup