emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: dired-do-rename on "." and ".."


From: Luc Teirlinck
Subject: Re: dired-do-rename on "." and ".."
Date: Tue, 10 Jun 2003 23:41:33 -0500 (CDT)

I do not know whether the fact that the pre-change behavior of R and
friends is actually the only logical one, is still at issue.  If it
still is, let me try to explain it somewhat more intuitively.  Imagine
one window displaying dired buffer ~/a and one window displaying ~/b.
Assume both ~/a and ~/b contain different files with the same name
"README".  If we put the cursor on README in ~/a and do R specifying
~/b as target directory, and the command succeeds, we have overridden
b's README with a's.  If we do the same with the file named "." in a's
buffer, which actually is ~/a itself, we override the file named "."
in b's buffer, which represents ~/b.  Hence, we rename ~/a to ~/b (if
we succeed, that is, if ~/b is empty).  Why should "." behave
differently from "README"?

Sincerely,

Luc.




reply via email to

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