Re: Dangerous behavior when copying to current directory

2005-03-16 Thread Richard Stallman
Your fix works only for the case where a specified directory has no final slash. But after invoking M-x copy-file or M-x rename-file the default initial value for the second argument has a final slash, e.g. `/tmp/'. Since `copy-file' and `rename-file' have interactive specific

Re: Dangerous behavior when copying to current directory

2005-03-15 Thread Juri Linkov
Richard Stallman <[EMAIL PROTECTED]> writes: > I found a way to fix this to do what people want. Your fix works only for the case where a specified directory has no final slash. But after invoking M-x copy-file or M-x rename-file the default initial value for the second argument has a final slash

Re: Dangerous behavior when copying to current directory

2005-03-10 Thread Richard Stallman
I found a way to fix this to do what people want. ___ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Re: Dangerous behavior when copying to current directory

2005-03-10 Thread David Kastrup
Richard Stallman <[EMAIL PROTECTED]> writes: > It is not very dangerous, since it asks the user for confirmation. I just have been bitten by something even worse: namely rename-file. I wanted to move a file into some other directory. So I did M-x rename-file RET somefilename RET /tmp RET then I

Re: Dangerous behavior when copying to current directory

2005-03-06 Thread Richard Stallman
It is not very dangerous, since it asks the user for confirmation. But it may be inconvenient and annoying. I agree it would be better to change this. It is not easy to do, since there is no way for a C primitive to use Lisp code to read the arguments. ___

Dangerous behavior when copying to current directory

2005-03-03 Thread David Kastrup
This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailin