help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a directory while moving a file?


From: Nicolas Richard
Subject: Re: How to create a directory while moving a file?
Date: Thu, 23 Jul 2015 17:43:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:

> Hi all,
>
> quite often I'm moving a file in Dired (using `R'), and I realize that
> a directory I'd like my file to be in is nonexistent.  So I C-g, do
> dired-create-directory, and then `R' and `M-p'.

I have enable-recursive-minibuffers, so i usually do:
C-SPC C-a M-w ; copy whatever is in the minibuffer
M-x m k d i r RET C-y RET ; create that
and continue from there.

I admit it would be nice if this was done automagically.

-- 
Nico



reply via email to

[Prev in Thread] Current Thread [Next in Thread]