[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired-do-rename on "." and ".."
From: |
Richard Stallman |
Subject: |
Re: dired-do-rename on "." and ".." |
Date: |
Tue, 10 Jun 2003 20:24:45 -0400 |
If, in directory ~/a, you put the cursor on `.', then I believe that
typing R, C ,S and H and then specifying ~/b as target directory,
assuming that they are going to do anything else than throwing an
error, all should do what they _all_ (and not just R) used to do
before your patch: warn that you are about to overwrite ~/b.
That's assuming directory ~/b exists. If it doesn't, then R
would do something bizarre.
So I believe R should refuse to operate on ., and C also.
That is the current behavior.
However, there's no reason S, H, M, etc. should not allow
these special dir names.
The trick is that "." and ".." are string constants, whereas the
notion that . in ~/a should act exactly like a in ~/ treats them as
variables, which they are not.
Sorry, you have lost me here.
- Re: dired-do-rename on "." and "..", (continued)
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/07
- Re: dired-do-rename on "." and "..", Markus Rost, 2003/06/07
- Re: dired-do-rename on "." and "..", Richard Stallman, 2003/06/09
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/09
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/09
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/09
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/09
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/09
- Re: dired-do-rename on "." and "..", Richard Stallman, 2003/06/10
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/10
- Re: dired-do-rename on "." and "..",
Richard Stallman <=
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/10
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/11
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/11
- Re: dired-do-rename on "." and "..", Richard Stallman, 2003/06/08
- Re: dired-do-rename on "." and "..", Richard Stallman, 2003/06/08
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/08
- Re: dired-do-rename on "." and "..", Richard Stallman, 2003/06/09
- Re: dired-do-rename on "." and "..", Luc Teirlinck, 2003/06/09
- Re: dired-do-rename on "." and "..", Richard Stallman, 2003/06/09
- Re: dired-do-rename on "." and "..", Richard Stallman, 2003/06/04