From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 15:57:50 2016 Received: (at submit) by debbugs.gnu.org; 3 Jan 2016 20:57:50 +0000 Received: from localhost ([127.0.0.1]:36922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFpin-0005uW-VC for submit@debbugs.gnu.org; Sun, 03 Jan 2016 15:57:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49735) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFpim-0005uK-6U for submit@debbugs.gnu.org; Sun, 03 Jan 2016 15:57:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFpif-0004yC-Me for submit@debbugs.gnu.org; Sun, 03 Jan 2016 15:57:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFpif-0004y8-JU for submit@debbugs.gnu.org; Sun, 03 Jan 2016 15:57:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFpie-0005yy-7C for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 15:57:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFpia-0004xk-Vr for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 15:57:40 -0500 Received: from cobb.liquidweb.com ([50.28.13.150]:48929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFpia-0004xT-PE for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 15:57:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:From:Message-ID:Date; bh=T0jPbuIfoOcdYDeuy/eYonN7aWztUwlSWZD6u/qFHjM=; b=U7AIdZ6KZklusu57nPSZCWjlE8OSJfNMAYixK0M7fXiV61SZ2ghig3UXWFFzEwd4bvBLuEu9hRA/2P7XF+Yex0sBTCBsTIWLfE28XU2vd0ogVltYzq3MTyI0Us59wL/u; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:50759 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aFpiP-00033t-6Y for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 15:57:25 -0500 Date: Sun, 03 Jan 2016 12:57:27 -0800 Message-ID: From: Keith David Bershatsky To: bug-gnu-emacs@gnu.org Subject: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 - 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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On an Emacs build (master branch), using Emacs -Q, I am unable to change files and folders in dired-mode from CamelCase/UPPERCASE/lowercase. A folder named `FOO` cannot be changed to `foo` using `dired-do-rename`. Move ‘/Users/HOME/Desktop/FOO’ to ‘/Users/HOME/Desktop/foo/FOO’ failed: (file-error Renaming Invalid argument /Users/HOME/Desktop/FOO /Users/HOME/Desktop/foo/FOO) Any ideas how to accomplish this on OSX with drives that are formatted as Mac OS Extended (Journaled)? Thanks, Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.1.50.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549)) of 2015-12-07 Repository revision: 6148555ee5a3d0139ae517803718b3e0357933c7 Windowing system distributor 'Apple', version 10.3.1038 Configured using: 'configure --with-ns --without-imagemagick --enable-checking=glyphs CPPFLAGS=-I/Users/HOME/.0.data/.0.emacs/macports/include LDFLAGS=-L/Users/HOME/.0.data/.0.emacs/macports/lib' Configured features: JPEG RSVG DBUS NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: locale-coding-system: utf-8-unix Major mode: FM Minor modes in effect: tb-mode: t sb-mode: t ml-mode: t ds-mode: t sd-mode: t bc-mode: t Recent messages: Load-path shadows: None found. Features: (shadow emacsbug message mml mml-sec mm-decode mm-bodies mm-encode gmm-utils mailheader sendmail lawlist-ztree lawlist-ys lawlist-ws lawlist-wl elmo-imap4 elmo-localdir modb-standard modb-legacy elmo-internal elmo-flag mmelmo-imap mmelmo-buffer elsp-generic mel-u epg-config lawlist-w3m doc-view jka-compr image-mode ccl lawlist-vl lawlist-view lawlist-undo lawlist-txt lawlist-tm lawlist-tex compare-w diff-mode lawlist-tabbar lawlist-speedbar lawlist-shell info esh-groups ehelp ange-ftp lawlist-sgml lawlist-sb lawlist-ruler lawlist-replace lawlist-rectangle lawlist-re-builder lawlist-python skeleton lawlist-profiler lawlist-print lawlist-php cl-seq cc-langs lawlist-perl lawlist-parens lawlist-org lawlist-calendar org-agenda org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func holidays hol-loaddefs cal-menu calendar cal-loaddefs lawlist-neotree lawlist-movement lawlist-mouse lawlist-ml lawlist-misc lawlist-messages lawlist-mc lawlist-markdown noutline outline lawlist-lorem lawlist-linum lawlist-keymap lawlist-js json map thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs lawlist-ispell lawlist-isearch lawlist-info lawlist-imenu lawlist-ibuffer lawlist-hl lawlist-grep lawlist-git pcvs-util ido seq server conf-mode lawlist-framebufs lawlist-frame lawlist-fm lawlist-files zeroconf dbus xml lawlist-env lawlist-elscreen lawlist-elisp lawlist-dv lawlist-image lawlist-ds lawlist-dired dired format-spec lawlist-diff lawlist-desktop frameset lawlist-saveplace lawlist-debug lawlist-window debug lawlist-css smie lawlist-compile rx lawlist-color lawlist-cm lawlist-cc lawlist-font-lock cl-macs lawlist-calc lawlist-calc+ lawlist-bk lawlist-bc lawlist-bbdb gnus gnus-ems nnheader mail-utils wid-edit mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-extr rfc822 timezone lawlist-minibuffer gv lawlist-auth gnus-util mm-util help-fns mail-prsvr password-cache lawlist-as lawlist-archive lawlist-apropos lawlist-+ lawlist-lcl byte-opt bytecomp byte-compile cl-extra cconv lawlist-help disp-table easy-mmode edmacro kmacro quail help-mode easymenu cl-loaddefs cl-lib pcase derived advice shell pcomplete comint ansi-color ring savehist time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 2354572 210705) (symbols 48 86149 13) (miscs 40 615 539) (strings 32 193947 18434) (string-bytes 1 7215369) (vectors 16 37672) (vector-slots 8 1005865 24059) (floats 8 2731 483) (intervals 56 602 119) (buffers 976 12)) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 16:13:33 2016 Received: (at 22300-done) by debbugs.gnu.org; 3 Jan 2016 21:13:33 +0000 Received: from localhost ([127.0.0.1]:36930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFpy1-0006Hx-L7 for submit@debbugs.gnu.org; Sun, 03 Jan 2016 16:13:33 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36234) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFpxz-0006HV-1f for 22300-done@debbugs.gnu.org; Sun, 03 Jan 2016 16:13:31 -0500 Received: by mail-pa0-f52.google.com with SMTP id yy13so94131144pab.3 for <22300-done@debbugs.gnu.org>; Sun, 03 Jan 2016 13:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=WohwGhProLFmWX8CRHgnW885qBSfOyMwNJCPxH+I3SQ=; b=Nlw6NsNlZ5QBNKo11fPsX+6fRZAariZlYh7/+I6DzpyHBvjKh2Tuh1RDYPF3+OA+hA 5DjiaezML0ETA+4ZfDrPIvB3OmQNt/cyRuCWX8KnFpVzKJCRz1VR5JYOcFt1qEnt6n4c 9GV3InloRIPDTJmE8thG3KltGkMQznkdUGcOZXCYXFsRiEi12fqRKe3aCGqnbZJ8za5y SktzFZ6XBOMzgDRIhdxG6iiIvjmKpVPrWYgfW3tjlN6MAwaYM4zvK+s/a0SIPDgPhm8t M+U63fDgX0KaC2nro5vCvsp8qnTybC7cjaJsLl8TNV6Y5C6b6PNvAfMoPPEhF7Fx5mFW nfig== X-Received: by 10.66.153.198 with SMTP id vi6mr122110512pab.37.1451855605006; Sun, 03 Jan 2016 13:13:25 -0800 (PST) Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id q27sm72345158pfi.83.2016.01.03.13.13.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 03 Jan 2016 13:13:24 -0800 (PST) From: John Wiegley X-Google-Original-From: "John Wiegley" Received: by Vulcan.local (Postfix, from userid 501) id ADB8E12000B0F; Sun, 3 Jan 2016 13:13:23 -0800 (PST) To: Keith David Bershatsky Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. In-Reply-To: (Keith David Bershatsky's message of "Sun, 03 Jan 2016 12:57:27 -0800") Date: Sun, 03 Jan 2016 13:10:27 -0800 Message-ID: References: User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300-done Cc: 22300-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>>>> Keith David Bershatsky writes: > Any ideas how to accomplish this on OSX with drives that are formatted as > Mac OS Extended (Journaled)? Hi Keith, Since this is not an Emacs bug, I'm closing this report, but here is what I do that should work for you: 1. Rename the file to 'x'. 2. Rename 'x' to the correctly cased name. Copy the name to the kill-ring before #1, so that you can paste it in when asked by #2. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 19:47:43 2016 Received: (at 22300-done) by debbugs.gnu.org; 4 Jan 2016 00:47:43 +0000 Received: from localhost ([127.0.0.1]:37005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFtJG-0004V8-Ow for submit@debbugs.gnu.org; Sun, 03 Jan 2016 19:47:42 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:21302) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFtJE-0004Uu-JJ for 22300-done@debbugs.gnu.org; Sun, 03 Jan 2016 19:47:41 -0500 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u040lYHM018809 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 00:47:34 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u040lXMg017392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 00:47:33 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u040lX5O011361; Mon, 4 Jan 2016 00:47:33 GMT MIME-Version: 1.0 Message-ID: Date: Sun, 3 Jan 2016 16:47:32 -0800 (PST) From: Drew Adams To: John Wiegley , Keith David Bershatsky Subject: RE: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22300-done Cc: 22300-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Since this is not an Emacs bug, I'm closing this report, but here is what= I > do that should work for you: >=20 > 1. Rename the file to 'x'. > 2. Rename 'x' to the correctly cased name. >=20 > Copy the name to the kill-ring before #1, so that you can paste it in whe= n > asked by #2. Hm. I'm curious. How do we know that this is not an Emacs bug? I do not understand why this is his error msg: Move '/Users/HOME/Desktop/FOO' to '/Users/HOME/Desktop/foo/FOO' failed: ^^^ ^^^^^^^ (file-error Renaming Invalid argument=20 /Users/HOME/Desktop/FOO/Users/HOME/Desktop/foo/FOO) That looks peculiar, if all he did was hit `R' on a directory name. That message seems to be saying that Emacs asked the OS to move directory .../FOO to .../foo/FOO. That doesn't seem like the right thing for Emacs to do. Seems like Emacs should have asked the OS to move .../FOO to .../foo (without the trailing /FOO). Am I missing something? Also, I see from Keith's StackExchange question about this that he is able to use `mv FOO foo' to do the renaming without a problem. http://emacs.stackexchange.com/q/19234/105 From unknown Sat Aug 16 19:21:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Mon, 04 Jan 2016 01:13:01 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 20:12:18 2016 Received: (at 22300-done) by debbugs.gnu.org; 4 Jan 2016 01:12:18 +0000 Received: from localhost ([127.0.0.1]:37026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFth4-000557-9s for submit@debbugs.gnu.org; Sun, 03 Jan 2016 20:12:18 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:35051) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFth2-00054o-Od for 22300-done@debbugs.gnu.org; Sun, 03 Jan 2016 20:12:17 -0500 Received: by mail-pf0-f177.google.com with SMTP id 78so194874201pfw.2 for <22300-done@debbugs.gnu.org>; Sun, 03 Jan 2016 17:12:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=8kYMA3Jm05sbUhBkPGMyVJ0I0MW08bFpQCMiFO0T0zM=; b=YLhM9O7e8yQuTwGQ9ibgmM1s1OtRMw/gNV0fA3zm8rqQ8R8jWlylCYeZ62MOKmfhGs fe+FmlpDxX4Zbeuit/eyVUxsdVgi9S9FYxvLLFaOlJL4ueNPLAo7z4XHFfAgsyQlN3ek fpR+z6uJScIEOJXTgdcTzT2+m2eWD78tUjEWWug5jjNrmRON8yXnFu30PX0SR8ITONOd syLZFC5Fg0b+EzI08+vUswmO/Xr/IwuQMK1IwI8GeuN2MZ2Au1LzcCtWJu683ylwxTSC aiqFUgL93hnU15FzPOEri1F/ZWWIh2cRhcEZ3kQ44q2YUQKkJJmAguleC4Z3lPsD24wM MtAw== X-Received: by 10.98.86.201 with SMTP id h70mr111702347pfj.117.1451869931190; Sun, 03 Jan 2016 17:12:11 -0800 (PST) Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id 204sm101115950pfc.67.2016.01.03.17.12.09 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 03 Jan 2016 17:12:09 -0800 (PST) From: John Wiegley X-Google-Original-From: "John Wiegley" Received: by Vulcan.local (Postfix, from userid 501) id 32BE61201320A; Sun, 3 Jan 2016 17:12:09 -0800 (PST) To: Drew Adams Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. In-Reply-To: (Drew Adams's message of "Sun, 3 Jan 2016 16:47:32 -0800 (PST)") Date: Sun, 03 Jan 2016 17:11:45 -0800 Message-ID: References: User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300-done Cc: 22300-done@debbugs.gnu.org, Keith David Bershatsky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>>>> Drew Adams writes: > Hm. I'm curious. How do we know that this is not an Emacs bug? His description matches something I run into myself all the time, due to Emacs's case insensitive filesystem: 17:10:45 Vulcan:/tmp $ mv foo Foo mv: =E2=80=98foo=E2=80=99 and =E2=80=98Foo=E2=80=99 are the same file > I do not understand why this is his error msg: > Move '/Users/HOME/Desktop/FOO' to '/Users/HOME/Desktop/foo/FOO' faile= d: > ^^^ ^^^^^^^ > (file-error Renaming Invalid argument=20 > /Users/HOME/Desktop/FOO/Users/HOME/Desktop/foo/FOO) Good catch, I hadn't noticed this oddity. Maybe this particular case is a r= eal bug. > Also, I see from Keith's StackExchange question about this that he is able > to use `mv FOO foo' to do the renaming without a problem. > http://emacs.stackexchange.com/q/19234/105 If that's the case, it sounds like a real bug, I'll reopen. --=20 John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 20:37:48 2016 Received: (at 22300-done) by debbugs.gnu.org; 4 Jan 2016 01:37:48 +0000 Received: from localhost ([127.0.0.1]:37041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFu5j-0007KN-RT for submit@debbugs.gnu.org; Sun, 03 Jan 2016 20:37:48 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:39244) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFu5h-0007K6-W5 for 22300-done@debbugs.gnu.org; Sun, 03 Jan 2016 20:37:46 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u041bd83030365 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 01:37:40 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u041bd4J018981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 01:37:39 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u041bcrw001674; Mon, 4 Jan 2016 01:37:39 GMT MIME-Version: 1.0 Message-ID: <45748772-3d35-49f5-a350-5d04d023fd23@default> Date: Sun, 3 Jan 2016 17:37:37 -0800 (PST) From: Drew Adams To: John Wiegley Subject: RE: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22300-done Cc: 22300-done@debbugs.gnu.org, Keith David Bershatsky X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Hm. I'm curious. How do we know that this is not an Emacs bug? >=20 > His description matches something I run into myself all the time, due to > Emacs's case insensitive filesystem: >=20 > 17:10:45 Vulcan:/tmp $ mv foo Foo > mv: =E2=80=98foo=E2=80=99 and =E2=80=98Foo=E2=80=99 are the same file Okay. But (1) he _is_ able to do it using `mv foo Foo', and (2) MS Windows is also case-insensitive for files and folders, and I can easily use `R' to rename a directory `foo' to `FOO', and vice versa. (Emacs asks me to confirm that I want to rename, but that's all.) > > I do not understand why this is his error msg: >=20 > > Move '/Users/HOME/Desktop/FOO' to '/Users/HOME/Desktop/foo/FOO' > failed: > > ^^^ ^^^^^^^ > > (file-error Renaming Invalid argument > > /Users/HOME/Desktop/FOO/Users/HOME/Desktop/foo/FOO) >=20 > Good catch, I hadn't noticed this oddity. Maybe this particular case is a > real bug. >=20 > > Also, I see from Keith's StackExchange question about this that he is a= ble > > to use `mv FOO foo' to do the renaming without a problem. > > http://emacs.stackexchange.com/q/19234/105 >=20 > If that's the case, it sounds like a real bug, I'll reopen. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 22:31:48 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 03:31:48 +0000 Received: from localhost ([127.0.0.1]:37051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFvs4-0001XC-KW for submit@debbugs.gnu.org; Sun, 03 Jan 2016 22:31:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35974) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFvs3-0001Wz-7m for 22300@debbugs.gnu.org; Sun, 03 Jan 2016 22:31:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFvrs-000245-4G for 22300@debbugs.gnu.org; Sun, 03 Jan 2016 22:31:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFvrs-000241-14; Sun, 03 Jan 2016 22:31:36 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2762 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aFvrr-00059F-Dg; Sun, 03 Jan 2016 22:31:35 -0500 Date: Mon, 04 Jan 2016 05:31:38 +0200 Message-Id: <83k2nq81gl.fsf@gnu.org> From: Eli Zaretskii To: Keith David Bershatsky In-reply-to: (message from Keith David Bershatsky on Sun, 03 Jan 2016 12:57:27 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sun, 03 Jan 2016 12:57:27 -0800 > From: Keith David Bershatsky > > On an Emacs build (master branch), using Emacs -Q, I am unable to change files and folders in dired-mode from CamelCase/UPPERCASE/lowercase. > > A folder named `FOO` cannot be changed to `foo` using `dired-do-rename`. > > Move ‘/Users/HOME/Desktop/FOO’ to ‘/Users/HOME/Desktop/foo/FOO’ failed: > (file-error Renaming Invalid argument /Users/HOME/Desktop/FOO /Users/HOME/Desktop/foo/FOO) Why is it trying to make a directory into a subdirectory of itself? From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 23:20:03 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 04:20:03 +0000 Received: from localhost ([127.0.0.1]:37063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFwck-0002cu-LF for submit@debbugs.gnu.org; Sun, 03 Jan 2016 23:20:02 -0500 Received: from cobb.liquidweb.com ([50.28.13.150]:36125) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFwci-0002cJ-Sa for 22300@debbugs.gnu.org; Sun, 03 Jan 2016 23:20:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date; bh=z5lCT6iqjSmrr2wWZQlAjOwIJgqn09TRe1Up9Nc1fmg=; b=2zZpxLvfbe69L7cubzPqvSz5t1tmRAi492hyHdKga8njsLAcf1MPRY1iU5qT5UffSEB1AO1QI4LSBwC9K1Q+1xLsUvoKh2bJ1LuKIOtqRVV4ggbY8HppNPmk7IwFclEg; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:54097 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aFwcW-0004m2-7C; Sun, 03 Jan 2016 23:19:48 -0500 Date: Sun, 03 Jan 2016 20:19:50 -0800 Message-ID: From: Keith David Bershatsky To: Eli Zaretskii Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, John Wiegley , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I won't be of very much help debugging the C-source code issue of `rename-file`: (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") However, part of the `dired` problem stems from the outset of `dired-create-files' when the let-bound variable `to' is initially set based on the `name-constructor': name-constructor: (lambda (from) (expand-file-name (file-name-nondirectory from) target)) from: "/Users/HOME/Desktop/FOO" target: "/Users/HOME/Desktop/foo" Put it all together and we have: (funcall (lambda (from) (expand-file-name (file-name-nondirectory from) "/Users/HOME/Desktop/foo" )) "/Users/HOME/Desktop/FOO") Which yields the erroneous `to`: "/Users/HOME/Desktop/foo/FOO" Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Mon, 04 Jan 2016 05:31:38 +0200, Eli Zaretskii wrote: > > Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. > > > Date: Sun, 03 Jan 2016 12:57:27 -0800 > > From: Keith David Bershatsky > > > > On an Emacs build (master branch), using Emacs -Q, I am unable to change files and folders in dired-mode from CamelCase/UPPERCASE/lowercase. > > > > A folder named `FOO` cannot be changed to `foo` using `dired-do-rename`. > > > > Move ‘/Users/HOME/Desktop/FOO' to ‘/Users/HOME/Desktop/foo/FOO' failed: > > (file-error Renaming Invalid argument /Users/HOME/Desktop/FOO /Users/HOME/Desktop/foo/FOO) > > Why is it trying to make a directory into a subdirectory of itself? From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 10:44:46 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 15:44:46 +0000 Received: from localhost ([127.0.0.1]:37737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7JO-0005im-6B for submit@debbugs.gnu.org; Mon, 04 Jan 2016 10:44:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36683) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7JM-0005iY-BY for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 10:44:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aG7JD-0005xf-Aa for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 10:44:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG7JC-0005xN-A7; Mon, 04 Jan 2016 10:44:35 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3019 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aG7JB-0001ad-IV; Mon, 04 Jan 2016 10:44:33 -0500 Date: Mon, 04 Jan 2016 17:44:37 +0200 Message-Id: <83vb7973iy.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: (message from Drew Adams on Sun, 3 Jan 2016 16:47:32 -0800 (PST)) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, esq@lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sun, 3 Jan 2016 16:47:32 -0800 (PST) > From: Drew Adams > Cc: 22300-done@debbugs.gnu.org > > Hm. I'm curious. How do we know that this is not an Emacs bug? Because we can step through the code, or just plain read it ;-) > I do not understand why this is his error msg: > > Move '/Users/HOME/Desktop/FOO' to '/Users/HOME/Desktop/foo/FOO' failed: > ^^^ ^^^^^^^ > (file-error Renaming Invalid argument > /Users/HOME/Desktop/FOO/Users/HOME/Desktop/foo/FOO) > > That looks peculiar, if all he did was hit `R' on a directory name. > That message seems to be saying that Emacs asked the OS to move > directory .../FOO to .../foo/FOO. That doesn't seem like the right > thing for Emacs to do. Seems like Emacs should have asked the OS > to move .../FOO to .../foo (without the trailing /FOO). Would you still think that if the arguments were changed as below? Move '/Users/HOME/Desktop/FOO' to '/Users/HOME/Desktop/bar/FOO' > Am I missing something? Yes, you are: . The filesystem in question is evidently case-insensitive, so Emacs thinks the user wants to move a directory into another _existing_ directory ('foo' exists because 'FOO' does) . When the target is an existing directory, rename-file _always_ behaves like shown above (which is actually what the user should expect, don't you agree?) . See my other message From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 10:46:26 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 15:46:26 +0000 Received: from localhost ([127.0.0.1]:37741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7L0-0005ls-Iw for submit@debbugs.gnu.org; Mon, 04 Jan 2016 10:46:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37177) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7Ky-0005lf-Ut for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 10:46:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aG7Kt-0006dO-23 for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 10:46:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG7Kn-0006bl-Tb; Mon, 04 Jan 2016 10:46:14 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3022 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aG7Kn-0001ml-4r; Mon, 04 Jan 2016 10:46:13 -0500 Date: Mon, 04 Jan 2016 17:46:17 +0200 Message-Id: <83twmt73g6.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <45748772-3d35-49f5-a350-5d04d023fd23@default> (message from Drew Adams on Sun, 3 Jan 2016 17:37:37 -0800 (PST)) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: <45748772-3d35-49f5-a350-5d04d023fd23@default> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, esq@lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sun, 3 Jan 2016 17:37:37 -0800 (PST) > From: Drew Adams > Cc: 22300-done@debbugs.gnu.org, Keith David Bershatsky > > > His description matches something I run into myself all the time, due to > > Emacs's case insensitive filesystem: > > > > 17:10:45 Vulcan:/tmp $ mv foo Foo > > mv: ‘foo’ and ‘Foo’ are the same file > > Okay. But (1) he _is_ able to do it using `mv foo Foo', and > (2) MS Windows is also case-insensitive for files and folders, > and I can easily use `R' to rename a directory `foo' to `FOO', > and vice versa. (Emacs asks me to confirm that I want to rename, > but that's all.) For some value of "easily", yes. On the C source level, Emacs works very hard (a.k.a. "jumps through hoops") to allow you doing that easily, and it does that only for MS-Windows and MS-DOS, whose filesystems are known to be case-insensitive. OS X doesn't have that privilege. If OS X filesystems are always case-insensitive, perhaps the same code should also be compiled on that system. If some of OS X filesystems are case-sensitive, we can only do that if Emacs can know which one is it. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 10:51:07 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 15:51:07 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Date: Mon, 04 Jan 2016 17:50:55 +0200 Message-Id: <83oad1738g.fsf@gnu.org> From: Eli Zaretskii To: Keith David Bershatsky In-reply-to: (message from Keith David Bershatsky on Sun, 03 Jan 2016 20:19:50 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 11:15:07 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 16:15:07 +0000 Received: from localhost ([127.0.0.1]:37760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7mk-0006TK-Px for submit@debbugs.gnu.org; Mon, 04 Jan 2016 11:15:06 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:33201) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7mi-0006Sa-Vm for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 11:15:05 -0500 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u04GEvK6021429 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 16:14:58 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u04GEvUt009069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 16:14:57 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u04GEvjx001280; Mon, 4 Jan 2016 16:14:57 GMT MIME-Version: 1.0 Message-ID: <7c0709a8-3ccb-42a5-bd48-25969f03da2b@default> Date: Mon, 4 Jan 2016 08:14:55 -0800 (PST) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: <> <> <> <<83vb7973iy.fsf@gnu.org>> In-Reply-To: <<83vb7973iy.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, esq@lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > I do not understand why this is his error msg: > > > > Move '/Users/HOME/Desktop/FOO' to '/Users/HOME/Desktop/foo/FOO' > > failed: > > ^^^ ^^^^^^^ > > (file-error Renaming Invalid argument > > /Users/HOME/Desktop/FOO/Users/HOME/Desktop/foo/FOO) > > > > That looks peculiar, if all he did was hit `R' on a directory name. > > That message seems to be saying that Emacs asked the OS to move > > directory .../FOO to .../foo/FOO. That doesn't seem like the right > > thing for Emacs to do. Seems like Emacs should have asked the OS > > to move .../FOO to .../foo (without the trailing /FOO). >=20 > Would you still think that if the arguments were changed as below? >=20 > Move '/Users/HOME/Desktop/FOO' to '/Users/HOME/Desktop/bar/FOO' I don't understand why you ask that. He (presumably) asked, interactively, to move the directory from .../FOO to .../foo. At least that's my understanding of what he did - that's what he's said. And when I do that on MS Windows that's all that happens: FOO is renamed to foo. In his case, it seems that the target is getting interpreted as .../foo/FOO= . Isn't the whole question here just what the "arguments" are? > > Am I missing something? >=20 > Yes, you are: >=20 > . The filesystem in question is evidently case-insensitive, so Emacs > thinks the user wants to move a directory into another _existing_ > directory ('foo' exists because 'FOO' does) Why would Emacs think that? It doesn't think that when I do the same thing on MS Windows. He has said that he did exactly what I did, when I told Emacs to rename "FOO" to "foo". > . When the target is an existing directory, rename-file _always_ > behaves like shown above (which is actually what the user should > expect, don't you agree?) See previous. Dunno what you mean by it always behaving like you say. `R' in Dired on MS Windows simply renames FOO to foo, if point is on directory FOO and you type only "foo" as the new name. According to what Keith has said, that is not the behavior he gets on his OS. He tells Emacs to rename the directory to "foo", and it (apparently) tries to move (rename) it from FOO to foo/FOO. > . See my other message OK. Your other message says that MS Windows handles `R' correctly because it knows that Windows file/folder names are handled case-insensitively. And it suggests that this is not the case for OS X. So that's the bug (or enhancement request): Emacs should treat OS X file/folder names appropriately. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 11:15:30 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 16:15:30 +0000 Received: from localhost ([127.0.0.1]:37763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7n8-0006Tu-1t for submit@debbugs.gnu.org; Mon, 04 Jan 2016 11:15:30 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:42919) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG7n6-0006Ti-C2 for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 11:15:28 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u04GFKIw022954 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 16:15:21 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u04GFK2L020310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 16:15:20 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u04GFKoP005028; Mon, 4 Jan 2016 16:15:20 GMT MIME-Version: 1.0 Message-ID: Date: Mon, 4 Jan 2016 08:15:19 -0800 (PST) From: Drew Adams To: Eli Zaretskii Subject: RE: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: <45748772-3d35-49f5-a350-5d04d023fd23@default> <83twmt73g6.fsf@gnu.org> In-Reply-To: <83twmt73g6.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, esq@lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Okay. But (1) he _is_ able to do it using `mv foo Foo', and > > (2) MS Windows is also case-insensitive for files and folders, > > and I can easily use `R' to rename a directory `foo' to `FOO', > > and vice versa. (Emacs asks me to confirm that I want to rename, > > but that's all.) >=20 > For some value of "easily", yes. On the C source level, Emacs works > very hard (a.k.a. "jumps through hoops") to allow you doing that > easily, and it does that only for MS-Windows and MS-DOS, whose > filesystems are known to be case-insensitive. OS X doesn't have that > privilege. Ah, so that's the bug, then. Emacs does not know that OS X is case-insensitive and it doesn't have code to special-case it as it does for MS Windows. > If OS X filesystems are always case-insensitive, perhaps the same code > should also be compiled on that system. If some of OS X filesystems > are case-sensitive, we can only do that if Emacs can know which one is > it. That sounds right to me. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 12:41:25 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 17:41:25 +0000 Received: from localhost ([127.0.0.1]:37798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG98H-00009T-KZ for submit@debbugs.gnu.org; Mon, 04 Jan 2016 12:41:25 -0500 Received: from cobb.liquidweb.com ([50.28.13.150]:53462) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aG98G-00009G-9v for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 12:41:24 -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=bhiQmZ0erHxiPwHcbJhVKpUYEwhUwAu7v6KJ4mbmApo=; b=BwNqnsVBU9iesEiNpMrbSa1NMOYP93x36Ynt2X4PGMMp1LFn8zwhKqowY1TXXsLuYCmotAdxNR7fyPHm2tgUZIBvpqzln18267XL+sISyIkb7ovz6IJodqG11pgnfsWm; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:49417 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aG986-0002ma-J2; Mon, 04 Jan 2016 12:41:14 -0500 Date: Mon, 04 Jan 2016 09:41:15 -0800 Message-ID: From: Keith David Bershatsky To: Eli Zaretskii , Drew Adams , John Wiegley Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) The first available option used by "Disk Utility.app" is "Mac OS Extended (Journaled)". I believe that is the format that comes shipped with new computers from Apple. Other formats listed in the drop-down menu in Disk Utility are: "Mac OS Extended"; "Mac OS Extended (Case-sensitive, Journaled)"; "Mac OS Extended (Case-sensitive)"; and two non-OSX options: "MS-DOS (FAT)" and "ExFAT". Some people probably use the Case-sensitive options for custom setups; however, I have no knowledge/experience in that regard. Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Mon, 04 Jan 2016 17:46:17 +0200, Eli Zaretskii wrote: > > * * * > > If OS X filesystems are always case-insensitive, perhaps the same code > should also be compiled on that system. If some of OS X filesystems > are case-sensitive, we can only do that if Emacs can know which one is > it. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 14:13:03 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 19:13:03 +0000 Received: from localhost ([127.0.0.1]:37859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGAYx-0002N2-5j for submit@debbugs.gnu.org; Mon, 04 Jan 2016 14:13:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39637) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGAYv-0002MS-DG for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:13:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGAYm-0003He-5g for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:12:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGAYm-0003Ha-2l; Mon, 04 Jan 2016 14:12:52 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3348 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGAYl-0002Fn-5v; Mon, 04 Jan 2016 14:12:51 -0500 Date: Mon, 04 Jan 2016 21:12:54 +0200 Message-Id: <83twmt5fbd.fsf@gnu.org> From: Eli Zaretskii To: Keith David Bershatsky In-reply-to: (message from Keith David Bershatsky on Mon, 04 Jan 2016 09:41:15 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Mon, 04 Jan 2016 09:41:15 -0800 > From: Keith David Bershatsky > Cc: 22300@debbugs.gnu.org > > The first available option used by "Disk Utility.app" is "Mac OS Extended (Journaled)". I believe that is the format that comes shipped with new computers from Apple. Other formats listed in the drop-down menu in Disk Utility are: "Mac OS Extended"; "Mac OS Extended (Case-sensitive, Journaled)"; "Mac OS Extended (Case-sensitive)"; and two non-OSX options: "MS-DOS (FAT)" and "ExFAT". > > Some people probably use the Case-sensitive options for custom setups; however, I have no knowledge/experience in that regard. Sorry, I know nothing about OS X -- how is "Disk Utility.app" related to the issue at hand? And if you are saying that some filesystems are case-insensitive, but others aren't, we will need a function to tell whether a filesystem to which the original file belongs is case-insensitive or not. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 14:23:24 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 19:23:24 +0000 Received: from localhost ([127.0.0.1]:37867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGAix-0002cg-SV for submit@debbugs.gnu.org; Mon, 04 Jan 2016 14:23:24 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:34130) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGAiv-0002cT-SV for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:23:22 -0500 Received: by mail-pa0-f48.google.com with SMTP id uo6so181846770pac.1 for <22300@debbugs.gnu.org>; Mon, 04 Jan 2016 11:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=ANXTYU+PHi1OFDLNBdp2xDdFeqoQNJxlzws1zAKYszc=; b=uQqyItJtS+iYMjWkFdWy6YSDAFlEW3Gx6BPOYJ3TPE7tgJs3TfAXUERjwxAQRbCX2g iQ1vb4DvZDi/LwE7PULAe1K13gu0HEgmYss3mk/J9R0zbuAz6K5Eu71tz/TSihqXG/Fj bauqCiXtTbb2bOzjn0m456zESj59136PeKpTtmhKy3NwUrWenhI6DeP+YaQt8QjzSgr7 lzMU2/7+AYsAZIXVQ+CVI+jMrF8uLEUESJ3ZuhL2tDozzsuebwXJhLi1eh7VbufMRww7 Ypj8VHYFrRixadiKCEeQYDb3QoK0FPIpxvayQ8WkO9jLwVSqyAVE5Wrhzoqf4ss4zVH/ 0Wpg== X-Received: by 10.66.253.97 with SMTP id zz1mr86170531pac.106.1451935396130; Mon, 04 Jan 2016 11:23:16 -0800 (PST) Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id 79sm122838566pfk.33.2016.01.04.11.23.15 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jan 2016 11:23:15 -0800 (PST) From: John Wiegley X-Google-Original-From: "John Wiegley" Received: by Vulcan.local (Postfix, from userid 501) id 945021202F118; Mon, 4 Jan 2016 11:23:14 -0800 (PST) To: Eli Zaretskii Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. In-Reply-To: <83twmt73g6.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 Jan 2016 17:46:17 +0200") Date: Mon, 04 Jan 2016 11:22:57 -0800 Message-ID: References: <45748772-3d35-49f5-a350-5d04d023fd23@default> <83twmt73g6.fsf@gnu.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, esq@lawlist.com, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>>>> Eli Zaretskii writes: > If OS X filesystems are always case-insensitive, perhaps the same code > should also be compiled on that system. If some of OS X filesystems are > case-sensitive, we can only do that if Emacs can know which one is it. The boot filesystem must be case-insensitive, but HFS+ allows formatting a drive as case-sensitive on non-boot volumes, so we can't assume OS X = case insensitive. (I also use ZFS on the Mac, which can be case sensitive or insensitive). -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 14:27:45 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 19:27:45 +0000 Received: from localhost ([127.0.0.1]:37871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGAnB-0002ir-Dl for submit@debbugs.gnu.org; Mon, 04 Jan 2016 14:27:45 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:19801) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGAn9-0002ib-9p for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:27:43 -0500 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u04JRaLs024065 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 19:27:37 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u04JRat3025170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Jan 2016 19:27:36 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u04JRawh017825; Mon, 4 Jan 2016 19:27:36 GMT MIME-Version: 1.0 Message-ID: Date: Mon, 4 Jan 2016 11:27:34 -0800 (PST) From: Drew Adams To: John Wiegley , Eli Zaretskii Subject: RE: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: <45748772-3d35-49f5-a350-5d04d023fd23@default> <83twmt73g6.fsf@gnu.org> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, esq@lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) If it turns out that Emacs cannot get the right info about this automatically, how about adding a user option, so a user can at least tell Emacs whether the OS treats file/folder names case-sensitively? The option doc would say that it applies only for an OS where different behaviors are possible. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 14:44:41 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 19:44:41 +0000 Received: from localhost ([127.0.0.1]:37886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGB3Z-00038F-1w for submit@debbugs.gnu.org; Mon, 04 Jan 2016 14:44:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53917) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGB3X-000383-MN for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:44:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGB3R-0000gd-U3 for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:44:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGB3L-0000cu-3S; Mon, 04 Jan 2016 14:44:27 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3369 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGB3K-00022p-8R; Mon, 04 Jan 2016 14:44:26 -0500 Date: Mon, 04 Jan 2016 21:44:29 +0200 Message-Id: <83si2d5duq.fsf@gnu.org> From: Eli Zaretskii To: John Wiegley In-reply-to: (message from John Wiegley on Mon, 04 Jan 2016 11:22:57 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: <45748772-3d35-49f5-a350-5d04d023fd23@default> <83twmt73g6.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, esq@lawlist.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: John Wiegley > Cc: Drew Adams , 22300@debbugs.gnu.org, esq@lawlist.com > Date: Mon, 04 Jan 2016 11:22:57 -0800 > > >>>>> Eli Zaretskii writes: > > > If OS X filesystems are always case-insensitive, perhaps the same code > > should also be compiled on that system. If some of OS X filesystems are > > case-sensitive, we can only do that if Emacs can know which one is it. > > The boot filesystem must be case-insensitive, but HFS+ allows formatting a > drive as case-sensitive on non-boot volumes, so we can't assume OS X = case > insensitive. (I also use ZFS on the Mac, which can be case sensitive or > insensitive). Is there a C-callable API that could establish which one is it? Something like the Posix 'pathconf', perhaps, with some magic _PC_something argument? From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 14:45:15 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 19:45:15 +0000 Received: from localhost ([127.0.0.1]:37890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGB47-00039j-Bt for submit@debbugs.gnu.org; Mon, 04 Jan 2016 14:45:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54100) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGB46-00039Y-Kz for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:45:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGB40-0000rG-RY for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:45:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGB3w-0000qp-AW; Mon, 04 Jan 2016 14:45:04 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3370 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGB3v-00025V-2o; Mon, 04 Jan 2016 14:45:03 -0500 Date: Mon, 04 Jan 2016 21:45:06 +0200 Message-Id: <83r3hx5dtp.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: (message from Drew Adams on Mon, 4 Jan 2016 11:27:34 -0800 (PST)) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: <45748772-3d35-49f5-a350-5d04d023fd23@default> <83twmt73g6.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, esq@lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Mon, 4 Jan 2016 11:27:34 -0800 (PST) > From: Drew Adams > Cc: 22300@debbugs.gnu.org, esq@lawlist.com > > If it turns out that Emacs cannot get the right info about this > automatically, how about adding a user option, so a user can at > least tell Emacs whether the OS treats file/folder names > case-sensitively? It's not a single value, the value can be different for each volume. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 14:45:30 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 19:45:30 +0000 Received: from localhost ([127.0.0.1]:37893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGB4M-0003AC-JD for submit@debbugs.gnu.org; Mon, 04 Jan 2016 14:45:30 -0500 Received: from cobb.liquidweb.com ([50.28.13.150]:56585) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGB4L-0003A0-50 for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:45:29 -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=PW+txj3XODmY4zrB/u/HBCZ6fThapznO1936m+uFFb4=; b=5hDoGAKz3s1CtILUFerWKYSzWqlOhzO1Z0aTh3vzhaDl7JSMHfYiMZ9iEtcHSTd3CKuR6+XqVfi+ilI0vFbJvrQ2NJGDtPID5hU/m8+Y8CvF+KmEZNRoB0BswKZvHv/B; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:50373 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aGB4C-0003n7-QZ; Mon, 04 Jan 2016 14:45:21 -0500 Date: Mon, 04 Jan 2016 11:45:22 -0800 Message-ID: From: Keith David Bershatsky To: Eli Zaretskii Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, John Wiegley , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Thank you, John, for helping me answer Eli's question about situations when OSX uses case-insensitive versus case-sensitive. I didn't have the knowledge to be able to respond properly. 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. (require 'dired-aux) (require 'cl) ;; for `lexical-let*' (defun dired-do-create-files (op-symbol file-creator operation arg &optional marker-char op1 how-to) "Create a new file for each marked file. Prompt user for a target directory in which to create the new files. The target may also be a non-directory file, if only one file is marked. The initial suggestion for target is the Dired buffer's current directory (or, if `dired-dwim-target' is non-nil, the current directory of a neighboring Dired window). OP-SYMBOL is the symbol for the operation. Function `dired-mark-pop-up' will determine whether pop-ups are appropriate for this OP-SYMBOL. FILE-CREATOR and OPERATION as in `dired-create-files'. ARG as in `dired-get-marked-files'. Optional arg MARKER-CHAR as in `dired-create-files'. Optional arg OP1 is an alternate form for OPERATION if there is only one file. Optional arg HOW-TO determines how to treat the target. If HOW-TO is nil, use `file-directory-p' to determine if the target is a directory. If so, the marked file(s) are created inside that directory. Otherwise, the target is a plain file; an error is raised unless there is exactly one marked file. If HOW-TO is t, target is always treated as a plain file. Otherwise, HOW-TO should be a function of one argument, TARGET. If its return value is nil, TARGET is regarded as a plain file. If it return value is a list, TARGET is a generalized directory (e.g. some sort of archive). The first element of this list must be a function with at least four arguments: operation - as OPERATION above. rfn-list - list of the relative names for the marked files. fn-list - list of the absolute names for the marked files. target - the name of the target itself. The rest of into-dir are optional arguments. For any other return value, TARGET is treated as a directory." (or op1 (setq op1 operation)) (let* ((fn-list (dired-get-marked-files nil arg)) (rfn-list (mapcar (function dired-make-relative) fn-list)) (dired-one-file ; fluid variable inside dired-create-files (and (consp fn-list) (null (cdr fn-list)) (car fn-list))) (target-dir (dired-dwim-target-directory)) (default (and dired-one-file (expand-file-name (file-name-nondirectory (car fn-list)) target-dir))) (defaults (dired-dwim-target-defaults fn-list target-dir)) (target (expand-file-name ; fluid variable inside dired-create-files (minibuffer-with-setup-hook (lambda () (set (make-local-variable 'minibuffer-default-add-function) nil) (setq minibuffer-default defaults)) (dired-mark-read-file-name (concat (if dired-one-file op1 operation) " %s to: ") target-dir op-symbol arg rfn-list default)))) (into-dir (cond ((null how-to) ;; Allow DOS/Windows users to change the letter ;; case of a directory. If we don't test these ;; conditions up front, file-directory-p below ;; will return t because the filesystem is ;; case-insensitive, and Emacs will try to move ;; foo -> foo/foo, which fails. (if (and (memq system-type '(ms-dos windows-nt cygwin)) (eq op-symbol 'move) dired-one-file (string= (downcase (expand-file-name (car fn-list))) (downcase (expand-file-name target))) (not (string= (file-name-nondirectory (car fn-list)) (file-name-nondirectory target)))) nil (file-directory-p target))) ((eq how-to t) nil) (t (funcall how-to target))))) (if (and (consp into-dir) (functionp (car into-dir))) (apply (car into-dir) operation rfn-list fn-list target (cdr into-dir)) (if (not (or dired-one-file into-dir)) (error "Marked %s: target must be a directory: %s" operation target)) ;; rename-file bombs when moving directories unless we do this: (or into-dir (setq target (directory-file-name target))) ;;; BEGIN modification by @lawlist (if (and (eq system-type 'darwin) dired-one-file (equal op1 "Rename") (equal operation "Move") (equal (downcase (expand-file-name dired-one-file)) (downcase (expand-file-name target)))) ;; Penetrate the `set-process-sentinel' with `lexical-let'. (lexical-let* ((dired-one-file dired-one-file) (target target)) (set-process-sentinel (start-process "rename" nil "mv" dired-one-file target) (lambda (p e) (when (= 0 (process-exit-status p)) (revert-buffer) (message "Renamed %s to %s" dired-one-file target))))) (dired-create-files file-creator operation fn-list (if into-dir ; target is a directory ;; This function uses fluid variable target when called ;; inside dired-create-files: (function (lambda (from) (expand-file-name (file-name-nondirectory from) target))) (function (lambda (_from) target))) marker-char)) ;;; END modification by @lawlist ))) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 14:49:08 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 19:49:08 +0000 Received: from localhost ([127.0.0.1]:37902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGB7s-0003Gg-FV for submit@debbugs.gnu.org; Mon, 04 Jan 2016 14:49:08 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:36833) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGB7q-0003GA-Gx for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 14:49:06 -0500 Received: by mail-pa0-f47.google.com with SMTP id yy13so109372958pab.3 for <22300@debbugs.gnu.org>; Mon, 04 Jan 2016 11:49:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=fI58irRGe5GkNXcMloM2nZsqiR1k2hYTZjo/7Dh5n1k=; b=uzZwHH2G0AGuXLBlyPHpiqSW34Uooig2mAgtDGmyWQ+q5Q33YIhP4qCXuD/TloJnAw y9QZbxMQCxFrjNUc+ienN5OK+bFwnX6XJSTMR/N+JqI1rgC5T+t0UOGnyKbmN+dmVK5t 8gMakwf6kKMXfy4ao/WIBDIzuif+SQ1tR47jDOs5bqFiEgXZKMiuUFGFziJ0LhEh1Iqw dLXw1lyJBj4TuUOxOBlos42l0ZfH11kVt133Gx/fdZFt/ImxonpVw5DTrU/969GxXO3P OMMtRB+vqsh6nmA5d1TMIJV+9W0bf1uMPaNYeJihXXFstxQOgVOliTL2vkgUlJ+X669/ XK+g== X-Received: by 10.66.253.71 with SMTP id zy7mr127657658pac.20.1451936940820; Mon, 04 Jan 2016 11:49:00 -0800 (PST) Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id cl3sm23936574pad.11.2016.01.04.11.48.59 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jan 2016 11:48:59 -0800 (PST) From: John Wiegley X-Google-Original-From: "John Wiegley" Received: by Vulcan.local (Postfix, from userid 501) id CDD171202F7A3; Mon, 4 Jan 2016 11:48:58 -0800 (PST) To: Eli Zaretskii Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. In-Reply-To: <83si2d5duq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 Jan 2016 21:44:29 +0200") Date: Mon, 04 Jan 2016 11:48:57 -0800 Message-ID: References: <45748772-3d35-49f5-a350-5d04d023fd23@default> <83twmt73g6.fsf@gnu.org> <83si2d5duq.fsf@gnu.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, esq@lawlist.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>>>> Eli Zaretskii writes: > Is there a C-callable API that could establish which one is it? Something > like the Posix 'pathconf', perhaps, with some magic _PC_something argument? It looks like getattrlist(2) is what you need: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/getattrlist.2.html Specifically, the volume attribute VOL_CAP_FMT_CASE_SENSITIVE. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 15:24:54 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 20:24:54 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Date: Mon, 04 Jan 2016 22:24:43 +0200 Message-Id: <83poxh5bzo.fsf@gnu.org> From: Eli Zaretskii To: Keith David Bershatsky In-reply-to: (message from Keith David Bershatsky on Mon, 04 Jan 2016 11:45:22 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 15:32:03 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 20:32:03 +0000 Received: from localhost ([127.0.0.1]:37928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGBnO-0004JP-RT for submit@debbugs.gnu.org; Mon, 04 Jan 2016 15:32:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50796) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGBnN-0004Iw-A0 for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 15:32:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGBnH-0000ij-8r for 22300@debbugs.gnu.org; Mon, 04 Jan 2016 15:31:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGBnB-0000iK-4O; Mon, 04 Jan 2016 15:31:49 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3396 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGBn9-0000f7-9d; Mon, 04 Jan 2016 15:31:47 -0500 Date: Mon, 04 Jan 2016 22:31:49 +0200 Message-Id: <83oad15bnu.fsf@gnu.org> From: Eli Zaretskii To: John Wiegley In-reply-to: (message from John Wiegley on Mon, 04 Jan 2016 11:48:57 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: <45748772-3d35-49f5-a350-5d04d023fd23@default> <83twmt73g6.fsf@gnu.org> <83si2d5duq.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, esq@lawlist.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: John Wiegley > Cc: drew.adams@oracle.com, 22300@debbugs.gnu.org, esq@lawlist.com > Date: Mon, 04 Jan 2016 11:48:57 -0800 > > >>>>> Eli Zaretskii writes: > > > Is there a C-callable API that could establish which one is it? Something > > like the Posix 'pathconf', perhaps, with some magic _PC_something argument? > > It looks like getattrlist(2) is what you need: > > https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/getattrlist.2.html > > Specifically, the volume attribute VOL_CAP_FMT_CASE_SENSITIVE. Thanks. Patches are welcome to use this in rename-file. I would suggest a Darwin-specific version of string-equal that would compare case-insensitively or case-sensitively as the volume requires that. Then we could call that function from rename-file, like we do with string-equal in the DOS_NT part there. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 04 15:51:11 2016 Received: (at 22300) by debbugs.gnu.org; 4 Jan 2016 20:51:11 +0000 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 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; 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 Date: Mon, 04 Jan 2016 12:51:01 -0800 Message-ID: From: Keith David Bershatsky To: Eli Zaretskii Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, John Wiegley , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 11:46:09 2016 Received: (at 22300) by debbugs.gnu.org; 5 Jan 2016 16:46:09 +0000 Received: from localhost ([127.0.0.1]:38999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGUkL-0007t3-I0 for submit@debbugs.gnu.org; Tue, 05 Jan 2016 11:46:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43521) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGUkJ-0007sn-W4 for 22300@debbugs.gnu.org; Tue, 05 Jan 2016 11:46:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGUkD-000693-Pa for 22300@debbugs.gnu.org; Tue, 05 Jan 2016 11:46:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGUk6-00061z-MG; Tue, 05 Jan 2016 11:45:54 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3884 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGUk5-0000Vk-Ug; Tue, 05 Jan 2016 11:45:54 -0500 Date: Tue, 05 Jan 2016 18:46:00 +0200 Message-Id: <834mes560n.fsf@gnu.org> From: Eli Zaretskii To: Keith David Bershatsky In-reply-to: (message from Keith David Bershatsky on Mon, 04 Jan 2016 12:51:01 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Mon, 04 Jan 2016 12:51:01 -0800 > From: Keith David Bershatsky > Cc: 22300@debbugs.gnu.org,Drew Adams ,John Wiegley > > 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 Why do you think the result of that is wrong? I think it's exactly as expected, because this: (expand-file-name "SOMETHING" "/Users/HOME/Desktop/foo") should produce "/Users/HOME/Desktop/foo/SOMETHING" for _any_ value of SOMETHING, even if SOMETHING is exactly "foo", in the same letter-case as the last component of "/Users/HOME/Desktop/foo". That's what expand-file-name does -- it produces a file name in the directory that is its 2nd argument. > So, I believe it will be both areas of Emacs that need some TLC. There's already code in dired-create-files that handles the same problem for MS-Windows and MS-DOS, it just needs to be reused for OS X. The tricky part with OS X is that its filesystems are not always case-insensitive, so we need (a) a way to tell whether the filesystem of the file being renamed is case-insensitive, and (b) tweak that code a bit to use the above test instead of just testing the OS type. In any case, invoking 'mv' as a workaround sounds not very clean to me. Emacs ought to do whatever 'mv' does to handle this problem by itself. I cannot produce a patch for these issues, as I don't have access to OS X and the man page that John pointed to indicates that calling getattrlist needs some non-trivial code (the API might not be supported by the OS, and if it does, the specific attributes might not be supported, so the code will have to include some reasonable fallbacks). So the code will need quite a bit of testing before it becomes reliable enough to commit to the repository. I hope someone with good access to OS X will be able to come up with the changes and test them. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 12:27:16 2016 Received: (at 22300) by debbugs.gnu.org; 5 Jan 2016 17:27:16 +0000 Received: from localhost ([127.0.0.1]:39027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGVO8-000251-7i for submit@debbugs.gnu.org; Tue, 05 Jan 2016 12:27:16 -0500 Received: from cobb.liquidweb.com ([50.28.13.150]:55863) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGVO7-00024o-0v for 22300@debbugs.gnu.org; Tue, 05 Jan 2016 12:27:15 -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=SePuuSyGKLHL9AIRJqDIXbgLyEtmNTz+BIbapkirB1c=; b=reblNEjsvdhFS1bVR8jYgbZgbILiWTlyjzCnmxyqI84M0pieJds7lCGgkr0z0lpzxaD0+d1Jkl2dR/Hs8wfdt6BZj/sbwWSNcqdCNWId8rFab+xdfQiC8ERd6b4ehWzy; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:53034 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aGVNv-0002Z9-JS; Tue, 05 Jan 2016 12:27:03 -0500 Date: Tue, 05 Jan 2016 09:27:03 -0800 Message-ID: From: Keith David Bershatsky To: Eli Zaretskii Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, John Wiegley , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Actually, I'm not sure why the `elisp` makes the target "/Users/HOME/Desktop/foo/FOO", instead of just "/Users/HOME/Desktop/foo". When I evaluate (funcall (lambda (from) (expand-file-name (file-name-nondirectory from) "/Users/HOME/Desktop/foo" )) "/Users/HOME/Desktop/FOO") I get the former incorrect value -- i.e., "/Users/HOME/Desktop/foo/FOO", instead of just "/Users/HOME/Desktop/foo". And that becomes the initial value of "to" when used by `dired-create-files` -- (setq to (funcall name-constructor from)) Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Tue, 05 Jan 2016 18:46:00 +0200, Eli Zaretskii wrote: > > > Why do you think the result of that is wrong? I think it's exactly as > expected, because this: > > (expand-file-name "SOMETHING" "/Users/HOME/Desktop/foo") > > should produce "/Users/HOME/Desktop/foo/SOMETHING" for _any_ value of > SOMETHING, even if SOMETHING is exactly "foo", in the same letter-case > as the last component of "/Users/HOME/Desktop/foo". That's what > expand-file-name does -- it produces a file name in the directory that > is its 2nd argument. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 13:28:31 2016 Received: (at 22300) by debbugs.gnu.org; 5 Jan 2016 18:28:31 +0000 Received: from localhost ([127.0.0.1]:39076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGWLP-0005D4-47 for submit@debbugs.gnu.org; Tue, 05 Jan 2016 13:28:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45464) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGWLM-0005Cr-R2 for 22300@debbugs.gnu.org; Tue, 05 Jan 2016 13:28:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGWLG-0000tp-Qg for 22300@debbugs.gnu.org; Tue, 05 Jan 2016 13:28:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGWL9-0000rs-Kj; Tue, 05 Jan 2016 13:28:15 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4030 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGWL8-0006j4-QG; Tue, 05 Jan 2016 13:28:15 -0500 Date: Tue, 05 Jan 2016 20:28:21 +0200 Message-Id: <83poxf51a2.fsf@gnu.org> From: Eli Zaretskii To: Keith David Bershatsky In-reply-to: (message from Keith David Bershatsky on Tue, 05 Jan 2016 09:27:03 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Tue, 05 Jan 2016 09:27:03 -0800 > From: Keith David Bershatsky > Cc: 22300@debbugs.gnu.org,Drew Adams ,John Wiegley > > Actually, I'm not sure why the `elisp` makes the target "/Users/HOME/Desktop/foo/FOO", instead of just "/Users/HOME/Desktop/foo". > > When I evaluate > > (funcall (lambda (from) (expand-file-name (file-name-nondirectory from) "/Users/HOME/Desktop/foo" )) "/Users/HOME/Desktop/FOO") > > I get the former incorrect value -- i.e., "/Users/HOME/Desktop/foo/FOO", instead of just "/Users/HOME/Desktop/foo". Maybe there's some misunderstanding here. Let me explain why I think this is the correct expected result. First, (file-name-nondirectory "/Users/HOME/Desktop/FOO") yields "FOO", as it should, right? Then (expand-file-name "FOO" "/Users/HOME/Desktop/foo") returns "/Users/HOME/Desktop/foo/FOO" because that's what it's supposed to do: it returns a file named "FOO" in the directory "/Users/HOME/Desktop/foo". Can you tell what in this reasoning seems incorrect, and why? > And that becomes the initial value of "to" when used by `dired-create-files` -- (setq to (funcall name-constructor from)) The code that special-cases MS-Windows and MS-DOS prevents this from causing the unexpected results. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 22:56:45 2016 Received: (at 22300) by debbugs.gnu.org; 6 Jan 2016 03:56:45 +0000 Received: from localhost ([127.0.0.1]:39335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGfDJ-0005GE-Bp for submit@debbugs.gnu.org; Tue, 05 Jan 2016 22:56:45 -0500 Received: from cobb.liquidweb.com ([50.28.13.150]:42550) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGfDH-0005G2-JI for 22300@debbugs.gnu.org; Tue, 05 Jan 2016 22:56:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date; bh=D+R4hE9GcqrKWxl7Jynvz8b0QMVBH8mIuGTHRGtc+QY=; b=Psg2CC23BE1I7mQg5hZksvpVfNbcZaYnDLnpBh3t1KQ4/ciWeylbKQj8hsccWCEAKROau/4dgzjoOUYCoH9N6ipiSQbN7NIWLOKJpkKVt7kepxdNa1e3dyMxRSpW3hGb; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:49920 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aGfD6-0007p3-Qn; Tue, 05 Jan 2016 22:56:32 -0500 Date: Tue, 05 Jan 2016 19:56:35 -0800 Message-ID: From: Keith David Bershatsky To: Eli Zaretskii Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, John Wiegley , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Perhaps my misunderstanding stems from a belief that "/Users/HOME/Desktop/f= oo/FOO" is a bad thing (to have as a result) when `dired-create-files` runs= `(setq to (funcall name-constructor from))`. I was looking at this as a b= lack and white situation -- i.e., `from` is "/Users/HOME/Desktop/FOO"; and,= `to` should be "/Users/HOME/Desktop/foo". Because I do not understand the usefulness of "/Users/HOME/Desktop/foo/FOO"= (when the user had explicitly entered a new name of "/Users/HOME/Desktop/f= oo"), I was expecting `(setq to (funcall name-constructor from))` to return= "/Users/HOME/Desktop/foo" in this particular situation. If I am understanding you correctly, you believe that "/Users/HOME/Desktop/= foo/FOO" is a good thing at this point in the `elisp` code -- to be dealt w= ith further on down when `dired-create-files` does its thing (with the assi= stance of some C-source code stuff under the hood). =46rom my layman's perspective (i.e., not a programmer by trade), I was thi= nking that `(setq to (funcall name-constructor from))` should yield the abs= olute path of what the user explicitly entered as the new name for the fold= er or file. I had assumed, perhaps erroneously, that things would go awry = rather quickly if the value of "to" was incorrect at the outset of `dired-c= reate-files`. Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Tue, 05 Jan 2016 20:28:21 +0200, Eli Zaretskii wrote: >=20 > Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. >=20 > > Date: Tue, 05 Jan 2016 09:27:03 -0800 > > From: Keith David Bershatsky > > Cc: 22300@debbugs.gnu.org,Drew Adams ,John Wieg= ley > >=20 > > Actually, I'm not sure why the `elisp` makes the target "/Users/HOME/De= sktop/foo/FOO", instead of just "/Users/HOME/Desktop/foo". > >=20 > > When I evaluate > >=20 > > (funcall (lambda (from) (expand-file-name (file-name-nondirectory fro= m) "/Users/HOME/Desktop/foo" )) "/Users/HOME/Desktop/FOO") > >=20 > > I get the former incorrect value -- i.e., "/Users/HOME/Desktop/foo/FOO"= , instead of just "/Users/HOME/Desktop/foo". >=20 > Maybe there's some misunderstanding here. Let me explain why I think > this is the correct expected result. >=20 > First, (file-name-nondirectory "/Users/HOME/Desktop/FOO") yields > "FOO", as it should, right? >=20 > Then (expand-file-name "FOO" "/Users/HOME/Desktop/foo") returns > "/Users/HOME/Desktop/foo/FOO" because that's what it's supposed to do: > it returns a file named "FOO" in the directory "/Users/HOME/Desktop/foo". >=20 > Can you tell what in this reasoning seems incorrect, and why? >=20 > > And that becomes the initial value of "to" when used by `dired-create-f= iles` -- (setq to (funcall name-constructor from)) >=20 > The code that special-cases MS-Windows and MS-DOS prevents this from > causing the unexpected results. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 10:40:56 2016 Received: (at 22300) by debbugs.gnu.org; 6 Jan 2016 15:40:56 +0000 Received: from localhost ([127.0.0.1]:40466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGqCl-00008E-RR for submit@debbugs.gnu.org; Wed, 06 Jan 2016 10:40:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56479) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGqCj-000080-MV for 22300@debbugs.gnu.org; Wed, 06 Jan 2016 10:40:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGqCd-0004J2-E2 for 22300@debbugs.gnu.org; Wed, 06 Jan 2016 10:40:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGqCU-0004Hz-GV; Wed, 06 Jan 2016 10:40:38 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4885 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGqCS-0006mS-53; Wed, 06 Jan 2016 10:40:38 -0500 Date: Wed, 06 Jan 2016 17:40:45 +0200 Message-Id: <83vb763ede.fsf@gnu.org> From: Eli Zaretskii To: Keith David Bershatsky In-reply-to: (message from Keith David Bershatsky on Tue, 05 Jan 2016 19:56:35 -0800) Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, jwiegley@gmail.com, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Tue, 05 Jan 2016 19:56:35 -0800 > From: Keith David Bershatsky > Cc: 22300@debbugs.gnu.org,Drew Adams ,John Wiegley > > Perhaps my misunderstanding stems from a belief that > "/Users/HOME/Desktop/foo/FOO" is a bad thing (to have as a result) when > `dired-create-files` runs `(setq to (funcall name-constructor from))`. I was > looking at this as a black and white situation -- i.e., `from` is > "/Users/HOME/Desktop/FOO"; and, `to` should be "/Users/HOME/Desktop/foo". We agree about that, I think. However, what you actually wrote was that you thought the result of expand-file-name in this case was incorrect. But expand-file-name and file-name-nondirectory are general-purpose functions, they do nothing specific to Dired, and their result in this case is correct and expected. It's the code that calls them that needs to be fixed, see below. > Because I do not understand the usefulness of "/Users/HOME/Desktop/foo/FOO" > (when the user had explicitly entered a new name of "/Users/HOME/Desktop/foo"), > I was expecting `(setq to (funcall name-constructor from))` to return > "/Users/HOME/Desktop/foo" in this particular situation. The logic of dired-do-rename in this case is very simple, and it mimics the logic of the 'mv' command when its argument is a directory. When given the command "mv foo bar", it does this: . if the target 'bar' is an existing directory, it moves 'foo' to be a subdirectory of 'bar', i.e. 'foo' will become 'bar/foo' . otherwise, 'foo' is renamed to the new name 'bar' What happens on case-insensitive filesystems is that when 'foo' exists, so does 'FOO' and 'Foo' and 'fOO'. So the above logic decides that the target is an existing directory, and attempts to move 'foo' into itself, which fails. So it's that logic which needs to be augmented for case-insensitive filesystems. But the place to augment it is not where we compute 'foo/bar' (or in this case 'foo/FOO'), the place is where the logic decides which of the above two alternatives to take. This same logic is implemented both in Dired and in rename-file, so it should be augmented in both of these places. As we've done for MS-Windows and MS-DOS. > If I am understanding you correctly, you believe that > "/Users/HOME/Desktop/foo/FOO" is a good thing at this point in the `elisp` code > -- to be dealt with further on down when `dired-create-files` does its thing > (with the assistance of some C-source code stuff under the hood). No, the logic that should be augmented is in dired-do-create-files, and it happens _before_ dired-create-files is called. By the time dired-create-files is called it's too late, because dired-do-create-files already decided which of the above 2 alternatives to use. Look at the source of dired-do-create-files, and you will see code in dired-do-create-files that special-cases MS-Windows to augment the logic. > From my layman's perspective (i.e., not a programmer by trade), I was thinking > that `(setq to (funcall name-constructor from))` should yield the absolute path > of what the user explicitly entered as the new name for the folder or file. I > had assumed, perhaps erroneously, that things would go awry rather quickly if > the value of "to" was incorrect at the outset of `dired-create-files`. The logic to which I alluded above takes care of that: it calls dired-create-files with a different name-constructor function, which does what you want: (dired-create-files file-creator operation fn-list (if into-dir ; target is a directory ;; This function uses fluid variable target when called ;; inside dired-create-files: (function (lambda (from) (expand-file-name (file-name-nondirectory from) target))) (function (lambda (_from) target))) marker-char) Which name-constructor function is passed to dired-create-files depends on the value of into-dir. The special-case code for MS-Windows takes care of making that value nil, so that the constructor which produces "incorrect" file name is not called by dired-create-files. To summarize: there is already code in dired-do-create-files that will DTRT in this case for case-insensitive filesystems. It just needs to be invoked on OS X when the underlying filesystem is case-insensitive, and the only problem preventing us from fixing this is that we don't yet have a way to tell that on OS X as we do on other systems. IOW, all it takes to fix this is to write an OS X specific predicate function that would accept a file name and returns and indication whether that file lives on a case-insensitive filesystem. Then we should just use that function in Dired and in rename-file. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 14:57:24 2016 Received: (at 22300) by debbugs.gnu.org; 6 Jan 2016 19:57:24 +0000 Received: from localhost ([127.0.0.1]:40624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGuCy-0000M8-Dn for submit@debbugs.gnu.org; Wed, 06 Jan 2016 14:57:24 -0500 Received: from cobb.liquidweb.com ([50.28.13.150]:35055) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGuCw-0000Lu-SQ for 22300@debbugs.gnu.org; Wed, 06 Jan 2016 14:57:23 -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=fJe93LG3rkQeo7Sn6hMq9JfYLANlG9Pr1bLN3UHyQSA=; b=hKIFgkI5YH2b34XiG/E9j1N3eFD5AwMjHBxwLV/afasanp2u9XjjPax3fluEqvuMUcF5fzl3yQnbOjZuuIVozSp03Jyd8ogVnfrg3CqwBR4PdGcb32RombQ34Wt1j52K; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:51263 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1aGuCn-0002Wa-V7; Wed, 06 Jan 2016 14:57:14 -0500 Date: Wed, 06 Jan 2016 11:57:15 -0800 Message-ID: From: Keith David Bershatsky To: Eli Zaretskii Subject: Re: bug#22300: 25.1.50; Dired -- renaming folders/files to CamelCase/UPPERCASE/lowercase. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22300 Cc: 22300@debbugs.gnu.org, John Wiegley , Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Thank you, Eli, for walking me through the `elisp` portions of the code. When the feature #22300 is implemented, I'll take a look at the new tail end of `dired-do-create-files' to see how the new situation will be handled. Your helpful teaching/mentoring is greatly appreciated! Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Wed, 06 Jan 2016 17:40:45 +0200, Eli Zaretskii wrote: > > * * * > > IOW, all it takes to fix this is to write an OS X specific predicate > function that would accept a file name and returns and indication > whether that file lives on a case-insensitive filesystem. Then we > should just use that function in Dired and in rename-file. From unknown Sat Aug 16 19:21:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 04 Feb 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 13 08:15:14 2016 Received: (at control) by debbugs.gnu.org; 13 Nov 2016 13:15:14 +0000 Received: from localhost ([127.0.0.1]:55467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c5uco-0000Bc-QM for submit@debbugs.gnu.org; Sun, 13 Nov 2016 08:15:14 -0500 Received: from limerock02.mail.cornell.edu ([128.84.13.242]:55524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c5ucn-0000BL-Dv; Sun, 13 Nov 2016 08:15:10 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id uADDF06d021206; Sun, 13 Nov 2016 08:15:01 -0500 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 uADDEwMD030483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sun, 13 Nov 2016 08:14:59 -0500 Subject: Re: bug#24441: 24.5; rename directory in dired to change case To: Eli Zaretskii 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> <61dc70de-7dfc-269c-e974-839f8d138d33@cornell.edu> <83fumye808.fsf@gnu.org> <1b36666e-4754-b38a-f997-195e04e8a556@cornell.edu> <83pom1cg1r.fsf@gnu.org> From: Ken Brown Message-ID: <90f88ac0-ba13-5375-ec56-1f32e0b6a235@cornell.edu> Date: Sun, 13 Nov 2016 08:14:57 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <83pom1cg1r.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control Cc: 24441@debbugs.gnu.org, schwab@suse.de, Keith David Bershatsky , michael.albinus@gmx.de, brady@bradyt.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) unarchive 22300 merge 24441 22300 thanks On 11/12/2016 2:29 AM, Eli Zaretskii wrote: >> Cc: 24441@debbugs.gnu.org, schwab@suse.de, brady@bradyt.com >> From: Ken Brown >> Date: Fri, 11 Nov 2016 16:42:13 -0500 >> Thanks for the review. Revised patch attached. > > LGTM, thanks. I've pushed it to master. I'll leave the bug open until someone confirms that this works on OS X. Ken From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 13 08:26:36 2016 Received: (at control) by debbugs.gnu.org; 13 Nov 2016 13:26:36 +0000 Received: from localhost ([127.0.0.1]:55475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c5unr-0000Sv-SA for submit@debbugs.gnu.org; Sun, 13 Nov 2016 08:26:35 -0500 Received: from limerock02.mail.cornell.edu ([128.84.13.242]:58661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c5unq-0000Sj-TA for control@debbugs.gnu.org; Sun, 13 Nov 2016 08:26:35 -0500 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id uADDQTnd025973 for ; Sun, 13 Nov 2016 08:26:29 -0500 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 uADDQSG1002461 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 13 Nov 2016 08:26:29 -0500 To: control@debbugs.gnu.org From: Ken Brown Message-ID: <553089cd-cab9-a53b-a01e-629253279e4c@cornell.edu> Date: Sun, 13 Nov 2016 08:26:27 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) forcemerge 24441 22300 From unknown Sat Aug 16 19:21:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 29 Dec 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sun May 21 01:58:16 2017 Received: (at control) by debbugs.gnu.org; 21 May 2017 05:58:16 +0000 Received: from localhost ([127.0.0.1]:57639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCJse-0002Fj-98 for submit@debbugs.gnu.org; Sun, 21 May 2017 01:58:16 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCJsc-0002FN-IO for control@debbugs.gnu.org; Sun, 21 May 2017 01:58:15 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 94A68160051 for ; Sat, 20 May 2017 22:58:08 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id j65MI8Pdm0cd for ; Sat, 20 May 2017 22:58:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EF96816007F for ; Sat, 20 May 2017 22:58:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pQZZbKrB3dJT for ; Sat, 20 May 2017 22:58:07 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D62ED160051 for ; Sat, 20 May 2017 22:58:07 -0700 (PDT) To: control@debbugs.gnu.org From: Paul Eggert Subject: 24441 needs more comments Organization: UCLA Computer Science Department Message-ID: Date: Sat, 20 May 2017 22:58:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) unarchive 24441 From unknown Sat Aug 16 19:21:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 18 Jun 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator