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 17:50:55 +0200 Message-ID: <83oad1738g.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451922743 22870 80.91.229.3 (4 Jan 2016 15:52:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2016 15:52:23 +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 16:52:12 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 1aG7QY-0000LK-Ct for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 16:52:10 +0100 Original-Received: from localhost ([::1]:45581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG7QX-0004kx-TU for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 10:52:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG7QT-0004gx-V5 for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 10:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aG7QQ-0008Ay-Ms for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 10:52:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG7QQ-0008Au-JV for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 10:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aG7QQ-0005uD-F9 for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 10:52:02 -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 15:52:02 +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.145192266722627 (code B ref 22300); Mon, 04 Jan 2016 15:52:02 +0000 Original-Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 15:51:07 +0000 Original-Received: from localhost ([127.0.0.1]:37747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7PX-0005st-60 for submit@debbugs.gnu.org; Mon, 04 Jan 2016 10:51:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39054) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7PV-0005sO-0d for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 10:51:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aG7PO-00081v-VD for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 10:50:59 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG7PI-000814-Qf; Mon, 04 Jan 2016 10:50:52 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3026 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aG7PH-0002JM-WC; Mon, 04 Jan 2016 10:50:52 -0500 In-reply-to: (message from Keith David Bershatsky on Sun, 03 Jan 2016 20:19:50 -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:111195 Archived-At: > Date: Sun, 03 Jan 2016 20:19:50 -0800 > From: Keith David Bershatsky > Cc: 22300@debbugs.gnu.org,Drew Adams ,John Wiegley > > (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.