[Top][All Lists]

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

bug#24441: 24.5; rename directory in dired to change case

From: Ken Brown
Subject: bug#24441: 24.5; rename directory in dired to change case
Date: Tue, 15 Nov 2016 14:59:12 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/14/2016 3:33 PM, Paul Eggert wrote:
1. Emacs seems to conflate whether a file system is case-sensitive, and
whether it is case-preserving. Darwin pathconf distinguishes between
_PC_CASE_SENSITIVE and _PC_CASE_PRESERVING. For example, perhaps the
following code in dired-do-create-files:

               (if (and (file-name-case-insensitive-p (car fn-list))
                    (eq op-symbol 'move)

should also check whether (car fn-list) is on a case-preserving file
system (if not, there's no point going ahead, as the user can't change
the case anyway). I suppose this would require adding a Lisp predicate
for _PC_CASE_PRESERVING. (Possibly the MS-Windows code already deals
with this, and Cygwin and macOS are currently broken.)

I'm not aware of any reported problems on non-case-preserving filesystems. Unless someone reports such a problem, my inclination is to leave things as they are.


reply via email to

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