unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1532: suggestion: open dir in dired using same buffer
@ 2008-12-10 18:52 xah lee
  0 siblings, 0 replies; only message in thread
From: xah lee @ 2008-12-10 18:52 UTC (permalink / raw)
  To: bug-gnu-emacs

Hi,

I think it is a frequently requested feature to open files or sub dir  
in dired using the same buffer.

perhaps it can be made as a preference in custome-group?

in gnu.emacs.help, Leo suggests that people file a report here or  
else it'll not happen. So here it is. (i think Leo is a emacs  
developer. If not, sorry.)

   Xah
∑ http://xahlee.org/

☄

On Dec 8, 4:00 pm, Xah Lee <xah...@gmail.com> wrote:
 > On Dec 8, 11:04 am, "seber...@spawar.navy.mil"
 >
 > <seber...@spawar.navy.mil> wrote:
 > > When I select a file in Dired, it opens in a new buffer.
 >
 > > The old Dired buffer still exists.
 >
 > > How automatically delete the Dired buffer when I open a new buffer
 > > with a new file from Dired?
 >
 > in dired, you can use the shortcut “a” (which invokes dired-find-
 > alternate-file).
 >
 > Or, you can use this code:
 >
 > (put 'dired-find-alternate-file 'disabled nil)
 >
 > (add-hook 'dired-mode-hook
 >  (lambda ()
 >   (define-key dired-mode-map (kbd "<return>")
 >     'dired-find-alternate-file) ; was dired-advertised-find-file
 >   (define-key dired-mode-map (kbd "^")
 >     (lambda () (interactive) (find-alternate-file "..")))
 >   ; was dired-up-directory
 >  ))
 >
 > you might make it 'enabled ... i don't recall since i stopped using
 > the above.
 >
 > I hope emacs developers makes the above into a dired preference
 > setting.
 >
 > Your question is a recurring question. For some other dired faq, see
 > bottom:
 >
 > • File Management with Emacs
 >  http://xahlee.org/emacs/file_management.html
 >
 >   Xah
 > ∑http://xahlee.org/
 >
 > ☄








^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-10 18:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 18:52 bug#1532: suggestion: open dir in dired using same buffer xah lee

Code repositories for project(s) associated with this public inbox

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

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