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: 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.




reply via email to

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