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

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

bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCA


From: Eli Zaretskii
Subject: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase.
Date: Mon, 04 Jan 2016 17:50:55 +0200

> Date:  Sun, 03 Jan 2016 20:19:50 -0800
> From:  Keith David Bershatsky <address@hidden>
> Cc:  address@hidden,Drew Adams <address@hidden>,John Wiegley <address@hidden>
> 
>   (let ((default-directory "/Users/HOME/Desktop/"))
>     (rename-file "/Users/HOME/Desktop/FOO" "/Users/HOME/Desktop/foo" 
> 'ok-if-already-exists))
> 
> which yields the following debugger output:
> 
>   (file-error "Renaming" "Invalid argument" "/Users/HOME/Desktop/FOO" 
> "/Users/HOME/Desktop/foo/FOO")

This is expected, if your filesystem is case-insensitive.  See my
other messages for the explanation why.

The question is: are all OS X filesystems case-insensitive.  If they
are, we just need to reuse the DOS_NT code that's already in
rename-file.





reply via email to

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