From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Date: Sat, 14 Oct 2023 09:48:25 +0200 Message-ID: <87bkd14pbq.fsf@gmx.de> References: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> <8734yshrx9.fsf@gmx.de> <143e9622-960b-0841-db3f-d79b021eedb2@gmail.com> <87a5smvbsk.fsf@gmx.de> <83il79sl9a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="431"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Jim Porter , 65685@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 14 09:48:52 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qrZOG-000ATf-HI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Oct 2023 09:48:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrZO3-0004Z0-Tj; Sat, 14 Oct 2023 03:48:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrZO3-0004Ye-2j for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 03:48:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qrZO2-0006lb-RV for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 03:48:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrZOP-0005ml-Si for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 03:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 07:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs Original-Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169726974022225 (code B ref 65685); Sat, 14 Oct 2023 07:49:01 +0000 Original-Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 07:49:00 +0000 Original-Received: from localhost ([127.0.0.1]:47788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrZON-0005mN-Pq for submit@debbugs.gnu.org; Sat, 14 Oct 2023 03:49:00 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:50309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrZOK-0005lJ-83 for 65685@debbugs.gnu.org; Sat, 14 Oct 2023 03:48:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697269706; x=1697874506; i=michael.albinus@gmx.de; bh=MlYZKYeJuA7W2embpKAQRPlA0TBd7PjtPVsov0858Ms=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=hQJcVTB4uCGDpmh3ySxYk2bWy0yDCdhj78I6tuI5c0GnmBFnPqDFGonH9WdX2z5khUpNtkacX1k xHU5PdDWEsQ6BB12J5d7OaGx4Te2mwgyu7KO0/jy99m1OCSqbRGybCdHqN47mOGBPb0HxADAqLqpn 9h+eVS8z+xRIkyx/m8fQk/ri3Rx5b1Dg4ZtR/sBe226XbQV3MgRtRIYMeCHcE62rSFaY+lkilbZR1 rjh0zkWv6YmloNRoQWXiM/EukrGOaGxfsMOiHEOPNvs5AWtuCV5WxPxHsiTjqvmQBTYKSIzqREdAI qAIRG0m4vhE4eiksZHT7lG7eQ//hKzSkhF0Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mt79P-1rgW6i47qr-00tV7s; Sat, 14 Oct 2023 09:48:26 +0200 In-Reply-To: <83il79sl9a.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Oct 2023 10:42:25 +0300") X-Provags-ID: V03:K1:Y/LUvNXLjcNkypA/F12+ptoN8UFvg75k1ct/6bJ9uiqmrGZIeQ2 2cp1wFqyxV+m3QgQPLs1MaKh1gVeeMwiwKsUlD7I7guwJftXdR+t7f/vKKwp5B9yQxidwQd gmPgXk112EezIEegan6yBQ6O5xvL19RlPe1GwheHeulNycYKVtyoAsn4uhslouox0cXnUNx JES9aPs3ChcHzFRiK7rkg== UI-OutboundReport: notjunk:1;M01:P0:y9Z2xgyTSBA=;hBJPjRZNG+sSaPlLT8EEuiSOzH8 N2akBZ1na/PLRssxT6VbMtRGTMBo4yuhAvV09gXGsd7XnIxD19ImAYUzh3RoSyXs9AgRd3ck0 5nh6JgyPzJm8KyuALN0IXINgWGf/kBcli4R/c8LbZN43/Ruh+zmKTI1oXhuMgWsmQDKkUHdHS 1mbwBUs5hlM0IP+hZhVDX8CNehrxCbZiWL1dG+UXN9T/VKiVsN/HYRzl+P5t+iit11asyKcvr aFMjRk1Nran3DRqFcR5kQqYivZc2TPCQOvQn1cnJFeItx0JUUEENIDNCTwnHI6tWQktTfowc7 I3g0bjm1UiFHZuGWFGN5Y8GTlcc6KHzHBBC7cfg9cC9kPdQmY8GYnWQu+RIvm2WMXB/NbW0Zo KaTpP1APPOFMNKYROJMlNsOdtvLLwI63A/HQz7dwziiP00vOK+GdOi2nfNecliSYOTaSapvWk 99qDmmwZIsXrRRea/v+unc/4zuyaZXIr7ubGECdu6IFWNI0TtAKvNfjF9vBUClsaFqmBBZDF3 hqnTloQb1RcsbUDmqaK8HPsxkaX8GfJcroTX7HSPI3tPyXb86h0N2vfh8zrhTh6UF5VFMR36+ 1HB5MkvJlCJgQWSUreFX/XneTRxCXnM8fHuhtAm4yQeIuIiy8cdjHvtqPnipYLFMLGg2+9nQJ 7+wVCxKwGr1wbDaN4gxwZq233a5iTKsfrj5xnFfUjK0yiMA5j/6BtWVMBNVFCQ0RkIOwvE5hf +e5WPtioO0/5Lol+FueRfQeiAtAkj+Vh3hWfmKHJ+ggaTjdAqkI5hrLrIL/oOfDCpTZahe/v X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272385 Archived-At: Eli Zaretskii writes: Hi Eli, > The added test fails on MS-Windows: > > Test files-tests-file-name-non-special-expand-file-name-tilde condition: > (ert-test-failed > ((should > (equal > (expand-file-name nospecial) > (expand-file-name ...))) > :form > (equal "/:c:/Documents and Settings/Zaretzky/Local Settings/Temp/files-testsvIKNPk/files-testse2cUFY" "c:/Documents and Settings/Zaretzky/Local Settings/Temp/files-testsvIKNPk/files-testse2cUFY") > :value nil :explanation > (arrays-of-different-length 92 90 "/:c:/Documents and Settings/Zaretzky/Local Settings/Temp/files-testsvIKNPk/files-testse2cUFY" "c:/Documents and Settings/Zaretzky/Local Settings/Temp/files-testsvIKNPk/files-testse2cUFY" first-mismatch-at 0))) > > I tried to understand the idea of the change, or even the actual root > cause of the problem, but couldn't find that in the discussion or the > code. It doesn't help that file-name-non-special has no doc string > and no documentation I could find about what it's supposed to do. > > Let's please discuss this now, because I tend just to revert the > change on the emacs-29 branch, as it's too late there for untested > ideas for obscure problems. Please give me a day to check the situation on MS Windows. I don't believe the change would hurt Emacs 29 in any way, handling "/:~" doesn't happen in real life I believe. It is just a preparation for a planned change in Eshell. I know, "Famous last words" and alike ... Best regards, Michael.