|
From: | Juri Linkov |
Subject: | bug#9864: 24.0.90; dired/copying+dwim-target : misplaced directory |
Date: | Tue, 25 Oct 2011 07:36:04 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) |
> Create some directories : > > $ find > dest > dest/a > source > source/a > source/a/foo > > Open two dired buffers in source + dest, enable `dired-dwim-target' and > dired-do-copy source/a to dest. Now dest looks like this : > > /tmp/dest > /tmp/dest/a > /tmp/dest/a/a > /tmp/dest/a/a/foo It's unclear what do you expect. If you want to get this: /tmp/dest /tmp/dest/a /tmp/dest/a/foo then you have to remove the final slash in the minibuffer after calling `dired-do-copy'. So instead of: Copy a to: /home/work/emacs/test/dired-dwim/dest/ RET you rather need this: Copy a to: /home/work/emacs/test/dired-dwim/dest RET and then it will ask: Overwrite `/tmp/dest/a'? [Type yn!q or C-h] n and then it's better to answer `n'.
[Prev in Thread] | Current Thread | [Next in Thread] |