GNU bug report logs - #22300
25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase.

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 22300 <at> debbugs.gnu.org, jwiegley <at> gmail.com, drew.adams <at> oracle.com
Subject: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase.
Date: Mon, 04 Jan 2016 22:24:43 +0200
> Date:  Mon, 04 Jan 2016 11:45:22 -0800
> From:  Keith David Bershatsky <esq <at> lawlist.com>
> Cc:  22300 <at> debbugs.gnu.org,John Wiegley <jwiegley <at> gmail.com>,Drew Adams <drew.adams <at> oracle.com>
> 
> Here is an unsophisticated workaround that bypasses `dired-create-files' when dealing with renaming when (1) 'darwin; (2) just one file; and, (3) the file names of to/from are equal if both are lower-cased.  It doesn't do the fancy cutting/pasting of the new line in dired-mode and instead just reverts the entire buffer.

I have 2 problems with this change:

  . it's IMO wrong to fix this on Dired level, it should be fixed on
    the rename-file level

  . when the filesystem is case-sensitive, the code should work like
    it does today, because then 'foo' and 'FOO' and 'Foo' are all
    different files

Thanks.




This bug report was last modified 8 years and 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.