It is not a secret that I am a big fan of Dired. Recently I learned about a thing introduced relatively recently into Emacs, that is, the wdired-create-parent-directories variable. If you set it to a non-nil value, renaming a file or directory in Wdired to something containing one or more slashes will Do The Right Thing. How cool is that?

Also, I have set wdired-allow-to-change-permissions to t, and now I can change file permissions in Wdired with keyboard macros, for instance. (It's probably not much more powerful than good ol' chmod, but it's Emacs!) Consult the manual for the details.

Marcin Borkowski: 2018-12-10 Lesser known Dired stuff

Dired continues to amaze me. It's constantly one of those things I say I will make more use of.

Also on:

Twitter



My original entry is here: Lesser known Dired stuff. It posted Mon, 10 Dec 2018 21:00:04 +0000.

Filed under: emacs,