From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56712: 29.0.50; x-dnd-tests-do-direct-save fails on Cygwin Date: Mon, 25 Jul 2022 09:02:28 +0800 Message-ID: <87wnc2ypgb.fsf@yahoo.com> References: <35f58e97-4b26-d2ec-ce50-f5ffc7db366a@cornell.edu> <878rok4orj.fsf@yahoo.com> <874jz72qll.fsf@yahoo.com> <83edybgiue.fsf@gnu.org> <87fsir0yat.fsf@yahoo.com> <83a68yhotm.fsf@gnu.org> <8735eq1vq6.fsf@yahoo.com> <4f926531-f050-85c2-8826-5fa6def7f324@cornell.edu> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3764"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , 56712@debbugs.gnu.org To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 25 03:03:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oFmVE-0000l9-1J for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Jul 2022 03:03:20 +0200 Original-Received: from localhost ([::1]:38892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFmVC-0005dc-J2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 21:03:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFmUw-0005d6-Iq for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 21:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFmUw-0007hz-AX for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 21:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFmUv-0007mi-TN for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 21:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Jul 2022 01:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56712 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56712-submit@debbugs.gnu.org id=B56712.165871096929898 (code B ref 56712); Mon, 25 Jul 2022 01:03:01 +0000 Original-Received: (at 56712) by debbugs.gnu.org; 25 Jul 2022 01:02:49 +0000 Original-Received: from localhost ([127.0.0.1]:48946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFmUj-0007mA-DV for submit@debbugs.gnu.org; Sun, 24 Jul 2022 21:02:49 -0400 Original-Received: from sonic304-22.consmr.mail.ne1.yahoo.com ([66.163.191.148]:37058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFmUg-0007lu-2K for 56712@debbugs.gnu.org; Sun, 24 Jul 2022 21:02:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658710959; bh=MTvhRcrb0jfsbwBu+2d++hXOuvT/LCIn6YOcNxxoFv0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=rtxmCq80NRlucHabQ4WnOSJwL/5pTfgGZCKXJewhd4DEfq5cRs/P7iaJLRp22QmWVoNrSFjDZyDCkeJ118gfqbL0k21kHPF+PCuLUmv0pg6AOEKqWkO7RqjXw3lFtfECodfL1tajpddLd6zPFhSuBYHSzIpFYKq5KRLLOXKLxE8rLvusGS3AXAWddRDoAIYNb1bcXt9iASKmDLssl0tbhdcPVljCsCKP0ADDP93gppObE8b7OZY+YGd5Eq8/X7BbZ5MSlAHjI6r+4N2fWqXNKeI3pxnp56T+y8X8zftFYC0M4NdUUWVthBEWf+n6RV7SHKypR/rpJ7CJv5okbKBUDw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658710959; bh=RgQPN2YX+skjjmTC34Ccg8kVfstDAOvU0VlCj95OZey=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=LGjePulL2RuDVFYtpPdjp61798PHVcNwAX33IrtDPMLlV7dDf8oa4CJK/WMvoMGHGl+3KSUDhDf+l3X5wFUhiLKYRoIhqHv613a+zQZTXF7/6JvQr5jLsGJZMQZCancyE9Bt8NKXSC/iwSAndwX9jAZieKXmaLp50szvcGFhYRK6vEvlhwLrHxN0zVL4mD+P4mcCINPCvJ4zTQX3jF32oudk8SHKxll0KiQTWF9y8iO334afe817HeBz5sKDJT2vkQczbqm+WXd6LTYyJr4a634W/F06ZxHMIFxiHB33rT74dN9C9jawFf3russlA/XJ6gYWRcmt0eThvZcftkWxZQ== X-YMail-OSG: giNI760VM1loGOpFIP6mK1rhYNEpNYniyTrk9KEgxf.qWqQwarhbbZBT12WwNBp 4yW9G0BNlp5tSs7QYYlQRasQFG7pn3a5SoWGgMj3xCrs.eZAi3D4I0buRswGbLBk9PwtkFC0O0sb BHvuMRWwdiEcYMQyCAS3gPxYAXe1_E1gZDZwDGhPuGHkHFHiBuShjE6DTAIr7OWqFWjeEc2GjJb1 LE3uf890keZzxy_4q3qcbeeNoQpKilyiS1iV_b1yt7iw7In3xz8eHhGmvGaesHxyNXv1hURO_QcY mG2w1AOBKBE_3nAYFi8xEhly.gwJstZA1T3tdVICbUm11VpfOBvTzSfxWOyAOM.LNdmYrupakKIP mz.sw14wQ8.gx3DQi9uuhwjaRmepbCjVqCJwb92LV7u9OzoBIOuFPkYutFt4yJzUY80FSYfvaAiS FVs_THeff8X_RS2X_.L8c9rlIxXTac9tnr.9WcjdVG97ARUiySrVowF9habThPrMWevHn2V1UnpU wDaJhmyvpJEkPTRsI6k0RxMTI2tzkxdTEBxg9aV4KjYHgEwtOVfNT2adOkx5bEtbGo7UrVXXsiyP En8C.koIpQ.LDoQW4TDwIf.OVGtlqXbtyDBwYeT1IOz6ji_PbKxNGOM4Gt9TBfgaA8iVcIhBXmoL hYJZtd1TAk7TOMte4kghwl_wa8ZOjdZPvB2FHs6fk19Z_Yr7jJIMangMNahw.2ybuEiq9HgbKj3F YrawGpw8QMcm4SOzy5UK02RWURvKFcV3z3IPbyGIzAAxk3FfhZmwAHQDlLPPZsKbZGzHUygpTl5X sGfUKLajDIZwGiE3X6seCFiEtJP96WFY3YeEQBtePa X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Mon, 25 Jul 2022 01:02:39 +0000 Original-Received: by hermes--canary-production-sg3-854c886654-t42lr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c1b696c45bf9f07178c8af323b552feb; Mon, 25 Jul 2022 01:02:33 +0000 (UTC) In-Reply-To: <4f926531-f050-85c2-8826-5fa6def7f324@cornell.edu> (Ken Brown's message of "Sun, 24 Jul 2022 11:40:51 -0400") X-Mailer: WebService/1.1.20447 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237870 Archived-At: Ken Brown writes: > On 7/24/2022 9:33 AM, Po Lu wrote: >> Now done. Ken, could you please re-run the test and show the detailed >> error that is signalled? > > Thanks. The error is now clear: > > Test x-dnd-tests-do-direct-save condition: > (file-missing "Opening output file" "No such file or directory" > "//tmp/x-dnd-testvZQUCZ/x-dnd-test-targetKiqqPT") > > According to POSIX, the meaning of exactly 2 slashes at the beginning > of a path name is system dependent. On Cygwin it's interpreted as a > UNC path. That explains the error, but I don't immediately see where > the extra slash comes from. (There are plenty of references to UNC > paths and to "file://" and "file:///" in dnd.el, so maybe there's some > code in there that incorrectly assumes that MS-Windows is the only > platform on which exactly 2 initial slashes has a special meaning.) > > Ken Unless system-type can be windows-nt on Cygwin, I don't think that can happen. I will look into this, thanks.