From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Date: Sun, 15 Oct 2023 12:36:00 +0300 Message-ID: <83wmvop6rj.fsf@gnu.org> 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> <87bkd1eam0.fsf@gmx.de> <83ttqtqwdl.fsf@gnu.org> <87jzrpnup1.fsf@gmx.de> <877cnpnoa7.fsf@gmx.de> <83lec5qayq.fsf@gnu.org> <871qdwnyw8.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31915"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 15 11:37:03 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 1qrxYV-00084Y-7e for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Oct 2023 11:37:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrxY8-0007Xq-1k; Sun, 15 Oct 2023 05:36: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 1qrxY6-0007VN-IN for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 05:36: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 1qrxY6-0001fp-9a for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 05:36:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qrxYU-0004Y8-Bh for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 05:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 09:37:02 +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.169736261017453 (code B ref 65685); Sun, 15 Oct 2023 09:37:02 +0000 Original-Received: (at 65685) by debbugs.gnu.org; 15 Oct 2023 09:36:50 +0000 Original-Received: from localhost ([127.0.0.1]:51206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrxYI-0004XR-66 for submit@debbugs.gnu.org; Sun, 15 Oct 2023 05:36:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrxYF-0004XE-QD for 65685@debbugs.gnu.org; Sun, 15 Oct 2023 05:36:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrxXl-0001f5-PH; Sun, 15 Oct 2023 05:36:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=n1ZmVKib/PszRyC9muWJM2b0w8dxm/3LcYbDf3WTfsg=; b=eszWyIGc0e3c F2dl1huhBI/0XQGwuvGWTuUabV2wZDuwTTdc+5635wTGhrcYKn0f6fWK/G6LgtBIt4aHMiEGUIjMj T7Y44wL4mKXl5BG6yHInihzQiE9YD7CpqQTJgebdlQ3w0R14RCDSLjIK4U7XPveSaU2/PjZM5bdNe swsRc1pw6vYfN1iLa5JUEoNnu2+sUtjWU0GTMDpO8Bfo9JfBjdomsVp22PU00KqiawUcBQ47yiRK3 g1l53MpRbtywe6L5HuREmmyviINq7qQRFkCI4Qfb8/OBSow+ACgtWtSd7ExnkvYGeuiuZ+nrI0rYM HR3jY4DQ8Pedt7JNgDMvZg==; In-Reply-To: <871qdwnyw8.fsf@gmx.de> (message from Michael Albinus on Sun, 15 Oct 2023 09:11:19 +0200) 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:272493 Archived-At: > From: Michael Albinus > Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org > Date: Sun, 15 Oct 2023 09:11:19 +0200 > > Eli Zaretskii writes: > > Hi Eli, > > >> >> The only difference I could think of is that the directory Emacs uses > >> >> here has whitespace in its name (see my original report), whereas on > >> >> Windows 10 it probably doesn't. > >> > > >> > FTR, if I use a directory with spaces in its name, it fails for me as > >> > well. I'm now debugging ... > >> > >> It looks, like it is a problem in the test case code > >> itself. abbreviate-file-name does not work as I expect in this > >> combination. > > > > Can you tell more about this? I'm surprised any file-related > > primitive in Emacs cares about whitespace in file names. > > Perhaps we have uncovered a bug in abbreviate-file-name, don't > know. I'll check when time permits. I'd like to understand this sooner rather than latter. Can you show some simple recipe which fails under these conditions? > However, it isn't related to the change in question of this bug report, > handling expand-file-name for constructs like "/:~..." and > "/ssh:host:/:~...". abbreviate-file-name has been used to create a > temporary test file for this case, it isn't target of the test itself. I applied your changes to the test, and it passes after that, thanks.