GNU bug report logs -
#22300
25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase.
Previous Next
Reported by: Keith David Bershatsky <esq <at> lawlist.com>
Date: Sun, 3 Jan 2016 20:58:02 UTC
Severity: normal
Merged with 24441
Found in versions 24.5, 25.1.50
Fixed in version 26.1
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 22300-done <at> debbugs.gnu.org (full text, mbox):
> > Hm. I'm curious. How do we know that this is not an Emacs bug?
>
> His description matches something I run into myself all the time, due to
> Emacs's case insensitive filesystem:
>
> 17:10:45 Vulcan:/tmp $ mv foo Foo
> mv: ‘foo’ and ‘Foo’ are the same file
Okay. But (1) he _is_ able to do it using `mv foo Foo', and
(2) MS Windows is also case-insensitive for files and folders,
and I can easily use `R' to rename a directory `foo' to `FOO',
and vice versa. (Emacs asks me to confirm that I want to rename,
but that's all.)
> > I do not understand why this is his error msg:
>
> > Move '/Users/HOME/Desktop/FOO' to '/Users/HOME/Desktop/foo/FOO'
> failed:
> > ^^^ ^^^^^^^
> > (file-error Renaming Invalid argument
> > /Users/HOME/Desktop/FOO/Users/HOME/Desktop/foo/FOO)
>
> Good catch, I hadn't noticed this oddity. Maybe this particular case is a
> real bug.
>
> > Also, I see from Keith's StackExchange question about this that he is able
> > to use `mv FOO foo' to do the renaming without a problem.
> > http://emacs.stackexchange.com/q/19234/105
>
> If that's the case, it sounds like a real bug, I'll reopen.
Thanks.
This bug report was last modified 8 years and 61 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.