unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: dired in one buffer
Date: Fri, 18 Aug 2006 16:18:17 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICIEEPDIAA.drew.adams@oracle.com> (raw)
In-Reply-To: <20060816.092016.26494.579978@webmail51.nyc.untd.com>

    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').

  reply	other threads:[~2006-08-18 23:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 16:19 dired in one buffer Jay Bingham
2006-08-18 23:18 ` Drew Adams [this message]
2006-08-20  8:24   ` Dieter Wilhelm
2006-08-20 19:26     ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2006-08-16 11:06 Bourgneuf Francois
     [not found] <mailman.5219.1155721985.9609.help-gnu-emacs@gnu.org>
2006-08-16 10:09 ` Johan Bockgård
2006-08-16 10:44 ` Torsten Mueller
2006-08-18  8:37   ` henning
     [not found]   ` <mailman.5319.1155906765.9609.help-gnu-emacs@gnu.org>
2006-08-18 13:32     ` Torsten Mueller
2006-08-16 11:57 ` robert.thorpe
2006-08-16  9:53 henning
2006-08-16 10:41 ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICIEEPDIAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).