By default, dired creates new buffers when visiting new directories. Sometimes this is desired, especially when you need to visualize the contents of two separate directories; however, when you’re just navigating around, all the extra buffers tend to clutter your buffer list. Typical navigation is done with dired-find-file (bound to f, RET, or e) or […]
Entries Tagged as 'dired'
February 25th, 2007 by Ryan McGeary · 1 Comment
February 8th, 2007 by Ryan McGeary · 7 Comments
By default, dired only deletes empty directories. You know the drill. Put your point on the directory, D, y (yes), “file-error Removing directory directory not empty,” (slam fist on table). Doh! Fortunately, dired supports deleting directories recursively. Add this to your .emacs: (setq dired-recursive-deletes ‘top) The dired-recursive-deletes variable decides whether recursive deletes are allowed. This […]