From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Sep 2023 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 65685@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16935961513002 (code B ref -1); Fri, 01 Sep 2023 19:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2023 19:22:31 +0000 Received: from localhost ([127.0.0.1]:33962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc9iw-0000mL-QX for submit@debbugs.gnu.org; Fri, 01 Sep 2023 15:22:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc9iv-0000m9-9U for submit@debbugs.gnu.org; Fri, 01 Sep 2023 15:22:29 -0400 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 1qc9ig-0001HO-5M for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 15:22:14 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qc9id-0001FT-Ne for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 15:22:13 -0400 Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-5654051b27fso1667678a12.0 for ; Fri, 01 Sep 2023 12:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693596130; x=1694200930; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=dsU8p3af9fJaXjqpIgPelDkBhHVbROGzmVQxnMd6Qbc=; b=Qpwa4tfPuHdzmWPId4NomS8gu7YrLR+ueqgLrGt4WTEIy+0AGkVMTuOpFwGkNfZr36 dvH/Vwe1VUjldyJ9aQgOGu+kYPPQmu7nKAGWfkXUDATx6TwfLmIiJTIbzJByBj7/8m4j /FeFQvy3Da0+V9XqviPLYUR0xl9WlHapDrsolk9OXMzRPi24C8Z0KolJKSOSxqxI8k8m s/wkZfUi/r/dY115T4n/EJbtGe8MCDyUm7MqaAjIJE05XF2z/f12wtWBuOIe3RmJgcSb qMIrQ//SBEWjPpWCodS3yS/VWTUQCAiRiOe+tffQ0y6roQuCJ9Nju7ariPhiuFr85f5T beYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693596130; x=1694200930; h=content-transfer-encoding:subject:from:to:content-language :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=dsU8p3af9fJaXjqpIgPelDkBhHVbROGzmVQxnMd6Qbc=; b=ZP4Oyi7knPjFMN++Fh1+RFVRV64LKiR/qqLwMqdACxHHdIyrcbs75TxgqotH5VI5SB yHNMuhy7/eh/Z8CIoYyJB1cL//lXIMzLmdvH1GqV9Hp6Fy1ornByf2zZsPQGZtluGiWp q46qHWUJv7+6wn4Hp1uMQUjIHeA1RflstU2XrWBGw/uEg6W4qi+yGiwVCZIpCsD3VaFK cWnOcayv76mcPPDP0++OjHn0Rah0TMcJwgg9uOm9gUdAqGRwmrB8m5W9Z20utxFeVI/x hRfnybN814c2TaPeEKJXPNPY0dGSoXfHr0ZF3Y2U4Tjpa+se9W0sQ/LnchTiRkb8E043 0I2w== X-Gm-Message-State: AOJu0Yx447SpZys6riFOUtA5ZWdRa9Mc0dRu06d0fUIq+CYoLlyX4YiP R6u12xQFS/1O4zhfuny/Z2WtD0a+sAk= X-Google-Smtp-Source: AGHT+IEkioKh+ra/pwPkR7VY87GL+xF4roAR7xPqwbuDaQiD4muGLRwrdsal9n3rMNe2Ym+6P69ufg== X-Received: by 2002:a05:6a21:6d8a:b0:14d:d636:ed3a with SMTP id wl10-20020a056a216d8a00b0014dd636ed3amr4926977pzb.23.1693596130215; Fri, 01 Sep 2023 12:22:10 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id f10-20020a639c0a000000b0056001f43726sm3088831pge.92.2023.09.01.12.22.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Sep 2023 12:22:09 -0700 (PDT) Message-ID: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> Date: Fri, 1 Sep 2023 12:22:09 -0700 MIME-Version: 1.0 X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-US From: Jim Porter Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=jporterbugs@gmail.com; helo=mail-pg1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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 (/) To see this in action, run 'emacs -Q "/:~"' on both GNU/Linux and MS-Windows.[1] On GNU/Linux, this opens a dired buffer for the user's home directory. On MS-Windows, it opens a buffer for a new file named tilde. According to the Emacs manual: > ‘/:’ can also prevent ‘~’ from being treated as a special character > for a user’s home directory. For example, /:/tmp/~hack refers to a > file whose name is ~hack in directory /tmp. I'd interpret this to mean that the MS-Windows behavior is correct. However, the example doesn't specifically say what should happen when the tilde comes immediately after the "/:". On the very rare occasions you might need it, you can always spell "a file named tilde in the current directory" like "/:./~". This is relevant to some future Eshell changes I'm considering[2], where (I think) I'd like "/:~" to mean "the user's local home directory, even when default-directory is remote". In light of that, my selfish preference is that we keep the GNU/Linux behavior and standardize it across all systems. However, we could standardize the MS-Windows behavior instead; I'd then just have to call out the different Eshell semantics in the Eshell manual. [1] You can see this inconsistency with other commands too, like "M-x cd RET /:~ RET". [2] https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg01244.html From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Oct 2023 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169633215715870 (code B ref 65685); Tue, 03 Oct 2023 11:23:02 +0000 Received: (at 65685) by debbugs.gnu.org; 3 Oct 2023 11:22:37 +0000 Received: from localhost ([127.0.0.1]:38956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qndU5-00047u-9l for submit@debbugs.gnu.org; Tue, 03 Oct 2023 07:22:37 -0400 Received: from mout.gmx.net ([212.227.15.19]:44111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qndU3-00047b-4P for 65685@debbugs.gnu.org; Tue, 03 Oct 2023 07:22:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1696332131; x=1696936931; i=michael.albinus@gmx.de; bh=UGXuvHblmCDpTThZCq1GVcOpAsfA5SONaXImr/va4yg=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=Y0ONCyKLE/hDTDzi5VfqQtr6HyS/QxTDeubcwZZRdhZdr9h+GTAJlgr1+lmZvChFEWlb5OHtkTP optAZO7C3pjss8YMHM6MRDjaAuS4pOUTif3H2PFdCbaeAtZM6eBW8CoB5M/pkS4DfWvmWbDox81v1 ZaugBxYng0Inwx25LmuhYq6Y1/ocZ5rVry34tI4KmXGrh+PrKBZ5JCwUxSBapQygUPM/Udyb8L36O WlZiE/F/9efkaWLkS2wQpFcfpmFBQDj53jyuRXpRQXGC4TJFPZiWMT8AiVn0st49h0rCJXlECvXVZ ni6dvEhJckoDs8OvD6KwsgmyHSois5hvZHRw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MZkpR-1r9nIC0I91-00Wo3L; Tue, 03 Oct 2023 13:22:11 +0200 From: Michael Albinus In-Reply-To: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> (Jim Porter's message of "Fri, 1 Sep 2023 12:22:09 -0700") References: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> Date: Tue, 03 Oct 2023 13:22:10 +0200 Message-ID: <8734yshrx9.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:oZZYqlhp7dhsOlT5NguxDAH4aDx5Io8xKxesirmHPvPi6eNDLdQ TXYQAtjNXDHtdZTjMD8Vm1KoQ7ttX9s06Zc0gcXHRVr8Q+ppRlhAHgPQqxZUlL/4y35ip9+ qg0hv1EdWQRsMeZC22FMHUuCOFTGHmpdCPSBpzExZATEbySpfT3a1g0qMP+9mOIueu0GVj9 7BN31F9ivsEM2ZPTqWuRg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:jowEwjIyQnc=;4VUP1fGzdKT+Jw1lyfJl9r5YJAV f8Z3kj+AUA0LAXrpK0H8qiDDIUu9eh4h0x0+b/t60Y7K3ZmtIVi1tgL4NbgXW87jafryBD4aj fwxF9Kh69Dal6its+cqgn+8/Zjgrxqm4TCzE8Wgk2DSM2Gefyi5fprtRL/owgc9OOuL0VNmCn tgGuHVY+kASFsME83uinBdr1VrLrnnglq//C7oDgYFUxzCyH08HsBqtNMx9ZDaeDmu5Yl/x0/ vdJenTR8oLhAFB+CebR4IkcAjTJPaBz+vo9ugHGTUfGrRFggUoQJkbbz4EXV8nlmuT+2ussbv aOGspBXFQczfI+mYpvXZfY+HtWqJLSMChndJnDjP4Vhz1R2/A0e/n+xvC1IFP+3Dpy+IzShR4 gjx441sjtjVLg/9So3P8kA8vQ0dOc9aFu9B/jChLphRhBIPRzD++8O14XXtcIEHLqxpFZ6Va3 iBLVJb2A+f/U+cjqX4y3jWFzue9QZ3/ncIJamaUNahExjUYykVqkiw/NqfCHu7Q2PmYUzC/TF iAjGUx9/Ys4ObQlyNNb+2kihVQBWK8AyHLSnaVqowIQcyQspeV4q7bUUnQK/JjsWXrqBqSypc +BSVo5XdA4dOu3RemnZoQ8Ibbp7GjB68pVkDSknNRAHqooZXZDeQxC08N1ngdq0OdaGwHTjtp CDRZxA0bXJe4t6dYigPrV3Ngzj/L2fkb7ZDH6Jk2977qh5TV/q98f/NV7kXOAr/10pqHRE2xx foSDo7htyEIN3HxcZX82imKtzI+N6BnuAW2L9CHdImT4nxlq9+TAudH0b4AgYVIENztd5Av2o irT8DcrfXHoP5boo49jNoFShRHGfXU5pEPgnF1eAwdRM/dVo98DXlJHTjKcNJqQG43qd+Zg2Q Fnh/RaSX9Hpx4SmspK5V/MDCvUPjtFz/a25+Xqzyk1hUDYrlMG0pmkSDU9viajkQuD5AMDoL5 NRv8d4QF7YVE3RDzcfUr/MtrGT0= X-Spam-Score: -0.7 (/) 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: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jim Porter writes: Hi Jim, > To see this in action, run 'emacs -Q "/:~"' on both GNU/Linux and > MS-Windows.[1] On GNU/Linux, this opens a dired buffer for the user's > home directory. On MS-Windows, it opens a buffer for a new file named > tilde. > > According to the Emacs manual: > >> =E2=80=98/:=E2=80=99 can also prevent =E2=80=98~=E2=80=99 from being tre= ated as a special character >> for a user=E2=80=99s home directory. For example, /:/tmp/~hack refers to= a >> file whose name is ~hack in directory /tmp. > I'd interpret this to mean that the MS-Windows behavior is > correct. However, the example doesn't specifically say what should > happen when the tilde comes immediately after the "/:". On the very > rare occasions you might need it, you can always spell "a file named > tilde in the current directory" like "/:./~". > > This is relevant to some future Eshell changes I'm considering[2], > where (I think) I'd like "/:~" to mean "the user's local home > directory, even when default-directory is remote". In light of that, > my selfish preference is that we keep the GNU/Linux behavior and > standardize it across all systems. However, we could standardize the > MS-Windows behavior instead; I'd then just have to call out the > different Eshell semantics in the Eshell manual. > > [1] You can see this inconsistency with other commands too, like "M-x > cd RET /:~ RET". > > [2] https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg01244.html I've played a little bit with file-name-non-special. The result is the appended patch, which expands always "/:~" to the local home directory. Could you pls check whether it works for you? Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment diff --git a/lisp/files.el b/lisp/files.el index ddae097f1d1..53314752604 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -8317,13 +8317,12 @@ file-name-non-special ;; Get a list of the indices of the args that are file names. (file-arg-indices (cdr (or (assq operation - '(;; The first eight are special because they + '(;; The first seven are special because they ;; return a file name. We want to include ;; the /: in the return value. So just ;; avoid stripping it in the first place. (abbreviate-file-name) (directory-file-name) - (expand-file-name) (file-name-as-directory) (file-name-directory) (file-name-sans-versions) @@ -8332,6 +8331,10 @@ file-name-non-special ;; `identity' means just return the first ;; arg not stripped of its quoting. (substitute-in-file-name identity) + ;; `expand-file-name' shall do special case + ;; for the first argument starting with + ;; "/:~". (Bug#65685) + (expand-file-name expand-file-name) ;; `add' means add "/:" to the result. (file-truename add 0) ;;`insert-file-contents' needs special handling. @@ -8387,6 +8390,10 @@ file-name-non-special (let ((tramp-mode (and tramp-mode (eq method 'local-copy)))) (pcase method ('identity (car arguments)) + ('expand-file-name + (when (string-prefix-p "/:~" (car arguments)) + (setcar arguments (file-name-unquote (car arguments) t))) + (apply operation arguments)) ('add (file-name-quote (apply operation arguments) t)) ('buffer-file-name (let ((buffer-file-name (file-name-unquote buffer-file-name t))) --=-=-=-- From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2023 04:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169691205112562 (code B ref 65685); Tue, 10 Oct 2023 04:28:01 +0000 Received: (at 65685) by debbugs.gnu.org; 10 Oct 2023 04:27:31 +0000 Received: from localhost ([127.0.0.1]:33774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qq4LC-0003GX-Hj for submit@debbugs.gnu.org; Tue, 10 Oct 2023 00:27:30 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:50407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qq4LA-0003GJ-9w for 65685@debbugs.gnu.org; Tue, 10 Oct 2023 00:27:29 -0400 Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-578b4981526so3297743a12.0 for <65685@debbugs.gnu.org>; Mon, 09 Oct 2023 21:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696912021; x=1697516821; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=OGKrcBI0e3bqOCS6v7y5ohFw7lf/gZ9J4KO4jIrPqWo=; b=eqUL/1ijDE+DwsKpxwePi0AlyAKLsZOhu410VwcwopytDv9MjxdvwsOyfGKO6G96lu iMIfCoEMykRWop8DOSU5r86PZZDliwEAS9bLdTVy5wXp9juL1MKKaWOHN08Bfrl9rpTh OQfih1E6dPlM5dXumrI9SNhMw3xpHiYettuyMuAqUGZT+WmveE1BAowaWb2Qrjc6eIh0 jA13/5w06rb1HAkZbFwqevg66yHEWnYv2yvNTzdUc6uZBwPvcJscAaIS5h2SaDwqCmZv no1D/DClqbEegITkEDLZNZGiPhsw2/crwAtWJGMqlY7tEbRsAiUhVJ3zDdZfOiBMFnEF yMQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696912021; x=1697516821; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OGKrcBI0e3bqOCS6v7y5ohFw7lf/gZ9J4KO4jIrPqWo=; b=aLfmnnHTc/hDqKhAEGylywhBG3zLLpKkT1Sq1qzrf134zeiMNSHObcriVOVXNznzlj WbbgRv43RPsRKnBzlyfaheXIj4WBrhKgrrCpzlruTySlyJNFf/D8giD8lggv0Zx41yku jjmPpvjqls3p2dejbdjdTxeNeUKQOw42KT65AAuogxw7W8n4tex9Ek1QevqJEPakxU1A PqD4UXYg01G4DovcMOHUrTqSjDZYhM5USw07/11z7Nc0RGSneqpvi7s737sB05GJDf0S R3LS1Kc7RpuL9rQuAXdqNTWFq9RiRK9CfTzmqsV3ZGGPdXKnK/rUE6ItWw6Gv6HVXEKh bv5Q== X-Gm-Message-State: AOJu0Yy1RWdGAXTAhxJ9dH3cH30HyTeLJyozTKNynM5DGwGMZhQiGgxU Rn3YOKdiLRsSwoYMZVGBgXk= X-Google-Smtp-Source: AGHT+IECtx82ZVo+qLTVwhPmRt8tz3evtRy2W1eyImPkm+oUdfZ17Vcwtq2Do+L9aEbALDclmYmsAQ== X-Received: by 2002:a17:902:da87:b0:1c6:bb3:29e6 with SMTP id j7-20020a170902da8700b001c60bb329e6mr17350943plx.16.1696912021147; Mon, 09 Oct 2023 21:27:01 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id h4-20020a170902eec400b001c73f3a9b7fsm10499135plb.185.2023.10.09.21.27.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Oct 2023 21:27:00 -0700 (PDT) Message-ID: <143e9622-960b-0841-db3f-d79b021eedb2@gmail.com> Date: Mon, 9 Oct 2023 21:27:00 -0700 MIME-Version: 1.0 Content-Language: en-US References: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> <8734yshrx9.fsf@gmx.de> From: Jim Porter In-Reply-To: <8734yshrx9.fsf@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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: -1.0 (-) On 10/3/2023 4:22 AM, Michael Albinus wrote: > I've played a little bit with file-name-non-special. The result is the > appended patch, which expands always "/:~" to the local home > directory. Could you pls check whether it works for you? Thanks for the patch. I tested this on GNU/Linux and MS-Windows, and it behaves as expected for local files, but Tramp filenames from MS-Windows to a remote GNU/Linux seem wrong (though they were wrong before this patch too). Before the patch (on Emacs 29.1), if I open "/ssh:remote:/:~", then Emacs opens the file "/ssh:remote:/:/Users/Jim/AppData/Local/Temp/~". After the patch, Emacs opens the file "/ssh:remote:/Users/Jim/Documents". Based on the direction in your patch, I'd expect Emacs to open "/ssh:remote:/home/jim/". (I imagine a similar issue could occur on a local GNU/Linux system, but going from a local MS-Windows to a remote GNU/Linux has the benefit that the two systems have obviously-different directory layouts.) From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2023 14:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.16972072186561 (code B ref 65685); Fri, 13 Oct 2023 14:27:02 +0000 Received: (at 65685) by debbugs.gnu.org; 13 Oct 2023 14:26:58 +0000 Received: from localhost ([127.0.0.1]:47040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrJ7u-0001hc-E4 for submit@debbugs.gnu.org; Fri, 13 Oct 2023 10:26:58 -0400 Received: from mout.gmx.net ([212.227.15.19]:43607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrJ7q-0001hF-BI for 65685@debbugs.gnu.org; Fri, 13 Oct 2023 10:26:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697207180; x=1697811980; i=michael.albinus@gmx.de; bh=WUhqjg8tkwyZKHit9H7vFIg2Fqs4FyBe9dP6H+llDzo=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=Rzn8YyrPWE+583eR7B1YvBiYSQG+O8WxyroumnUqD4dQBnoXn6ZnJNEO4JtPsNSfuUNfKS7cP2H D3cUvF7ToyHXk9Xcmh6YnLVFjMH7kB6XlmJX9X69oEzg/YLHlzJixHHMKTRw6tFBkn6XKkMol+Aoq nowMl4Nfs+Z6Zfntg2msDwQMgc0Jvc5Idj6wTvKYn9Jp2vdIDjQwZIP0Z94uedxV+6xC4l2eicsz+ T4Lx4fzG2EIYwlFj5FDQXndMh1zrniFvI9o6QJaF0l01yarrYtefcGDxpxBZZLNBtI61MllmLBSnL 8pHF+66MNdZ90GM0rpsakEuQh4VdaJ1u13kw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MQ5vW-1rDDiu2WOG-00M5ZO; Fri, 13 Oct 2023 16:26:20 +0200 From: Michael Albinus In-Reply-To: <143e9622-960b-0841-db3f-d79b021eedb2@gmail.com> (Jim Porter's message of "Mon, 9 Oct 2023 21:27:00 -0700") References: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> <8734yshrx9.fsf@gmx.de> <143e9622-960b-0841-db3f-d79b021eedb2@gmail.com> Date: Fri, 13 Oct 2023 16:26:19 +0200 Message-ID: <87a5smvbsk.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:5RxPTYVkIKyrbphllJCZmEDaFtzli7gxo8l579yzwCqpJwxYSjc k/35bxfODeZHAYoWyNV0rpUucyPhMSlWgCnTzlYlinNCOqLDpdwGSaRY2oZG32n3MxfCZv4 A3ZR+1MYYaUnTdsGDF9aW1BhQbugvXbf9sO7VK4uco16SQjxYNynIlUEaYlDLusFuUlbBDY UI6zy/Jz7jdgHmZCJzsFQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:VP5bAptRfnY=;zqtI4lVdSsFprcchxHCA0/w9tCr jjPScLJuW1ZzGXg0pZmc2Iqe/yZvcAcgP4XoMJAS74sCOBkJtLoUGlVO0ej8ZTZ5uR9b++bfT HtLGv44UkqC86yT+LDaYUovI3R+Sg/iA4T+/H62uk9U4+NfgD94fvTOEipITZNzat88V6suMc qyxRmsqwRLvVAtNDv7tlkcmVzQTnVeO/kUCW1LAHcVrOZRFErTnz15zY6y8FEn4TTY4rvjSJU 9VHKLwSyBIsyZXx1ltouDktuld5y/Mi/HpkPP1++VZluPY4J96UjDM5D+5JigOPvGu/KlM/53 B24jAQZfeV6flMJD0iim2pCAwtnNdRyjenUXIE8HkMNEWQ93Ghm0YSVrlU7ukbpCJXJKE/0kr Wb/7UgghVYOd7KZPCpyVrkwzMbGkDDKbPtOZhSwaHumqhFrkm1pr69WSLvJs3mJag0ZP23OAB V+3IbT2GlZCD2jO9+vBxZgxhTLyxiGRYwO9xRI5Phx39HvVM4QFlkcWswLA745P+UKulRg7Wu Mz3ENnJgmOWepJVDRyE36VtZSbB05HyLBmPwo2SAWE4OcHM+BW0YNedbqf+np+vjbj79KxGFL jyaiJsOH3IFmnnB94mteFBM5nwLOWSH+AgOG4kylZF6AS3D5XGL51GtahJyRnfyyl9d8W2X7N 4KUI0tDaowZlt47tnqREzQLHMTCaJzknP17G8O5Ts4AhkWyDW7EqnQOW1WsVCaDrFZtSX7KQO OoG6z9DIB5Daxf7SICaWFNfkxXnMjFhAwe7YYX6DmyGI+lVCbhhMObnhNM5TDH3uTNsBkmRHl iTZ5m6CYSuhvSU9pBpJp7gqMgMUEesSKJsS0dBhr8FFx9yWdfgCEBmqkX7kgcG+lIM/dyOcET iNE9fEd/8pzzrNVrwvU+cuwzEHyxv1WGgNdOQ/Ta3JCafFZ1Fb1A7Dhf8yeeZt8wMSc/uE3uY i9fUV7UnOPG5FPeAZ7V+0AGDdwsqJmPc+yFQH+77aMf9kJ4c X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Jim Porter writes: Hi Jim, > Before the patch (on Emacs 29.1), if I open "/ssh:remote:/:~", then > Emacs opens the file "/ssh:remote:/:/Users/Jim/AppData/Local/Temp/~". > > After the patch, Emacs opens the file "/ssh:remote:/Us [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.19 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.227.15.19 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Jim Porter writes: Hi Jim, > Before the patch (on Emacs 29.1), if I open "/ssh:remote:/:~", then > Emacs opens the file "/ssh:remote:/:/Users/Jim/AppData/Local/Temp/~". > > After the patch, Emacs opens the file "/ssh:remote:/Us [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.19 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.227.15.19 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Jim Porter writes: Hi Jim, > Before the patch (on Emacs 29.1), if I open "/ssh:remote:/:~", then > Emacs opens the file "/ssh:remote:/:/Users/Jim/AppData/Local/Temp/~". > > After the patch, Emacs opens the file "/ssh:remote:/Users/Jim/Documents". > > Based on the direction in your patch, I'd expect Emacs to open > "/ssh:remote:/home/jim/". This is a Tramp bug. I've fixed this in the emacs-29 branch, and merged it to the master branch afterwards. The fix shall solve both scenarios, with and without the patch I've posted earlier here. Could you pls test, whether the patch behaves now as intended? Best regards, Michael. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 00:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169724352428552 (code B ref 65685); Sat, 14 Oct 2023 00:33:01 +0000 Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 00:32:04 +0000 Received: from localhost ([127.0.0.1]:47591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrSZY-0007QS-3d for submit@debbugs.gnu.org; Fri, 13 Oct 2023 20:32:04 -0400 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:55399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrSZW-0007Pv-5H for 65685@debbugs.gnu.org; Fri, 13 Oct 2023 20:32:03 -0400 Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3af64a4c97eso1565313b6e.2 for <65685@debbugs.gnu.org>; Fri, 13 Oct 2023 17:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697243493; x=1697848293; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=QPS+DNC+5ucfvbQi9pItxsoHNPSPYFB7ZChHgja9MGU=; b=HCA6qHAvnfjptGRFgSvXtZTmBIxv1O0d0unuCC7regmOvU2Xivsabu1bWpAkXHfhIx kBWa6uNT5Tct7mnEFuzoX+M091p50vVD6g0jg1V3Xq4ZbWuCypQh/5PGB/G1BYS9J8p9 RALDTzK+nhKCvzAE1GE1fsV8fQl0tmnEWwHIXqSbxOYHFCA+vTIRRQ4C7lKI4imiJwFb 23mb+pWcAHF34a+B4mS3E9C6v/b6GWO9WaDaAPxr3SKZtl4HkuTpDy0ARcExjasl0PqS SH6Manq1MnTuY2M7NUhLNQ+2kinb4+f87nEBjx+JW7FlxqXJcHtyw3N6q01TRVLalaTg HOWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697243493; x=1697848293; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QPS+DNC+5ucfvbQi9pItxsoHNPSPYFB7ZChHgja9MGU=; b=cDhkxeg2hdeeQyS1nZAikwgS87L+tmpE/Ta+PkfC8ND7S5Qt+bAcSSfSE+ptdjcz+N fSnd2JjwBgUTn7ygEA8oMr30jercit05tXZxCFgu7V2lmADMXzvLqnuYMDcH0VGVhs/v 6Sb3YBC0khJLUJDlfIZ/5zuKQv55uzxvrlldOQx0n3peZtqdBg/NOFjlzVzSjWb5uRHc kApWuUrs9siGGpaoUaAvMfUdGdo0zLVRVFMs7NvJq3s/+LKJASTqLNBN78ZI2Ug5ggby WJy1qDY/Tz3fHj8uTxndeT1V2F46iPJpYH2NgUjFONgKne1Ie03zuQXHz4PWvrN0QJKb RAnA== X-Gm-Message-State: AOJu0Yy8Rr5357AHyST4MX8PzB4MQsDSc/ri59dTFKuvujYQdEL3tQkT 5ybGwGsDQ6l9PTQjv3aB/GU= X-Google-Smtp-Source: AGHT+IFYhtd4Tnql56VvIZw7U/PArqbBSyxePu3aShcgcv6yTIqawsyY6LNj9eRBffV+b0wjVYE5hw== X-Received: by 2002:a05:6808:200e:b0:3ae:4d0:7f0f with SMTP id q14-20020a056808200e00b003ae04d07f0fmr32756025oiw.19.1697243493084; Fri, 13 Oct 2023 17:31:33 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id f8-20020aa79688000000b00689f5940061sm1154977pfk.17.2023.10.13.17.31.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Oct 2023 17:31:32 -0700 (PDT) Message-ID: Date: Fri, 13 Oct 2023 17:31:32 -0700 MIME-Version: 1.0 Content-Language: en-US References: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> <8734yshrx9.fsf@gmx.de> <143e9622-960b-0841-db3f-d79b021eedb2@gmail.com> <87a5smvbsk.fsf@gmx.de> From: Jim Porter In-Reply-To: <87a5smvbsk.fsf@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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: -1.0 (-) On 10/13/2023 7:26 AM, Michael Albinus wrote: > This is a Tramp bug. I've fixed this in the emacs-29 branch, and merged > it to the master branch afterwards. The fix shall solve both scenarios, > with and without the patch I've posted earlier here. > > Could you pls test, whether the patch behaves now as intended? I think this works now, thanks. (Note that I just eval'ed the new version of 'tramp-sh-handle-expand-file-name' on MS-Windows to test things out, since I don't have a build environment set up on my MS-Windows system.) So with the patch you merged to Tramp, plus your other one for "lisp/files.el", I think this is all working consistently now. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 65685@debbugs.gnu.org, michael.albinus@gmx.de Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169726937921259 (code B ref 65685); Sat, 14 Oct 2023 07:43:02 +0000 Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 07:42:59 +0000 Received: from localhost ([127.0.0.1]:47780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrZIY-0005Wp-UU for submit@debbugs.gnu.org; Sat, 14 Oct 2023 03:42:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrZIW-0005WZ-Nr for 65685@debbugs.gnu.org; Sat, 14 Oct 2023 03:42:57 -0400 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 1qrZI3-00066T-3X; Sat, 14 Oct 2023 03:42:27 -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=Y5mfdXuKucLIRlU/aj+eapW2LzeFkUFdX2FnJU6z088=; b=qXtgoLfcdq4h iyAe7KBpvvnKJ7sIUKZu0EaGJhSiTfNvCK5nX5zJr0LTuTI1dUdcBfVGu4GrbsQ0EhdBf6QTkOF+0 ob9XiN+DA3dy7EJoXKD7wBQvgAucEj/J2Xh/C4h5Y8htPEeYr13XNsmiJROpu9tDMbKnyZ+J8ZpZE RN0pZe76mR5Pz2mEVCzuLlWboHwGfpnHd0MpFlCtAt81ec5S1BgnW0nkzLJCSaDcvjYmZBQ0ebJt1 GnEdTZZ0VHlz8vTXb+JbrJYIUSWDrsIku2F2GGpKZ+7acY2bsG6T/uMHhZouL453Uo1cXyrPDyi3b qSmHBgf4I6G6lI/wn30VPQ==; Date: Sat, 14 Oct 2023 10:42:25 +0300 Message-Id: <83il79sl9a.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Jim Porter on Fri, 13 Oct 2023 17:31:32 -0700) References: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> <8734yshrx9.fsf@gmx.de> <143e9622-960b-0841-db3f-d79b021eedb2@gmail.com> <87a5smvbsk.fsf@gmx.de> X-Spam-Score: -2.3 (--) 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.3 (---) > Cc: 65685@debbugs.gnu.org > Date: Fri, 13 Oct 2023 17:31:32 -0700 > From: Jim Porter > > On 10/13/2023 7:26 AM, Michael Albinus wrote: > > This is a Tramp bug. I've fixed this in the emacs-29 branch, and merged > > it to the master branch afterwards. The fix shall solve both scenarios, > > with and without the patch I've posted earlier here. > > > > Could you pls test, whether the patch behaves now as intended? > > I think this works now, thanks. (Note that I just eval'ed the new > version of 'tramp-sh-handle-expand-file-name' on MS-Windows to test > things out, since I don't have a build environment set up on my > MS-Windows system.) > > 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 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. From unknown Sat Aug 16 21:19:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jim Porter Subject: bug#65685: closed (Re: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms) Message-ID: References: <87fs2d4pmf.fsf@gmx.de> <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> X-Gnu-PR-Message: they-closed 65685 X-Gnu-PR-Package: emacs Reply-To: 65685@debbugs.gnu.org Date: Sat, 14 Oct 2023 07:43:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1697269383-21276-1" This is a multi-part message in MIME format... ------------=_1697269383-21276-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platfo= rms which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 65685@debbugs.gnu.org. --=20 65685: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65685 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1697269383-21276-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 65685-done) by debbugs.gnu.org; 14 Oct 2023 07:42:39 +0000 Received: from localhost ([127.0.0.1]:47776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrZIE-0005W8-JM for submit@debbugs.gnu.org; Sat, 14 Oct 2023 03:42:38 -0400 Received: from mout.gmx.net ([212.227.15.18]:60215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrZI8-0005Vp-8Q for 65685-done@debbugs.gnu.org; Sat, 14 Oct 2023 03:42:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697269321; x=1697874121; i=michael.albinus@gmx.de; bh=dmXVSw1SKCtATFwEQPyoJIq8YkjjnnBGyKXjMRnrMuU=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=B6X/1fe7xsaPcVz4CHQNhoq3HUlwNdvUwVX5eAzNs6YAkA6Qd6BRJwyj6vyWyDzLQ+nqhgdr+dm c7ZXBTlUZywx8UTBICBzy3yVFVGyGw1Rw+OoU6z114c7UQ3njw+rT4TCf2B21VEPQvmPKxBv0Mtel 8PCbw4l+DH99U4HLhjaq6zPKE3AIb8CbrkyIxA5dXkneYOVLQG9uB1/KB/3sn5PGcd4ahuHiEGb7z UgZsTcBfK9b0i6429SHWe8fowd5VEBR1ZVoojnQwz4paHApVCyZdNQqkkvnfTymwn6b23PhUPZH2Y NBFhlMmm90nwqq8TxWfUzXHFnim84AD8WP9A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M8QWA-1qvz8T25Gi-004Q91; Sat, 14 Oct 2023 09:42:01 +0200 From: Michael Albinus To: Jim Porter Subject: Re: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms In-Reply-To: (Jim Porter's message of "Fri, 13 Oct 2023 17:31:32 -0700") References: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> <8734yshrx9.fsf@gmx.de> <143e9622-960b-0841-db3f-d79b021eedb2@gmail.com> <87a5smvbsk.fsf@gmx.de> Date: Sat, 14 Oct 2023 09:42:00 +0200 Message-ID: <87fs2d4pmf.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:WsiaZfGdaWc/C+I5q8KyoR0cTnl9G/VHIOPn1SE4f3S/EHOZU4M zhZLyfOThQC6P03ZITpyoxsDc6Omu9zI/G7M7I4MF5ssrnrndCimaTEWOR6fCJ1kcpMEjPk 5AAqE0wIbRKM/n9RW6aLYjEpoSbJwkMDvij58++ahcQNRJ3H5soNKbPtY02a01RJHqJOxiE mgyGAM6HHqqEKo77Kkyow== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:yePhVE+UWJs=;P0yPZPT4sg9liAlu2k8ZfpdgaiD wdA6X3fq4lqOJEh6uBZhv1ZGfVbBKCdabyKWiLV/Nmmho7E0Onvpb9TZvHgGHoxXv3P4lLbCv VYAOUELvqzFqLSoVzMmD6Q0vue6Lxhrj2jNGxkiPAdDTDpEkzTN8Hkd5xxZ8o9x8FEUwKh80p 4MBaOiZJZJhFmK9UItvJ3pW8TPY6C8qWbSfp1n3sodzKD9WAOxS/Ysz1q6e7cHPI9RvHyFFq8 VSNa3IrKNpKDepQ1u4qifyUFAGEt1zKEx7VqrG6Dw6wGHCiXruSgejNz+JxogMPW868tImVIB R0kA20vNBZpTo/C8YP/GQ48RnJ7aGLDezOhBBMh920op8uWsMcok5PZMb5jCQ627labSDNhIl r9qnhXGUTbVudCO5HGyFPRNBJvtOKL81pwx2dfcQZQIPQNX2O7wWd/fZtadMFLY3OnyCkMWWH /sSxbcqmFhTm4ca1iLIlRcj7fY+zHvtYfsAToa3lhO6YaMehhV00Xn+hJJfvu8+JnRlWmyY2j 7wBCqFR77dvvCDFf5mpDaWad24XmBpGbkH7V/ViaTBAZalDwme8DlPxBYmI3yU4SmoMD05rkC lf9GUVb+kQTAsHC27Oqw2uEJidB5TyA7XAh8T8sQrB1hjCZLYtkipQMY51de2qynxdUyFb7Kr S29T20qLW28tIsD5mOrVtG3USkt8HiIB7aLfYWE+mdiziyJb87YFGwH4D8H0FHldj+s7KQR9F vvbHlPu+hYbc2aREI1+Awmz9x+mQXqM7qzqn0qjHXgdS9Ky1aG+jBUxyX3oBYBv3yviOYffSP MS0B2XudL9ZcdT0puSq8DekiybjquQJX0tJEGKTOPRAmIBsDF//VGpoWlYznS+B7VouGTbDDW tIW2SG6YUsOcEiAIUnv6hQ6qAmqTDqfK9ZSLlvkCJYQTpgEdAgfSgPDNW2HYOcS9iEFXDahcg DcN01xiwvNQN0/CFgTfLBUxEcRHsf6CU5RW3Oc6VaHMxpQza X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Version: 29.2 Jim Porter writes: Hi Jim, Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.5 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.18 listed in wl.mailspike.net] X-Debbugs-Envelope-To: 65685-done Cc: 65685-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: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Version: 29.2 Jim Porter writes: Hi Jim, Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.5 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.18 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Version: 29.2 Jim Porter writes: Hi Jim, > I think this works now, thanks. (Note that I just eval'ed the new > version of 'tramp-sh-handle-expand-file-name' on MS-Windows to test > things out, since I don't have a build environment set up on my > MS-Windows system.) > > So with the patch you merged to Tramp, plus your other one for > "lisp/files.el", I think this is all working consistently now. Thanks for the feedback, I've pushed it to the repositories. Closing the bug. Best regards, Michael. ------------=_1697269383-21276-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Sep 2023 19:22:31 +0000 Received: from localhost ([127.0.0.1]:33962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc9iw-0000mL-QX for submit@debbugs.gnu.org; Fri, 01 Sep 2023 15:22:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc9iv-0000m9-9U for submit@debbugs.gnu.org; Fri, 01 Sep 2023 15:22:29 -0400 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 1qc9ig-0001HO-5M for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 15:22:14 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qc9id-0001FT-Ne for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 15:22:13 -0400 Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-5654051b27fso1667678a12.0 for ; Fri, 01 Sep 2023 12:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693596130; x=1694200930; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=dsU8p3af9fJaXjqpIgPelDkBhHVbROGzmVQxnMd6Qbc=; b=Qpwa4tfPuHdzmWPId4NomS8gu7YrLR+ueqgLrGt4WTEIy+0AGkVMTuOpFwGkNfZr36 dvH/Vwe1VUjldyJ9aQgOGu+kYPPQmu7nKAGWfkXUDATx6TwfLmIiJTIbzJByBj7/8m4j /FeFQvy3Da0+V9XqviPLYUR0xl9WlHapDrsolk9OXMzRPi24C8Z0KolJKSOSxqxI8k8m s/wkZfUi/r/dY115T4n/EJbtGe8MCDyUm7MqaAjIJE05XF2z/f12wtWBuOIe3RmJgcSb qMIrQ//SBEWjPpWCodS3yS/VWTUQCAiRiOe+tffQ0y6roQuCJ9Nju7ariPhiuFr85f5T beYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693596130; x=1694200930; h=content-transfer-encoding:subject:from:to:content-language :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=dsU8p3af9fJaXjqpIgPelDkBhHVbROGzmVQxnMd6Qbc=; b=ZP4Oyi7knPjFMN++Fh1+RFVRV64LKiR/qqLwMqdACxHHdIyrcbs75TxgqotH5VI5SB yHNMuhy7/eh/Z8CIoYyJB1cL//lXIMzLmdvH1GqV9Hp6Fy1ornByf2zZsPQGZtluGiWp q46qHWUJv7+6wn4Hp1uMQUjIHeA1RflstU2XrWBGw/uEg6W4qi+yGiwVCZIpCsD3VaFK cWnOcayv76mcPPDP0++OjHn0Rah0TMcJwgg9uOm9gUdAqGRwmrB8m5W9Z20utxFeVI/x hRfnybN814c2TaPeEKJXPNPY0dGSoXfHr0ZF3Y2U4Tjpa+se9W0sQ/LnchTiRkb8E043 0I2w== X-Gm-Message-State: AOJu0Yx447SpZys6riFOUtA5ZWdRa9Mc0dRu06d0fUIq+CYoLlyX4YiP R6u12xQFS/1O4zhfuny/Z2WtD0a+sAk= X-Google-Smtp-Source: AGHT+IEkioKh+ra/pwPkR7VY87GL+xF4roAR7xPqwbuDaQiD4muGLRwrdsal9n3rMNe2Ym+6P69ufg== X-Received: by 2002:a05:6a21:6d8a:b0:14d:d636:ed3a with SMTP id wl10-20020a056a216d8a00b0014dd636ed3amr4926977pzb.23.1693596130215; Fri, 01 Sep 2023 12:22:10 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id f10-20020a639c0a000000b0056001f43726sm3088831pge.92.2023.09.01.12.22.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Sep 2023 12:22:09 -0700 (PDT) Message-ID: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> Date: Fri, 1 Sep 2023 12:22:09 -0700 MIME-Version: 1.0 X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-US To: bug-gnu-emacs@gnu.org From: Jim Porter Subject: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=jporterbugs@gmail.com; helo=mail-pg1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.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: -0.0 (/) To see this in action, run 'emacs -Q "/:~"' on both GNU/Linux and MS-Windows.[1] On GNU/Linux, this opens a dired buffer for the user's home directory. On MS-Windows, it opens a buffer for a new file named tilde. According to the Emacs manual: > ‘/:’ can also prevent ‘~’ from being treated as a special character > for a user’s home directory. For example, /:/tmp/~hack refers to a > file whose name is ~hack in directory /tmp. I'd interpret this to mean that the MS-Windows behavior is correct. However, the example doesn't specifically say what should happen when the tilde comes immediately after the "/:". On the very rare occasions you might need it, you can always spell "a file named tilde in the current directory" like "/:./~". This is relevant to some future Eshell changes I'm considering[2], where (I think) I'd like "/:~" to mean "the user's local home directory, even when default-directory is remote". In light of that, my selfish preference is that we keep the GNU/Linux behavior and standardize it across all systems. However, we could standardize the MS-Windows behavior instead; I'd then just have to call out the different Eshell semantics in the Eshell manual. [1] You can see this inconsistency with other commands too, like "M-x cd RET /:~ RET". [2] https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg01244.html ------------=_1697269383-21276-1-- From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms 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 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Jim Porter , 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169726974022225 (code B ref 65685); Sat, 14 Oct 2023 07:49:01 +0000 Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 07:49:00 +0000 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 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 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 From: Michael Albinus In-Reply-To: <83il79sl9a.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Oct 2023 10:42:25 +0300") 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> Date: Sat, 14 Oct 2023 09:48:25 +0200 Message-ID: <87bkd14pbq.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:Y/LUvNXLjcNkypA/F12+ptoN8UFvg75k1ct/6bJ9uiqmrGZIeQ2 2cp1wFqyxV+m3QgQPLs1MaKh1gVeeMwiwKsUlD7I7guwJftXdR+t7f/vKKwp5B9yQxidwQd gmPgXk112EezIEegan6yBQ6O5xvL19RlPe1GwheHeulNycYKVtyoAsn4uhslouox0cXnUNx JES9aPs3ChcHzFRiK7rkg== X-Spam-Flag: NO 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/vf KArMwayOY3JExv2+UECt4CzK96slbFf2D0sz5YzqYRGsqeru+fx2l4ESUG602z4TNErS8qCYh iyUPGVkRkEndc/9v7c6aAQmxYsFcltKY2JIp2GnQuwc1+kGdh0/pkhmIgO3a8L8qKsVdYWmpP nDKhm2eKCejVYnpWoiqmo+L3ruU= X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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- [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.5 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.18 listed in wl.mailspike.net] 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: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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- [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.5 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.18 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 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. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms 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 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Jim Porter , 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169728100525635 (code B ref 65685); Sat, 14 Oct 2023 10:57:01 +0000 Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 10:56:45 +0000 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 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 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 From: Michael Albinus In-Reply-To: <83il79sl9a.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Oct 2023 10:42:25 +0300") 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> Date: Sat, 14 Oct 2023 12:56:07 +0200 Message-ID: <87bkd1eam0.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:5cTF+lQIfJLEpNhxfthCJcVyvusUY8ECVrZuyriZzTZWMCJFE5j pibzf3PWoW0qXJbpKlEGdb4CC813cjzNOA0bkattEsnAAYOgPFFCN/mR0pAxIaAZ7GwBm2d I5msykDzL1Dvx6ldEYCYYc7pAOhEOHRPxUza7VClomymi8HXi4stww4I3jpYU1xYJQyBGPB 13ykNS13iJrP9k7CbGxvA== X-Spam-Flag: NO 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/8ETKF F4jGTW3A0bmUfXtiziUanh/CHvZhb1na2hyMgE8ymoF9dPXCz+g1GUAFpNlIo51zcmLIbg+J6 WTSitAX19jxGnvG0Jxx99i8rM0CsJeFUUA3gup87QPCoURMLBayNXJJUWD6dQz4+Andtbauea OMkiMyon3AtjOiIkbzi6r/sfsIqFjOwDmaezSzEcYeb9yOQ/ Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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-na [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.5 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.18 listed in wl.mailspike.net] 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: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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-na [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.18 listed in list.dnswl.org] -0.5 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.18 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 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. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 11:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169728274329413 (code B ref 65685); Sat, 14 Oct 2023 11:26:01 +0000 Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 11:25:43 +0000 Received: from localhost ([127.0.0.1]:48008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrcm6-0007eL-R0 for submit@debbugs.gnu.org; Sat, 14 Oct 2023 07:25:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrcm4-0007e3-TT for 65685@debbugs.gnu.org; Sat, 14 Oct 2023 07:25:41 -0400 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 1qrclb-0003MG-CQ; Sat, 14 Oct 2023 07:25:11 -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=RSAnX9a9zt5/OrUJmg/391HFgwqq9z4Nw00xxOmhdhU=; b=HRi7CMlczKjB i+PHfKpkdCncV6/TwZcNXhsQEDh8boFdTlryMcToNmVNL5Ux5HIF5GBF26g2NWcWUgcmOLLvJOWZS ulqiYYXrRhvyJuEoPGdOc7QGfrEwI97mGYIdOfXtpfb8CHBl0/MEEnfiCNC1mwdsJv3YdnEuHgHRb s4RPfG9ZxvqCHwlEm0AmEjIeBllJ5H9uXiufkEW1J8pFsX+iTyv7LQaGxCCN/RxbJ/99Dk44HR9Qt 45rUwzNkx8rzDeWvsZZFj0jt1UGzf4476nul9Rejv7b5dIO7C/jpRj4WR7IhgrINojmxqKnMYfgKE SVQjh0YetAwV5VwDSBfmAA==; Date: Sat, 14 Oct 2023 14:25:10 +0300 Message-Id: <83ttqtqwdl.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87bkd1eam0.fsf@gmx.de> (message from Michael Albinus on Sat, 14 Oct 2023 12:56:07 +0200) 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> X-Spam-Score: -2.3 (--) 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.3 (---) > From: Michael Albinus > Cc: Jim Porter , 65685@debbugs.gnu.org > Date: Sat, 14 Oct 2023 12:56:07 +0200 > > 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 It's Windows XP here, but I doubt that's the problem. The test fails for me both on master and on the emacs-29 branch, but the latter is my worry, since I intend to start the pretest of Emacs 29.2 very soon. > --8<---------------cut here---------------start------------->8--- > Ran 113 tests, 111 results as expected, 0 unexpected, 2 skipped (2023-10-14 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 > --8<---------------cut here---------------end--------------->8--- > > What is the difference to your setup? I do $ cd test $ make lisp/files-tests and get this: Ran 112 tests, 109 results as expected, 1 unexpected, 2 skipped (2023-10-14 14:18:07+0300, 9.375000 sec) 1 unexpected results: FAILED files-tests-file-name-non-special-expand-file-name-tilde 2 skipped results: SKIPPED files-tests-file-name-non-special--subprocess SKIPPED files-tests-file-name-non-special-dired-compress-handler 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. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 14:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169729382022313 (code B ref 65685); Sat, 14 Oct 2023 14:31:01 +0000 Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 14:30:20 +0000 Received: from localhost ([127.0.0.1]:50086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrfem-0005np-93 for submit@debbugs.gnu.org; Sat, 14 Oct 2023 10:30:20 -0400 Received: from mout.gmx.net ([212.227.15.19]:37557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrfej-0005na-51 for 65685@debbugs.gnu.org; Sat, 14 Oct 2023 10:30:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697293786; x=1697898586; i=michael.albinus@gmx.de; bh=S5boB0cGeT6ccPlxiRYQ67VWwb6INta9qvfSt2xzOBA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=HOmKwwTTkw29PlHUm/T1kJaWjE5Yx1p9eEaNLLxdA9HQoXzS2fbYJYI5a4Nbpur3hXES1IfGsP4 /ImiI2YdCaUc68O1rLNl6fpp4+hbShzlUi12BvTU5yGdo5rZi3K1F3ZTNcx/VS6hjo8dXkgf7cSUb nf4Onx6VoOFdkT+bOHLLktTq7jSvTx6SIxJAMMlr5PlkvwgmHJfBx0/RRvcByP81EnXTdLkEH+V5V NKWam3aNDSZOvR5EyIdtlfz/W03vbtnx3IoVHQF7HcWdNeWPwUsXMJNbokxed8Lg2sOjRfQmlcIfu h+6MNW4lxyzitQqN1iyu6wmBZWaw18Uxr2og== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MIMbO-1qoLja2XNk-00ELdo; Sat, 14 Oct 2023 16:29:46 +0200 From: Michael Albinus In-Reply-To: <83ttqtqwdl.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Oct 2023 14:25:10 +0300") 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> Date: Sat, 14 Oct 2023 16:29:46 +0200 Message-ID: <87jzrpnup1.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:qcdosnGGvsJZ1gXDwY88vJjNeEayQ0zFyr5h0/SFRySTvbrRQWW KqC6xV26wSr+Ani2vPoAh4FzR5vxtYYoXRb1LEI5C+dPEq8TVeEz/c2bIYibb7b96Mi9fnB JHorASk8My1nelwUsz2TNPbmXkuZdCTH76xeGIHqf9KlhcYIUKYsUmOpf1a3xB4fDk/7U/J 1Z1s9354TmR+uhKQ8kkIw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:i8KgvWYucJM=;TMqE5DA8Bvpn0s2n4N4c9VXsDQW 9UEaoAyjPxnWTrmIqMkeCY5UaFdHU/iD0PzpZ6E+nGYdLpGjrSUFF9qbTkux4AOPaxHLJ3s2M LMRtLwnNcApzs1lB5RKlmXw8URghCtxrr9Fnhezx/HEHnArNNXI1p/jIFQp9ckyqGuRdW0993 q0g5UoXO0heBhT1s/NQTmRgQQ32TXxs9nyFNV7cfwxg39tpHKyTHKp1xeoz+gkp/t51TQmkWn t0EXjvUtuZHqb5hhKKrO1DjG8NpgPUiVXDFQc13qZvuDwPi0Rtse6Pov7ferLLvRTN0MBIPgP 8mBohH0zLgwSBpz+Fq2mEEaMB6Eh+3QPdEYnpsQuf/6knYTry0PaGTzFAvSLTArDctCfbPNp8 +1jvJDbWglEFGevzz/lSpMRkRuwfkhA8k5ERHhGw3vgFMMij6tEf8eK3xDVR4n9V14w6W1gcU CR/Ni0Yg9Lq3Fk8HiLHRFgje5SPvNmU2YCau2zREjmnQc8XbKwiWxy+BWb5ssIeGkoZemCsc5 Mn/MvFaea2J6vntp/QnWS1F/yRsPBbdC7o9f9Kuy1OlDzZw633E8bqNPYTtRT1L94mY3gV/NQ QRMBE5VOxnIB4BI/S5rCI+yLLSiQvcRaS0QjnHSL0xM8wBkZwow9ASZ7rZLiXd+auMxA7CUqM G4sNiLey2YoIuYvzPzPlplGyYzJbPgZvP+iK6mojRxcOhNeC5DnOAEeGmush1gB04yumMwVRW Vdjlt2ZUtcRFiBMQzmg5DymbguW5xb1dBvNDhUUWCW1/Uvg1oFHQ4ZT+fhFz6jgCURQbGFqKA 5jclvWg0mYq1+ySHieVRTbMuq+WEznRiDHWORrnJNmA8J+HngjVY8igzCOgOmN7afU5rMSY9v 0QHwB6YWXiYgPF4v+zWMgomxbbTaeyZWTxPbCyDpEXtCif4inkphLNECKl2DVYGgxQlIe+I+q JcvnNMB48cRvnJoDUXW4kZGV+WJU7Yo2K4Q1CD7i2mk1r3Ch X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.227.15.19 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.19 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.19 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.227.15.19 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 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 ... Best regards, Michael. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 16:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.16973021347565 (code B ref 65685); Sat, 14 Oct 2023 16:49:01 +0000 Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 16:48:54 +0000 Received: from localhost ([127.0.0.1]:50287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrhor-0001xu-Fy for submit@debbugs.gnu.org; Sat, 14 Oct 2023 12:48:53 -0400 Received: from mout.gmx.net ([212.227.15.15]:57407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrhom-0001wa-19 for 65685@debbugs.gnu.org; Sat, 14 Oct 2023 12:48:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697302097; x=1697906897; i=michael.albinus@gmx.de; bh=wnvaswuALlStYDNU0o/sBwf9JQBctIvXjPQjYiXarXQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=R4kFKLQfacYohLPA2t0AjlODAmEWZsns1mmlUiYqyOg6i8EgrzwwgOxMerDBVUjVObftGR1bOa9 zZB+SmD7aLO5KMfErIS1WjRVxdBT1pHYA6Tndk4J0v7jFGx4pFmt/T8+hd+u5bSaT5Oi50b6cPffM U76nXV/MUfGpKMSn1dC+oBEKHPjqQJbXIOXt/YBW/B1296WHeZY9wAtrnuOLHziZ6R1XneA4DooNk NTEtj5NAa3kGU+JCGlWM7+MJEVSu2f6lTV/mFQnQ/RGgoFfhPOByMIQPCb7LQt8ADmPbRlajuqol6 yyjLU8ev88J3G/BJq/GwO0yHPk4ncAjh5P2A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mxm3Q-1rl47L0tbC-00zHWt; Sat, 14 Oct 2023 18:48:17 +0200 From: Michael Albinus In-Reply-To: <87jzrpnup1.fsf@gmx.de> (Michael Albinus's message of "Sat, 14 Oct 2023 16:29:46 +0200") 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> Date: Sat, 14 Oct 2023 18:48:16 +0200 Message-ID: <877cnpnoa7.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:I1O1hsQB2VR7aKlCrHQEAZHT7OBM3dCrDM0vBnFnvZfSEBdO4B3 1rVI0bqoxue4pRQXQlLbnK0rFGIcjK2Pi6WdKMkXyyjI9icFa/oNSsmBxl1FZOJdBf4J1Yw izhDkXDt69WgbKMPD3aOF5BU3ryGbntAwH4QbyiBg1G+/xpibx3PIJV7ar7lSmhsP7l1dOD zSWQvtetbVN3WCNz0t2vg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:8Q8ougrgH6Q=;nMit9Qsjoxnwqjh4A9TlCT14NEx 5QsFj5V8T6H6Y8jP2tjfEMUWy55WbqucMcwxfHy/MYYtwDjKx9Op8tScdO6+ktQeH2I3LHSpB tjDc8kLY0qAsyL5TSrhpeqbIH3u44hU64WbRkeS1GA54FHnkwanZSZSIdgl4ZVEzeTOZocEPV 5S/c1SN2x0hYQdoJ6vhjcHO/gRSuwt/ABU8NJt5HO5GtlVjJSN0GV51ia1guJ5HoefV5qaS/y YxXfrpzm9mtdjzb/8+Nxc9b/51lk5XPzqdIV9dGMcPoPpPaHxHssNzevcK8cPyK6Dw83KvBXK 5nU9LP/yw45Sd2QWtn1+D40e8jqrVp4T1/9KDBgxzo/NEgSnXiYgY32cV6Tax+qflPSe0gDEi JH2wVxUxNk0e3FbtrDz7qLd9IXM9cZEviwSkPZR3UE8U4Om+UKVbCuv03NIWmgSM+3HbOdqaN 0FkYWKpRQY+wFID711YGUk8tfeg92b9yfAhwuUOhQ38FGK0VzphtaHFY8SROb1upoMFEdli8S /J6wgviyB0OYa7ZCTVKeBYJ6l9yGWeb3ipXPE/hnCvL0HqKrjL0PfByzb1QzVT8ENLeo+Hd1e TayQVhdK9uQS47MBPFXsPMVxUILynOseTo33deR9xBGZGR+O9HnDUEsJszN9BeVtHnt5+vag/ t8S163j1vFJosugJSWrI38dIoxcpANvwNLP8hKSHUNg469hpUsKfl3mD5I98tLMMfwPc7nik2 3G88WMcNdDjPss5edJaavYL9NVktPhwoMOnxepueB1fTwCPRcBEvcx9008XQ62MgnTFoU2L6e 4p5mZ7fJY7lTHeEAXd09bG6iDwn6QC95nD47Pyc5KpEy6+D2v8j2wtwpza2sXRKh6g6PMXjqy EZpSKlRan3UtjfNo15J6G/BaTvdlxhpaijC65oWUHoTUGD2QH0Dlr4annElScRUhiau1bJkIH VJFMwKdD2MVIGaqzaOt8pQ16iYcFZTSeVlQtOlNWWAvEV8nW X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Michael Albinus 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 [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.15.15 listed in wl.mailspike.net] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Michael Albinus 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 [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.15.15 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Michael Albinus 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. Well, since it isn't needed for the test, the appended patch has fixed it for me. Would you like to check? Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index 8f6495a293c..07e1be015da 100644 --- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el @@ -668,12 +668,14 @@ files-tests-file-name-non-special-expand-file-name-tilde abbreviated-home-dir) (files-tests--with-temp-non-special (tmpfile nospecial) (let (file-name-handler-alist) - (setq nospecial (file-name-quote (abbreviate-file-name tmpfile)))) + (setq nospecial + (file-name-quote (concat "~/" (file-name-nondirectory tmpfile))))) (should (equal (expand-file-name nospecial) (expand-file-name (file-name-unquote nospecial t))))) (files-tests--with-temp-non-special-and-file-name-handler (tmpfile nospecial) (let (file-name-handler-alist) - (setq nospecial (file-name-quote (abbreviate-file-name tmpfile)))) + (setq nospecial + (file-name-quote (concat "~/" (file-name-nondirectory tmpfile))))) (should-not (equal (expand-file-name nospecial) ;; The file name handler deletes the ".special" extension. --=-=-=-- From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Oct 2023 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169731050626172 (code B ref 65685); Sat, 14 Oct 2023 19:09:02 +0000 Received: (at 65685) by debbugs.gnu.org; 14 Oct 2023 19:08:26 +0000 Received: from localhost ([127.0.0.1]:50525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrjzt-0006o3-IB for submit@debbugs.gnu.org; Sat, 14 Oct 2023 15:08:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrjzj-0006ng-Jl for 65685@debbugs.gnu.org; Sat, 14 Oct 2023 15:08:23 -0400 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 1qrjzG-0004IX-BJ; Sat, 14 Oct 2023 15:07:46 -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=Y60r0D6p/o6skaLLIC+W6W8l3b48fB2Z3D10hf7dTe4=; b=k136s/dB18nw jsS9pNlvtlkZWS2Kam0JCQwrD3L61mF1Ms9d8MJxcjtrPS3xCD09AJIqoR31aE0dtrjmJifiwlcFw +TeTdK2zj64SfhcoXij2Vlez67z/jkpRbCgHIo/Kk8dyloT3BkylK/SIEqZe+xTRzKrvI4wuT2//q SKDg6Yx9chtHXqe5rmX6Av/54MjDa67Hp45cyyrTkG7Wf5QP0n1yFyGX24xR3SAy+7aCy+7bSfIZL XNPr3aAzjXtgL5A9q1WhjjLFYUAKkCtHqkc+2fbbN8uXK2da6JzuDWmPjFhKEF0MwcHrLtG9812n5 f2EXrXoYtod41YC3C1YoEw==; Date: Sat, 14 Oct 2023 22:07:41 +0300 Message-Id: <83lec5qayq.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <877cnpnoa7.fsf@gmx.de> (message from Michael Albinus on Sat, 14 Oct 2023 18:48:16 +0200) 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> X-Spam-Score: -0.0 (/) 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.3 (---) > From: Michael Albinus > Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org > Date: Sat, 14 Oct 2023 18:48:16 +0200 > > >> 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. > Well, since it isn't needed for the test, the appended patch has fixed > it for me. Would you like to check? I'd like to better understand the issue first. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 07:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169735391531977 (code B ref 65685); Sun, 15 Oct 2023 07:12:01 +0000 Received: (at 65685) by debbugs.gnu.org; 15 Oct 2023 07:11:55 +0000 Received: from localhost ([127.0.0.1]:51137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrvI3-0008Jg-2Y for submit@debbugs.gnu.org; Sun, 15 Oct 2023 03:11:55 -0400 Received: from mout.gmx.net ([212.227.17.21]:52861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrvHz-0008JR-Dv for 65685@debbugs.gnu.org; Sun, 15 Oct 2023 03:11:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697353880; x=1697958680; i=michael.albinus@gmx.de; bh=cz/ypAV1yFnF72/pQ7V1aAMOAoLbkRaTJ5p7FnXdRnY=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=OSRMMoIZV9E8+n+TREUTTEJvseToPo7anZFDOl2cdz02xYWbu24oc5786B6VthFHCKr2r/13XaK uUGB772c5cbVj8YlE46YXkAmLPUTWqS6ZXfF7OIoNqrgVbDSfVqnZRghEr2N/2fil8XJjqqR0WJx9 q15tW6gwqXhignCWecUNud8nL8TwBn9j+JK5NUJcVDTyr3myv0uzd9o4KSU5dA8q+kqxWW/1qkc3S I70ziAY4QEloHU8vUJUDmJFa6m7Mld5ujghFrVa9LTbozoIgrGLPGg/Fw2V2EuqvVvCq0oM7dLCOw ncB2NS8VHPfRIaD/oHFchFjO0Dh5AYNe+/bw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXp5Q-1r47a02hSO-00Y9tg; Sun, 15 Oct 2023 09:11:20 +0200 From: Michael Albinus In-Reply-To: <83lec5qayq.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Oct 2023 22:07:41 +0300") 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> Date: Sun, 15 Oct 2023 09:11:19 +0200 Message-ID: <871qdwnyw8.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:2hv7ay3NObo7PsRgpKPqgDGM5BTdgMohgKv458AB3ZZiGo8YRmo yM03Wyrx3J/joyZLf+T8C/fTHkRseD0/Ht6m+M5C78lyRf7Tj7t9eCIhzkX8UwELfyd+Nt1 F2OjH7TEyI5ND37i0hUb1j6PlXpDm2+z6vh6QWJsq/YJyQjVeB4x/Dgd0cCpL2p6Z7cTngs w6Y/v/nCmm/6J34OZnmQA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:f/F2EEwzZ0I=;ChyfrNEFeX235C59fPs9Y2KeHgz 5hX1EbsCy+O3+ZK9eZy7lqrBz9687LvAiCI/iLFFofLVONnvGi7CMWeBt+uRUKeBGx/l1ZsrS Bhs3rw+eS9wNSsI2QqqlW9/Ukiu7mctTvZnB63Q5S2nEbbKkrGZBVMEqSrW3WbogpV/AQKJ/U EnsaLhUoDbtmOGKZiLhWe3hnKmgxfQ/l6/ODLGteuxVY9zRchWLFbqzl1Y4MGT90HchHFejqa 4YRH3Wix37VxE/JckW3qy3TdoUdLrRhLxoe9wwEPtu2lyLpfMcaQz2wrQYSQp89QY8FQkmNOZ 3hXSOPD4KlwgSUFYQA8yLx48WSyIyYWe65Wlw4RJTJYZyXjVo1UrbcKVgqXl/3rrkMlle6bYB INHS6etNkBKGDy9XHmpwc0xTV0UwLr7K7FsBrwkbSdXRa+OVKRCM4wlKsSFX50LJsR9g/WTPs 2Ap5640+e5Z3Uxyag+bjVBm9FF3khVVBlgQZrHp2bNafH1kGIuRZCt6uIe+IpPo7vB48JPEVQ WobwrU4bLTJMoCCQsh6hmuEf7lGIYLMsi25txXHKLfObx8Lsw/48t7q2f+jq1vcCb8G6J+WI2 nQXq87xONcrzEICO7J+CIieh06Qm+uR918utB+mHGw0eOK8IeNxf/vIr7/3TxR0gXS0XJzFhl N8lk7iMK56CbrTRa7E0wEc+vzS9mIvxh6ZH66Cz0QmrLXB+Yv7VumdNAgAtbm8rPayB1IBM63 zE3gK9bunO2+b+DPU472v9NyFNFAXMuBD5jtejvOs5p33Kfvhy1tRtY1HgwqDZJkWL+PiL4tq BO8QHa3iEedsCAFnscrbJW+dI+6SaGhPkxryqyP1NlxEzTmSmlZFB6axgJxEL7gQX4ts3om8z EqqXY2rTfThlonvG4Ie8PDoVl/9l/evMstDPtHcOD+bcT00GjLiGb15lIehakyfo0fN8xZO3l RtB9rj0OnYvoPeXN4bFIgz+BXTF5AWkN1s0gDArUg0lOhrtG Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. >> > >> > F [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.17.21 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. >> > >> > F [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.17.21 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Eli Zaretskii writes: Hi Eli, >> >> The only difference I could think of is that the directory Emacs use= s >> >> 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. 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. Best regards, Michael. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms 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 X-GNU-PR-Keywords: To: Michael Albinus Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169736261017453 (code B ref 65685); Sun, 15 Oct 2023 09:37:02 +0000 Received: (at 65685) by debbugs.gnu.org; 15 Oct 2023 09:36:50 +0000 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 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 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==; Date: Sun, 15 Oct 2023 12:36:00 +0300 Message-Id: <83wmvop6rj.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <871qdwnyw8.fsf@gmx.de> (message from Michael Albinus on Sun, 15 Oct 2023 09:11:19 +0200) 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> X-Spam-Score: -2.3 (--) 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.3 (---) > 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. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169736347319585 (code B ref 65685); Sun, 15 Oct 2023 09:52:02 +0000 Received: (at 65685) by debbugs.gnu.org; 15 Oct 2023 09:51:13 +0000 Received: from localhost ([127.0.0.1]:51222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrxmD-00055p-1I for submit@debbugs.gnu.org; Sun, 15 Oct 2023 05:51:13 -0400 Received: from mout.gmx.net ([212.227.17.22]:40133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrxmA-00055a-IY for 65685@debbugs.gnu.org; Sun, 15 Oct 2023 05:51:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697363439; x=1697968239; i=michael.albinus@gmx.de; bh=132PEo6F+rxO+mAQgItr86EYWiLBq3sisuAgIUBfOmY=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=Ulo6joifWlUDfkSQmtGE5xlhmzmhTjFQusfjuS9zWnCsAxbBvb53bJNSZNQ1J5fdKpNnpm341XC Rkub14D7gJPzUZitnq/K6QpFTHCRz7OivmNYRBdf7ShU3HLDe3N7jKWjSDhVM7b4UJWnOeEx/z4NB b3A2uJu0NA5qWYXkyxRfmmJk4wzNmlxUN/OTsqhRR4qa5dAwAWnr37RwLvad+Gn+8aGVoFjyL/1nK FgkPW00hecyR9YtAoJq1yw2BEYEEmVmajbt7f78Z796aQlRyjOKjklELWI24MgIt7RUfuexXS22xT m/sAwGnsjCKfhxSj/iUbP+07ciVQYh0wggDw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N5VHG-1rbV2L2IRu-016uVF; Sun, 15 Oct 2023 11:50:39 +0200 From: Michael Albinus In-Reply-To: <83wmvop6rj.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 15 Oct 2023 12:36:00 +0300") 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> <83wmvop6rj.fsf@gnu.org> Date: Sun, 15 Oct 2023 11:50:38 +0200 Message-ID: <87v8b8mcy9.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:li+o2IFGYB7k56IlFb7mRPvX5ZjX+lotyRgJ/3b2OTCx1h9+O/q iA8qv+bV3RV1C5LUTniirro9Ddui7lb8lEEQyQj2R38suBEQyz6YnJfvjkF+H72t3VKKKi1 +XgvOH1AceqA+5oYR32cBQEgz7MDVtk9NPpbC+dhjM95pUCZmjZtdtP+srIjSpLtr+HCmUl uw1z56HvJCEGuyh8tyOxA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:kYyJfOCrVO0=;8DDDCOzBVfhW6WPk8+YP2OKM+0k P2/eGo0zsoUZsJkiaA0XD7joN0GOMD2YryIJsYhoXTCl1yr0vNcy83n7PPppJ/MU1XL2UY9Ei SEmcsR/8p8gNwR8nf6a9ST+w4KdXLiJYPXDRQlCv0Ddw6XctZV5Ae7XZ/W87P0bli7xW64k1E bUQd5FQQpTalh0oklyjGtT9JYsqFP0HvnmXeZ+9dWgS0vWZLVLoI4QT+ftkMivqu/V0Uhz7hw MInkDoHP3IDVuhTp8kJlwtFpuLfwpAzWfZauIPOh/68F+GD9PyBR5vbeMvl8goYsyMpJ1t1X1 BIq2w7i+R2hJO2Qbcd61g5tCqVrXevNgU6ryCDn/1/cERsJTeJkdt/fnvC5RfxhNYda+PdhIO Yurs2L7SNWSqvkXHr2xbAjC/KoTBqFRHwfhh3bONzrJdY+KZl1dMu4vrrHcg27+8zlTOXwCCW npu1KOEkQYuc5wOSicDShIOUIwxbT2gXcYnmkXSh16nmbY9qR3T0g3VG3himtEJbMt/cOLVN+ HCR5NZRO8tscvDr7XJZw925S2M2wtptYt8DEw6WzC40KeXCBJwFX5jTQJKMMaoCbmdEBjivu1 fEY6kaBh+mq1FrGi3gAB4J3OntInuXlDYSu+NYo0Z6j7QydHv3SY65agaProXcnDZCHGnih6n lXZnZLbITaLhuGUY24hA8wc0c2bokSfpE8SsHNExdxRw6E9so87xQv+c+BqewffD1WvyhMwH6 gdUyw9kbadsIWWmF7r3hxxkTzC1ASA0V9Laxn0cs3WLeVmzt9SCbrpP0TvbBpUWSLgUuHkMEw 6w8+eUuA/humWJKrt87NTa1WKJP4UIkdi3nNOTFneUIT1iCHqiiMPjyFujHMEH4r3kmmHqL4O ZH2oCd53NLGpfWvwEXQyqOul2m4Gc0/m8T8s/ckPm7/NT+KHx+IR0Ru3S9iBmYZNJcMAcEqLG dLEGjEtGYcna7n/gfmrd4FopKHs= X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. >> [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.227.17.22 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. >> [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.227.17.22 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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? I haven't completed all tests yet, still in debugging. As recent result, I believe abbreviate-file-name works correctly. Rather, the problem seems to be with temporary-file-directory. It is used in the prelude of the test to set the HOME environment variable. But later on, in the macros files-tests--with-temp-non-special and files-tests--with-temp-non-special-and-file-name-handler, it is modified to (file-truename temporary-file-directory) - this difference seems to be the culprit. >> 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. Could you pls apply the appended patch instead? I'll continue to finish all my tests, but if this patch passes also in your environment, it would give me sufficient confidence that it is fixed. Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index 8f6495a293c..78d469580ba 100644 =2D-- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el @@ -664,7 +664,8 @@ files-tests-file-name-non-special-expand-file-name (ert-deftest files-tests-file-name-non-special-expand-file-name-tilde () (let ((process-environment - (cons (format "HOME=3D%s" temporary-file-directory) process-envi= ronment)) + (cons (format "HOME=3D%s" (file-truename temporary-file-director= y)) + process-environment)) abbreviated-home-dir) (files-tests--with-temp-non-special (tmpfile nospecial) (let (file-name-handler-alist) --=-=-=-- From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 10:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169736395220339 (code B ref 65685); Sun, 15 Oct 2023 10:00:02 +0000 Received: (at 65685) by debbugs.gnu.org; 15 Oct 2023 09:59:12 +0000 Received: from localhost ([127.0.0.1]:51237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrxtv-0005Hz-R8 for submit@debbugs.gnu.org; Sun, 15 Oct 2023 05:59:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrxtu-0005Hm-9e for 65685@debbugs.gnu.org; Sun, 15 Oct 2023 05:59:10 -0400 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 1qrxtO-00056L-Hy; Sun, 15 Oct 2023 05:58:40 -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=qolvy9ziWQF15dMFeqELsSYbkUDpGsJU43qHL2x4chA=; b=Kl7ZF+OKNnhc DHdfLMj7vPCmfXO4qRBKzwyhKR5hHlWVwNWbukTBJTsuQyli+0ebKCUGKVvQOFFsM3mPbIZGTxtLq 5tB2/ibhwTHZnnDDuZxTZeU9PEgSmV0CLpqu6dwTzQswXIchTVYkTgC7Eo63uXkLa9nEDWcRx35uI hjycAMfrw4AXzP+RktzB+ZUvwvpMLkwr7rh/Ruh/YrnbXOvBTj4mr37l18fNXAOiM+xe60h0mwn7Y 7h9sbmTNaAZQ6lyqgGXFtZzIPHu7sJFv3Lbk7DXk7m7ySB9n+x0uCSfUrh78QiYK5aTxI+b+mCRSA qI2GAEH1FIr1TASxnj+TRA==; Date: Sun, 15 Oct 2023 12:58:19 +0300 Message-Id: <83sf6cp5qc.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87v8b8mcy9.fsf@gmx.de> (message from Michael Albinus on Sun, 15 Oct 2023 11:50:38 +0200) 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> <83wmvop6rj.fsf@gnu.org> <87v8b8mcy9.fsf@gmx.de> X-Spam-Score: -2.3 (--) 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.3 (---) > From: Michael Albinus > Cc: jporterbugs@gmail.com, 65685@debbugs.gnu.org > Date: Sun, 15 Oct 2023 11:50:38 +0200 > > > I applied your changes to the test, and it passes after that, thanks. > > Could you pls apply the appended patch instead? I'll continue to finish > all my tests, but if this patch passes also in your environment, it > would give me sufficient confidence that it is fixed. After these changes, the tests also pass. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 10:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jporterbugs@gmail.com, 65685-done@debbugs.gnu.org Received: via spool by 65685-done@debbugs.gnu.org id=D65685.169736578724414 (code D ref 65685); Sun, 15 Oct 2023 10:30:02 +0000 Received: (at 65685-done) by debbugs.gnu.org; 15 Oct 2023 10:29:47 +0000 Received: from localhost ([127.0.0.1]:51290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qryNX-0006Li-0J for submit@debbugs.gnu.org; Sun, 15 Oct 2023 06:29:47 -0400 Received: from mout.gmx.net ([212.227.15.15]:53043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qryNU-0006LN-2h for 65685-done@debbugs.gnu.org; Sun, 15 Oct 2023 06:29:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697365753; x=1697970553; i=michael.albinus@gmx.de; bh=SDezq7WDUv1H0Q4qSA1YEOD88iTiyIcnmKjjoks6IQs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=qUfgE9QtR6HTqDI6Jywt/g+1MBWu8MO3t1WDuF2hK4HenSXDYOB5zcdgUhPIBye4XryekmEpFKq eVtSSOBQGYPJaMieDbATRjVJYRYH7hJ+iQzkkF2C9CYDaFnTZxQYziGeRFqzqdYTRCiJDCWGDdGuE TC/paYUKcibmMRkM26/B0bic9voywmaDxtHL0YIpE0HFXGvkDEJ5GQQ+i1Sif3Q687vareH47/VBQ /vJYYTQDdl3BIZ2ccc6ACXhxzbT6zd596ZhP9zH2H0axddfQ4vZ/rxOe1VEtstzfln/zyFjl9W/Cy qvTWWx9W39cGISrhYin/GyihFUw62glwk8zQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MN5eR-1rASh20WaD-00J32o; Sun, 15 Oct 2023 12:29:13 +0200 From: Michael Albinus In-Reply-To: <83sf6cp5qc.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 15 Oct 2023 12:58:19 +0300") 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> <83wmvop6rj.fsf@gnu.org> <87v8b8mcy9.fsf@gmx.de> <83sf6cp5qc.fsf@gnu.org> Date: Sun, 15 Oct 2023 12:29:12 +0200 Message-ID: <87mswkmb5z.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:kOd4OueSKqnBmgrizpF45nwOYLTcgZr9NfbMc1ZwGNQ28UHdW56 eAYoJlb33+Lc+wJELRCJb0f9ObrtjrbLJlXUD8XEjiPJvwol96zkD1FEQnOZc16bIdH75Nw npHdPIVMypNmrWM4l81i9fdon13a6exUsF5KYUehUE9VQ8uzW8d9JoENFyMGFHDS6RqcaCe 7OCJKtbr2slgMXo6UVmsg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:ypiU1F0/hgU=;bbQ47sMb5u6X5mtREcw2eiCYIk3 Hf1OvrntCdSgon427wC6L8qOU/4jsjcfBFOiAx0JyD8fA6+MgCpAedhE4eYESi4WU+Vqrsd2D HPiOtEKWpqJQQ1xXUPlbKT1F/DFu/lqm3gIoKSO+mrthaAOQeUl/EzFssR8PubaqVkFQ7I0KC PdDRDYB65/9Ue28qGabj90aBNGxjhABvov8/yYX3/lfJtCxLb10uZCyXKDhkD39KeDpYWAJJr BNgN+szYUJmajaZUDFov8l08PI1hrygKGElJ9YXk0JpkpDsZtS4ue1oE8XuDw5THvuJH2iNuV p4u+pUtfhSrfWBObv3bN9Ti+conB6dNgouiamqZBBtMM1oq2kPPhHFVw5dzGb7JW8RZEJpeWE /aR9gOXNIKgOX94og/U9aMc1qiHwfDSXzm5m+YlUpP9Q8sjVH2Tgp75IYeVsy5gEDNtclYbwO BaobXx0LNerU4lpDRaxQ8MaG9bgp6qzQUcGNeu/YzPSeweQJEhjOE+RgqEfAoAjsg/ZTDB6CE D1p2HYCXPuDPEGrpw4sjOcbRKQBMWMalZ0Oxh5CgbibQYNOCkRDKKh8smUHmtlvR2IU6iubTy I4g9b3FlEIOnAZHBtE839lEHWxX5KC4CY7KFWgzKsMa/apuUTuXErMFhwnrGm+uabLdn4mMUC 6uzd0EWXFf/GM61+a6ADDRm20F3bojjGNdqP2DWOf1/S16bMyewRLoKcimCOWJgeYQczOWfZG k559jY3yQ5mVTBkjXYbe0xebuYxD1N+aTwjViH+T0AQlDzSB/Rlcnot8nB+X+IUwT1hmXCdkV Zs1/56R5xx4ZkDitIJB1Qfvi9uClInEB9OW43CDHQVHda3s5ZGBIoNBVPbdp1LZlhiP2aY2Dv 2CH/ClVb1WMeJsicRf0OcCmEiO8QLhPsSOTKZXGUZ5w9bXYqtd9xzx15ST+jV5eQeC67CezeQ 9LLUNj3hF6gBgiosr2pbZwPy+bmDIB6Jy7U097ZUQif2AvYH X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Version: 29.2 Eli Zaretskii writes: Hi Eli, Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.15.15 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Version: 29.2 Eli Zaretskii writes: Hi Eli, Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.15.15 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Version: 29.2 Eli Zaretskii writes: Hi Eli, >> Could you pls apply the appended patch instead? I'll continue to finish >> all my tests, but if this patch passes also in your environment, it >> would give me sufficient confidence that it is fixed. > > After these changes, the tests also pass. Thanks. Pushed to the emacs-29 branch. Closing the bug. Best regards, Michael. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms References: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> In-Reply-To: <156539f1-a26e-848b-16b9-8c12ea46f321@gmail.com> Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 20:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: Jim Porter , 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169740079122411 (code B ref 65685); Sun, 15 Oct 2023 20:14:01 +0000 Received: (at 65685) by debbugs.gnu.org; 15 Oct 2023 20:13:11 +0000 Received: from localhost ([127.0.0.1]:54182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs7Tx-0005os-JR for submit@debbugs.gnu.org; Sun, 15 Oct 2023 16:13:11 -0400 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:53684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs7Tw-0005of-0W for 65685@debbugs.gnu.org; Sun, 15 Oct 2023 16:13:01 -0400 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-504a7f9204eso4853505e87.3 for <65685@debbugs.gnu.org>; Sun, 15 Oct 2023 13:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697400749; x=1698005549; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=HILQAXfgFvcYK3W+pxupxZdxycmZ4u8/72diVH+igVc=; b=KCr5bnGX/ygeIuiKqzbF3CkKoWFwt4+uYU6naBZ9j8odXjwFlsoX4eynritecjg2I7 cZgelqcAJlzVltK1fXLSTbpfTv2skIjbSZZk4phcqdINo6ZOC/UrnhR2NNZg3NYecldK YjCJDrfQEx39TvvlZjPI4ZFi9X0SwvPkK4Dg39fCiRVW2EXcJGGkXyfOioCsCL+ji8tJ YfnypucOQoo8CXn5O/2dwMpwoQG6DB5+KMIumjvfzQ4G8ZqlTI/iXqgV4s9mtJIvcXkF mJcIblVA0FTYi5u7YmbZxbkr5Bb1eqyANOqC6J1CF3ApycOVXG1upFrRlcMgpZYDuhEh UCqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697400749; x=1698005549; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HILQAXfgFvcYK3W+pxupxZdxycmZ4u8/72diVH+igVc=; b=g/gX1cpycvcOYfPfNd4HT5p4XoYq+FoEiSHLDg1vuZyruEEmQLlWB/JUipta9sPa9Q 5f1wChaKVdOdkOrqq7FEbcgpif+8vCMkk/l5hKruy4HDMzpllvbASdPRaVsJE+Sy+Ya9 0si/2IVXtcTyTyRMsANKVyvGHXI0mA/+wSHVExWHD+qHRqoY2DZ81XGpU8P5NIGJzpXl mJ3OdfiMd0s2Wyl8MRu0YiyYtbx5dhlxjNDKzFphhVaoVYF2rSAaauAD8uV+1OUhY9A2 /kIqCJcKoXtLg02EhF3gAijFdlJaebb7Nfjw+OHYe/nRMw9vJ/xQSZJSlFY08OGxxBL0 RDog== X-Gm-Message-State: AOJu0YwBSprcdNQKDN215ktjOuVAjngf34PEU03GZsqC6+JMiJJS7cSh 9CIJvHLbh8TxsN00gvzj5VQ= X-Google-Smtp-Source: AGHT+IF3A6yrR45QII4iUIsZVyo1m4keWAvdjXVZP4eL6FZYePBNcbrXEFDyyS4pyYVp1x0K8ledjg== X-Received: by 2002:a05:6512:b1a:b0:500:9a29:bcb8 with SMTP id w26-20020a0565120b1a00b005009a29bcb8mr28217237lfu.4.1697400749175; Sun, 15 Oct 2023 13:12:29 -0700 (PDT) Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id c14-20020ac2414e000000b0050309ea3a62sm4236198lfi.277.2023.10.15.13.12.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Oct 2023 13:12:28 -0700 (PDT) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Message-Id: <64C5303A-586A-4347-8979-2E873DD0FB41@gmail.com> Date: Sun, 15 Oct 2023 22:12:27 +0200 X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) 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: -1.0 (-) After the change, files-tests fail.=20 Test files-tests-file-name-non-special-expand-file-name-tilde backtrace: signal(ert-test-failed (((should (equal (expand-file-name nospecial) ert-fail(((should (equal (expand-file-name nospecial) (expand-file-n (if (unwind-protect (setq value-354 (apply fn-352 args-353)) (setq f (let (form-description-356) (if (unwind-protect (setq value-354 (app (let ((value-354 'ert-form-evaluation-aborted-355)) (let (form-descr (let* ((fn-352 #'equal) (args-353 (condition-case err (let ((signal- (progn (let (file-name-handler-alist) (setq nospecial (file-name-quo (unwind-protect (progn (let (file-name-handler-alist) (setq nospecia (let* ((temporary-file-directory (file-truename temporary-file-direc (let ((process-environment (cons (format "HOME=3D%s" temporary-file-di (closure (t) nil (let ((process-environment (cons (format "HOME=3D%s"=20= ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name files-tests-file-name-non-special-exp ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":../../emacs/test" "-l" "ert" "-l" "lisp/files command-line() normal-top-level() 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 = "/:/private/var/folders/qy/zstv16390nlcs47kz8nff_mm0000gn/T/files-testsgcr= ggv/files-testsHn7mpT" = "/private/var/folders/qy/zstv16390nlcs47kz8nff_mm0000gn/T/files-testsgcrgg= v/files-testsHn7mpT") :value nil :explanation (arrays-of-different-length 94 92 = "/:/private/var/folders/qy/zstv16390nlcs47kz8nff_mm0000gn/T/files-testsgcr= ggv/files-testsHn7mpT" = "/private/var/folders/qy/zstv16390nlcs47kz8nff_mm0000gn/T/files-testsgcrgg= v/files-testsHn7mpT" first-mismatch-at 1))) FAILED 45/113 = files-tests-file-name-non-special-expand-file-name-tilde (0.000818 sec) = at ../../emacs/test/lisp/files-tests.el:686 From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Oct 2023 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Jim Porter , 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169744008211098 (code B ref 65685); Mon, 16 Oct 2023 07:09:02 +0000 Received: (at 65685) by debbugs.gnu.org; 16 Oct 2023 07:08:02 +0000 Received: from localhost ([127.0.0.1]:55132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsHhp-0002sq-Dt for submit@debbugs.gnu.org; Mon, 16 Oct 2023 03:08:01 -0400 Received: from mout.gmx.net ([212.227.17.20]:33561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsHhj-0002sY-JP for 65685@debbugs.gnu.org; Mon, 16 Oct 2023 03:08:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1697440044; x=1698044844; i=michael.albinus@gmx.de; bh=IPrh0z1l/8ZBFcoTK24J9Xc7X8h/POiOjLDkbeOlCdM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=F4EMNjFRGKgXPkk9sYT5ld4TG+6FFn4Qo/Ml4wu6llzdlZA9hnLP1O0n0ieUVBu5EK6FJf/xHuV CG04afLj4iuhKbiZLAMq9Q5vCX4Upa8lIE7wmxqEww1ShPyQIKyT6faGORRkHXOfoHS456QrkBZHw FzHt1T6tZnwIJ2y/uVHpOVWazDtow1dkbKviupKtvf9X0rh+r1QA7L0dxou1QaFFYNJfre6LWmgY4 2xzYY1MZqWd7a3+FRr3OeAMVdeYYAYzRjABDcG4c+o5jAX4MGZeI1mgM2541NU97C8VGDN7fUSvVV fmK/j7wpgHGut7a+5gfXOwChvR/ERRwkrZuw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MlNp7-1rFUx7072L-00lpbT; Mon, 16 Oct 2023 09:07:24 +0200 From: Michael Albinus In-Reply-To: <64C5303A-586A-4347-8979-2E873DD0FB41@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Sun, 15 Oct 2023 22:12:27 +0200") References: <64C5303A-586A-4347-8979-2E873DD0FB41@gmail.com> Date: Mon, 16 Oct 2023 09:07:23 +0200 Message-ID: <87cyxfyris.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:s5jPqgu95PHMNrDGIdic/yVvk1vh69IsLQMVTyohVMAXqvY7jbQ mqNAP/rR5o6n3emme83qZ4Kr3o20OHcqJ4BE3Z28cNM9nv/rx8uMHKwoBXBQX2P3DxbF/22 6h2yOv8bL6Zuws4qaKTYna4biDmm7991B8XNiCe9LQIgI07UpTh/WtkNS7MQoe1WHYLGNaF tujsTlHWIP2sM1r3GlUvw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:jvi+1hOVU/o=;GQeH3la4DtesfDlccjWtgiml0T/ i8vchb4bEHnkxQyb2hQSfioWbTNNPE1gkVDr+K8XeO7OOk2kmTjsppVOfUAY3a3G8tHj1LYsB TfyvFmqiAH35uBGNiGyWP+lgbFPrxLUOOAPbDQ9SrG0+xJqYXsANnZdoYxsQoxgnQgRJnY+e9 nofhtE6iCqW/D7jJPkK2wp1ZXCcXOlikO0lKI8Ujhv9urG+K7nAg1IDAzrQn2mVPfeqn2Uxhc Y/aXCmA9zjN8SpLjXCpavB0hner8dxMciUeC7iTjxcAmkY2GjUQjMYwa3yce2b4pIZk8Jd3co G936a4aEFB5dctHyQwyMnjoHSVdSVNdTqUfPO6JFZOIjSSStKDNp6J7I7GQpHGCu/4tdQWnnH 0GOjaGqjUVTJVo8cKrS8WeTFJcHaeQqUaIy5YTUqZTric1V46jdwVj/yJZoPL4zwL6Cm+XaE/ AhQXb6yzeHB0DVT0F/aWs2LLs4tYo88PsVY+6miYYyaBv46KynNT1U8dVpal9ZQoi9r3sh0w4 ukhpS01gA4/DIEmaE+itpzqGF2Rs7FciuQ6vPDowinNYttb8vkfIzlaEr1z2/BJxMAheyFK9y Di1tWCrjzHRvQJ58t2FtS+aCIlUzPlCC6KTz5YdS4WEJcXSQtrw5VxmQ+++pIVNcT7TGkuITB LIOQoqu9Qk6hTbx01b5DW3jDVgLkEY197Kg+JIcJz3Am+vLc8FWwRR99RMzJ31XXBd5GyPPBj 5yTShsHl7Rzqv+oyEJVIeBpKLxfzP5RI1AJxEd8kRZaDbbFF9E457yMDXB8fXOpzO1zKQDDM1 6pPZH9ADXru8KmYJDsUFRIvkpvbQzyVXHRNwbYpz2ZqnQuLrZmiZEiKksWZANnJOXaAucJkzt TdCcjFBeFAOlNY9Up0gw/wbp/oVEe9RQMmRO73NwMx9aOsJQAl7p9+OlO+F4AkYXYctwX4Jwy uNqiJtQslkC/tClD3UjxLw8XSuUHfcQsZdiZ5HgL48iTm86P X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= writes: Hi Mattias, > After the change, files-tests fail. > > FAILED 45/113 files-tests-file-name-non-special-expand-file-name-tilde (0.000818 sec) at ../../emacs/test/lisp/files-tests.el:686 Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.17.20 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= writes: Hi Mattias, > After the change, files-tests fail. > > FAILED 45/113 files-tests-file-name-non-special-expand-file-name-tilde (0.000818 sec) at ../../emacs/test/lisp/files-tests.el:686 Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.89.39.30 listed in zen.spamhaus.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.17.20 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [212.227.17.20 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (michael.albinus[at]gmx.de) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Mattias Engdeg=C3=A5rd writes: Hi Mattias, > After the change, files-tests fail. > > FAILED 45/113 files-tests-file-name-non-special-expand-file-name-ti= lde (0.000818 sec) at ../../emacs/test/lisp/files-tests.el:686 This is the master branch, isn't it? The emacs-29 branch has 112 test cases only. Eli did report this problem already, and I've fixed it in the emacs-29 branch with commit 07c45f20fd3, yesterday. I've now merged the emacs-29 branch into master. Could you, pls, retest with a fresh checkout? Thanks, and best regards, Michael. From unknown Sat Aug 16 21:19:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65685: 29.1; Inconsistent behavior of quoted file name "/:~" across platforms Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Oct 2023 07:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: Jim Porter , 65685@debbugs.gnu.org Received: via spool by 65685-submit@debbugs.gnu.org id=B65685.169744148713881 (code B ref 65685); Mon, 16 Oct 2023 07:32:02 +0000 Received: (at 65685) by debbugs.gnu.org; 16 Oct 2023 07:31:27 +0000 Received: from localhost ([127.0.0.1]:55148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsI4R-0003bl-4C for submit@debbugs.gnu.org; Mon, 16 Oct 2023 03:31:27 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:55499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsI4F-0003bJ-6E for 65685@debbugs.gnu.org; Mon, 16 Oct 2023 03:31:21 -0400 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-507a0907896so2286285e87.2 for <65685@debbugs.gnu.org>; Mon, 16 Oct 2023 00:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697441440; x=1698046240; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=gDotD/6A6yCUqFx8bp/zMc8TYiK6zgtmKemTU/3liPM=; b=iABcTPTBYY8ALs1oyJ90r+HYCkTDC4bRZIam599ip+tgQDIH+FUauY4/unvbGkKS9q s4FLR41DfTkMIitOQVjB+fuBSnxpzJx1hfiISLg4WAg8IbTDhqClrrjqWtes+8XaZ+7U +cNdlvBEdxtC6a2vx4RsTA7d+oki2iEAAVI0/pijHSqEl0v06jC7kRtjKbLzwEhO8+2F RmL3XvXMwQpUuzk3sVTqwlCTVKgwAv8GXZE/0RrpX/xCHKHvufbFpBBipi9ZsG7lBOTK pkwE9ksc57IpocJflrjqZA44fgHPkI5JtiGUYg8nK49HRXEiikSuHC+/eL3RBGr7eWRx bAlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697441440; x=1698046240; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gDotD/6A6yCUqFx8bp/zMc8TYiK6zgtmKemTU/3liPM=; b=nMaG1q3/PGzVTlKwmKGy2pg8+FxrtZk0b6vukGSz0p8CHGeUbqJDm2zOYYGc7YV76A lPJbIVnC/WdHB+zkK2bDZpxlju42r6Ezzjpp49WQeGDBnv7tAlugvHzbJ4g77aJB8wGK 8WeRWjKYWvvIljNSvqSxd3f83RtnWDWQwIzpRfNSUeFKo5Huua84WvE7KLY19iIAzkiK vBux+LfrTs5lrqkpbL2+6Pz/RPQrFL5/sYnQDMESVYWl3cFZKlq2WQI0Gb3xGDwh/huu n9uy/O9ZCxZBTB0ePZa0oNhwprU6IDSlDE9HsogFpeZ36PHSVjAJ93Q0WSo7/3j5pcwI vpsQ== X-Gm-Message-State: AOJu0Yx27c7h99vYfhG/XhmODX9wt0UfPkR13yYh4R4YuQoVDqNaLbzP SfPj/N7H/kDmprTgZgzc4bA= X-Google-Smtp-Source: AGHT+IFYCKG8tVpzj1bjN8kGYSUmMP5L/98HWFlTlMAo3WV91WM6lm4Wmr4h4iXR9+N40LUdDhOSgQ== X-Received: by 2002:ac2:4c13:0:b0:507:b19e:90cc with SMTP id t19-20020ac24c13000000b00507b19e90ccmr1329921lfq.40.1697441440175; Mon, 16 Oct 2023 00:30:40 -0700 (PDT) Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id q26-20020ac2511a000000b005033891f3c0sm4445154lfb.246.2023.10.16.00.30.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2023 00:30:39 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <87cyxfyris.fsf@gmx.de> Date: Mon, 16 Oct 2023 09:30:38 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <86607773-C452-41A0-A3E0-8970E1FD84C8@gmail.com> References: <64C5303A-586A-4347-8979-2E873DD0FB41@gmail.com> <87cyxfyris.fsf@gmx.de> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) 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: -1.0 (-) 16 okt. 2023 kl. 09.07 skrev Michael Albinus : > I've now merged the emacs-29 branch into master. Could you, pls, = retest > with a fresh checkout? Now it works on master, too. Thank you so much, and sorry about my = initial lack of patience.