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 12:56:07 +0200 Message-ID: <87bkd1eam0.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 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24905"; 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 12:56:51 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 1qrcKB-0006LE-2i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Oct 2023 12:56:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrcK0-0003Yj-9k; Sat, 14 Oct 2023 06:56:40 -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 1qrcJy-0003YT-HE for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 06:56:38 -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 1qrcJy-00069P-8l for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 06:56:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrcKL-0006fu-P1 for bug-gnu-emacs@gnu.org; Sat, 14 Oct 2023 06:57: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 10:57: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.169728100525635 (code B ref 65685); Sat, 14 Oct 2023 10:57:01 +0000 Original-Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 10:56:45 +0000 Original-Received: from localhost ([127.0.0.1]:47986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrcK1-0006fM-ML for submit@debbugs.gnu.org; Sat, 14 Oct 2023 06:56:45 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:44471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrcJz-0006f6-C5 for 65685@debbugs.gnu.org; Sat, 14 Oct 2023 06:56:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697280969; x=1697885769; i=michael.albinus@gmx.de; bh=ed/GbuO5gM1Bh8mJzbwMqck5LYbm+WdDBdKkVxGGEwI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=lHZZ7jFdjJ9YkH4RXrpnRL0ys15t5JjI+vTYF2bia2uJqeWVJVbExd37vN7pd1w7QeSxnLOj+Kv 7AmSA9VjfcflajtN1gCp1oNvqACRjCqZyE5yjPxCfg4mbYOYn7ShjhFUtJEdIapzrI47ydacDT8i1 VMkVFnO2SEQLQL0Iz4PD2ev5HYNZaIoVNb1H9Sjh8vgVwhFwg228ANw4nJcb+IqNDaFkLT+UJwTkV bDqc47vJQP3MeXgyRTXLF6ZlRtsqX2gfeB0ARTzhin6FalujtotS4Y1PxSITnSyqbgBMbPQaE/D2G iLR6aKwlOGYL9/g/qg8Sm1543Kl/SOkgBmmA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MmlXA-1rIfbq45mI-00jp2i; Sat, 14 Oct 2023 12:56:09 +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:5cTF+lQIfJLEpNhxfthCJcVyvusUY8ECVrZuyriZzTZWMCJFE5j pibzf3PWoW0qXJbpKlEGdb4CC813cjzNOA0bkattEsnAAYOgPFFCN/mR0pAxIaAZ7GwBm2d I5msykDzL1Dvx6ldEYCYYc7pAOhEOHRPxUza7VClomymi8HXi4stww4I3jpYU1xYJQyBGPB 13ykNS13iJrP9k7CbGxvA== UI-OutboundReport: notjunk:1;M01:P0:ngIASgdOMcc=;sLADdpuXIU6K4b79AmQ2R/EfXFt sJ42TKlma+8/1B56sFFYXEFKeCnW8eMI5vtk9HDuMWAqxwfFeTM+mlVphsuCD/ofIvjeNGOjN RKeG9NcdpS6tJA9fqfe6iRDQD8/BK0m38DdA5g/7H0PoeOOVrQjdAblq5k3byfIpOgcEGhXs2 1oje5z850Lkv/Xja3ndkYanfhY81+VEGxTmqPlew2dstdt+b5UohXxRI35Fb5LjpOmNpyJP+L lFbgqyelHnrabixNhK5oBkiKWHW8+mYBgfRObVboAYlbLpaf6SEPHZY/ep27izLfihsOGjL9y /bcZ5SI7vhJ3TE6x7hpH37JfrCtCAAKbgKaOLwsEnLPklYJma38cf9E98+vjffpkU/Ds1+BNa yWwnZt5Mo4AUw/iEWwqao3A9kMfjd+diATWN9VudqGeyG+r57OgxypW2PoSSKcToFZFUuDTqq Z1B3wENsXjjeLrWANa37a2MdVLU49HVx5a4lWH4uI4dR9QH+kjfj9Wru7EIk/VJ7qnNOilJHi Cqb3JLdD9bZ+puAxnsTNtqGykmLETCeUO2ClRoCrHY79+Om7aOCfyse1lGyZ+Krq8o7ldILA5 SkcC6rL5/nEsJAdeRauv4CuHnmHGKUSRCjCIiHwMRuHi1PXN2rUnvfIw1Za/r/BK8e97Yh6cx c0Q7TcrTgb+QZs+HSig056rB6l7TlqxJu6R3q+7EDv21k2jelcIccONUUKE9kk1Yjy2IML2uv 0AIkrTgvIL8t+9OL3uuobcMABL4mkRtVzI1K84E0maMrqlj7z7aB7KjnGp5nnDtv7w2/8ETK 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:272405 Archived-At: Eli Zaretskii writes: Hi Eli, >> So with the patch you merged to Tramp, plus your other one for >> "lisp/files.el", I think this is all working consistently now. > > The added test fails on MS-Windows: > > Test files-tests-file-name-non-special-expand-file-name-tilde conditio= n: > (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 S= ettings/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 an= d Settings/Zaretzky/Local Settings/Temp/files-testsvIKNPk/files-testse2cUF= Y" 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. I cannot reproduce the problem. My environment: - MS Windows 10 VM - MSYS2 MinGW 64-bit - A fresh git checkout of the master branch, at commit 548bc3e3d18ea6776032ca83dafbc89e3ddb5a5a - Emacs recompiled, it reports "GNU Emacs 30.0.50 (build 13, x86_64-w64-mingw32) of 2023-10-14" - Running "$ make -C test files-tests" yields =2D-8<---------------cut here---------------start------------->8--- Ran 113 tests, 111 results as expected, 0 unexpected, 2 skipped (2023-10-1= 4 12:49:06+0200, 7.219525 sec) 2 skipped results: SKIPPED files-tests-file-name-non-special--subprocess SKIPPED files-tests-file-name-non-special-dired-compress-handler =2D-8<---------------cut here---------------end--------------->8--- What is the difference to your setup? Best regards, Michael.