all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jeff.rancier@softechnics.com (Jeffery B. Rancier)
Subject: Re: Changing "open file" buffer handling
Date: Wed, 05 Mar 2003 10:48:13 -0500	[thread overview]
Message-ID: <uisuxstky.fsf@softechnics.com> (raw)
In-Reply-To: 1159.130.237.161.117.1046862928.squirrel@www.dsv.su.se

Niclas Blomqvist <niclas-b@dsv.su.se> writes:

> When I use C-x C-f to open a directory buffer and then use Enter key to
> navigate through directories until I finally find the desired file, Emacs
> leaves me with a buffer list containing every directory buffer I have
> visited on the way. Is there a setting that can be changed so that walking
> through directories updates the current buffer until I reach my file
> instead of creating a new buffer for every new directory?
>
> Thx
> //Niclas Blomquist

-- 

I recently asked the same thing, the answer was to use the following:

,----[ C-h f dired-maybe-insert-subdir RET ]
| dired-maybe-insert-subdir is an interactive autoloaded Lisp function in `dired-aux'.
| [Arg list not available until function definition is loaded.]
| 
| Insert this subdirectory into the same dired buffer.
| If it is already present, just move to it (type M-x dired-do-redisplay to refresh),
|   else inserts it at its natural place (as `ls -lR' would have done).
| With a prefix arg, you may edit the ls switches used for this listing.
|   You can add `R' to the switches to expand the whole tree starting at
|   this subdirectory.
| This function takes some pains to conform to `ls -lR' output.
`----

Jeff

  reply	other threads:[~2003-03-05 15:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 11:15 Changing "open file" buffer handling Niclas Blomqvist
2003-03-05 15:48 ` Jeffery B. Rancier [this message]
2003-03-05 16:34 ` Changing open file " Ehud Karni
2003-03-05 18:28   ` Jeffery B. Rancier
2003-03-05 20:16     ` Ehud Karni
     [not found]   ` <mailman.2808.1046888898.21513.help-gnu-emacs@gnu.org>
2003-03-05 19:43     ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2003-03-05 16:31 Changing "open file" " Ed Rubinsky

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

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

  git send-email \
    --in-reply-to=uisuxstky.fsf@softechnics.com \
    --to=jeff.rancier@softechnics.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.