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: Tue, 15 Nov 2016 14:59:12 -0500 Message-ID: <6caf09ba-a9b6-743d-546f-cd067ffba177@cornell.edu> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1479240058 14721 195.159.176.226 (15 Nov 2016 20:00:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2016 20:00:58 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Cc: Keith David Bershatsky , Andreas Schwab , Brady Trainor , Michael Albinus , 24441@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 15 21:00:54 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 1c6jts-0006ba-9J for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Nov 2016 21:00:12 +0100 Original-Received: from localhost ([::1]:48510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6jtv-0003Ae-GT for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Nov 2016 15:00:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6jtn-00037e-SS for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2016 15:00:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6jtk-00064a-Si for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2016 15:00:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c6jtk-00064V-PZ for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2016 15:00:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c6jtk-0001X4-J2 for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2016 15:00:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Nov 2016 20:00:04 +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.14792399725808 (code B ref 24441); Tue, 15 Nov 2016 20:00:04 +0000 Original-Received: (at 24441) by debbugs.gnu.org; 15 Nov 2016 19:59:32 +0000 Original-Received: from localhost ([127.0.0.1]:58513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6jtD-0001Vc-Lq for submit@debbugs.gnu.org; Tue, 15 Nov 2016 14:59:32 -0500 Original-Received: from limerock03.mail.cornell.edu ([128.84.13.243]:58982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6jtC-0001VL-1G for 24441@debbugs.gnu.org; Tue, 15 Nov 2016 14:59:30 -0500 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id uAFJxEx1031852; Tue, 15 Nov 2016 14:59:14 -0500 Original-Received: from [10.128.144.239] (dhcp-gs-4335.eduroam.cornell.edu [10.128.144.239]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id uAFJxCQQ011542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 15 Nov 2016 14:59:13 -0500 In-Reply-To: X-PMX-Cornell-Gauge: Gauge=XX 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:125730 Archived-At: 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) > dired-one-file > > 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. Ken