From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. Date: Mon, 04 Jan 2016 12:51:01 -0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1451940741 30804 80.91.229.3 (4 Jan 2016 20:52:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2016 20:52:21 +0000 (UTC) Cc: 22300@debbugs.gnu.org, John Wiegley To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 04 21:52:10 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 1aGC6r-0003Yf-Lv for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 21:52:09 +0100 Original-Received: from localhost ([::1]:47099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGC6r-0008Ew-4X for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jan 2016 15:52:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGC6n-0008Ek-VU for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 15:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGC6k-00034B-PO for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 15:52:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGC6k-000341-MQ for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 15:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aGC6k-0004m5-Bp for bug-gnu-emacs@gnu.org; Mon, 04 Jan 2016 15:52:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jan 2016 20: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.145194067118291 (code B ref 22300); Mon, 04 Jan 2016 20:52:02 +0000 Original-Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 20:51:11 +0000 Original-Received: from localhost ([127.0.0.1]:37934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGC5v-0004kw-GV for submit@debbugs.gnu.org; Mon, 04 Jan 2016 15:51:11 -0500 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:58430) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGC5u-0004kk-0Y for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 15:51:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date; bh=fFaaO0qAO3KT4hghik7F7+07iyBW3eOlo3q4KgEMutc=; b=CPLMDu2XmyYLa9kVybVO+K54PowPSWXIM+9OP40RcYl0v24IC3nRmk5UdTucdQnejVAZw+mIBQ8NT72t+T5Jg+NQcd2zaS4W2UktBiqf5yuSbfiPVG248SbBvfaCOnKv; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:50943 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aGC5j-0000Qf-CR; Mon, 04 Jan 2016 15:50:59 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: acl_c_relayhosts_text_entry: lawlist|lawlist.com 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:111217 Archived-At: I agree that `rename-file` could use a fix. Once `rename-file` is ironed out on the C-source code level, I believe the tail end of `dired-do-create-files` will also need to be fixed because the `name-constructor` (function (lambda (from) (expand-file-name (file-name-nondirectory from) target))) returns the wrong path when used by dired-create-files. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22300#29 So, I believe it will be both areas of Emacs that need some TLC. Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Mon, 04 Jan 2016 22:24:43 +0200, Eli Zaretskii wrote: > > * * * > > 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.