GNU bug report logs - #9864
24.0.90; dired/copying+dwim-target : misplaced directory

Previous Next

Package: emacs;

Reported by: Andreas Politz <politza <at> fh-trier.de>

Date: Mon, 24 Oct 2011 21:11:01 UTC

Severity: normal

Found in version 24.0.90

Full log


Message #8 received at 9864 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Andreas Politz <politza <at> fh-trier.de>
Cc: 9864 <at> debbugs.gnu.org
Subject: Re: bug#9864: 24.0.90; dired/copying+dwim-target : misplaced directory
Date: Tue, 25 Oct 2011 07:36:04 +0300
> 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'.




This bug report was last modified 13 years and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.