From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. Date: Mon, 04 Jan 2016 22:24:43 +0200 Message-ID: <83poxh5bzo.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451939125 4861 80.91.229.3 (4 Jan 2016 20:25:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2016 20:25:25 +0000 (UTC) Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com To: Keith David Bershatsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 04 21:25:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aGBgm-0004as-UH for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 21:25:13 +0100 Original-Received: from localhost ([::1]:46983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGBgm-0004g3-0M for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 15:25:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGBgc-0004c4-Il for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 15:25:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGBgb-0005BG-Qb for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 15:25:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGBgb-0005BB-OQ for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 15:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aGBgb-00048G-Ku for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 15:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jan 2016 20:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22300 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22300-submit@debbugs.gnu.org id=B22300.145193909415869 (code B ref 22300); Mon, 04 Jan 2016 20:25:01 +0000 Original-Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 20:24:54 +0000 Original-Received: from localhost ([127.0.0.1]:37924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGBgU-00047t-35 for submit@debbugs.gnu.org; Mon, 04 Jan 2016 15:24:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47297) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGBgT-00047g-37 for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 15:24:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGBgN-00058z-5H for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 15:24:47 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGBgG-00057d-Ee; Mon, 04 Jan 2016 15:24:40 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3384 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGBgF-0002z8-JW; Mon, 04 Jan 2016 15:24:40 -0500 In-reply-to: (message from Keith David Bershatsky on Mon, 04 Jan 2016 11:45:22 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111215 Archived-At: > Date: Mon, 04 Jan 2016 11:45:22 -0800 > From: Keith David Bershatsky > Cc: 22300@debbugs.gnu.org,John Wiegley ,Drew Adams > > 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.