From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#24441: 24.5; rename directory in dired to change case Date: Thu, 10 Nov 2016 20:42:53 -0500 Message-ID: <61dc70de-7dfc-269c-e974-839f8d138d33@cornell.edu> References: < < <<3c49fbe5-9ae0-4ae2-8fa0-3c44fa85c981@default> <<83d1k56wwt.fsf@gnu.org> <7a1c7e15-4d84-400d-9735-a72a31408d6b@default> <834m5h6vg3.fsf@gnu.org> <5965f396-a65a-3d70-e67e-c3d680fe9e65@cornell.edu> <83zin95ddg.fsf@gnu.org> <8da158f4-21bb-8fb8-a56d-21d4cd967109@cornell.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1558F6535EF9F76A97D75B89" X-Trace: blaine.gmane.org 1478828665 500 195.159.176.226 (11 Nov 2016 01:44:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2016 01:44:25 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Cc: 24441@debbugs.gnu.org, schwab@suse.de, brady@bradyt.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 11 02:44:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c50t4-00078d-6f for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Nov 2016 02:44:14 +0100 Original-Received: from localhost ([::1]:50236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c50t7-0000pe-Ax for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Nov 2016 20:44:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c50sw-0000nu-PY for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 20:44:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c50ss-000665-RE for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 20:44:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37471) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c50ss-00065n-OS for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 20:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c50ss-0006ny-Fw for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 20:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Nov 2016 01:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24441-submit@debbugs.gnu.org id=B24441.147882858726088 (code B ref 24441); Fri, 11 Nov 2016 01:44:02 +0000 Original-Received: (at 24441) by debbugs.gnu.org; 11 Nov 2016 01:43:07 +0000 Original-Received: from localhost ([127.0.0.1]:52870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c50rz-0006mi-FD for submit@debbugs.gnu.org; Thu, 10 Nov 2016 20:43:07 -0500 Original-Received: from limerock02.mail.cornell.edu ([128.84.13.242]:56525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c50rx-0006mE-T0 for 24441@debbugs.gnu.org; Thu, 10 Nov 2016 20:43:06 -0500 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id uAB1gwmr018294; Thu, 10 Nov 2016 20:42:58 -0500 Original-Received: from [192.168.1.5] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id uAB1guXg003017 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 10 Nov 2016 20:42:57 -0500 In-Reply-To: <8da158f4-21bb-8fb8-a56d-21d4cd967109@cornell.edu> X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; 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" Xref: news.gmane.org gmane.emacs.bugs:125598 Archived-At: This is a multi-part message in MIME format. --------------1558F6535EF9F76A97D75B89 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 11/10/2016 5:25 PM, Ken Brown wrote: > The attached patch attempts to do this for both Cygwin and OS X. I > don't have access to an OS X system, so someone else will have to test > the OS X part. Here's a simpler version. Ken --------------1558F6535EF9F76A97D75B89 Content-Type: text/plain; charset=UTF-8; name="0001-Check-case-sensitivity-when-renaming-files.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Check-case-sensitivity-when-renaming-files.patch" RnJvbSAxZWE2NzIwZTlkMmUzNGM3YWUzNjMyM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