From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56712: 29.0.50; x-dnd-tests-do-direct-save fails on Cygwin Date: Sun, 24 Jul 2022 08:50:17 +0300 Message-ID: <83edybgiue.fsf@gnu.org> References: <35f58e97-4b26-d2ec-ce50-f5ffc7db366a@cornell.edu> <878rok4orj.fsf@yahoo.com> <874jz72qll.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23590"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56712@debbugs.gnu.org, kbrown@cornell.edu To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 24 07:51: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 1oFUWN-0005uS-Ur for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 07:51:20 +0200 Original-Received: from localhost ([::1]:47068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFUWM-0003GN-LG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 01:51:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFUW7-0003Er-65 for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 01:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFUW6-0004q6-Sh for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 01:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFUW6-0001x5-PT for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 01:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jul 2022 05:51:02 +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.16586418276644 (code B ref 56712); Sun, 24 Jul 2022 05:51:02 +0000 Original-Received: (at 56712) by debbugs.gnu.org; 24 Jul 2022 05:50:27 +0000 Original-Received: from localhost ([127.0.0.1]:46707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFUVX-0001j5-1v for submit@debbugs.gnu.org; Sun, 24 Jul 2022 01:50:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFUVT-0001ie-9o for 56712@debbugs.gnu.org; Sun, 24 Jul 2022 01:50:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFUVN-0004XB-Pe; Sun, 24 Jul 2022 01:50:17 -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=jmdTUsxxLVqa6UAY61YzEMRg6oae7MfOVaSH7FYfsok=; b=JqhMQmRcyv44 pfQU2ivTBObbfMZTf10txe09MsHi/jFLhepPIIBiMpue0n827+RKy106r+RFa/7fqp4rYFo9HaBsv bXazsUOQOZK4x2UKMH9e7/B1LKiu8LDIqeLFnbE2fp2Y67Ip8GChG3QFSEW/ruO34ei1IC0WZJktR PtRw8TsjlUHNLr59jqDcwQkUHNJf4IYpzAOWxYF2VJT2XDvl1MKv2/H574Zj2P91NwRK+5DR8ffk7 LZPdFwFa9akUhsFek1/o/jFnE9t0/Cc7SaguXgd/BgvqAPZBey7wi3o/z72nO+ftiEG5RFQkN8Hwa 5YoWK9P8qxHQc9RRtZCJFA==; Original-Received: from [87.69.77.57] (port=2736 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFUVN-0001IZ-2w; Sun, 24 Jul 2022 01:50:17 -0400 In-Reply-To: <874jz72qll.fsf@yahoo.com> (bug-gnu-emacs@gnu.org) 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:237804 Archived-At: > Cc: 56712@debbugs.gnu.org > Date: Sun, 24 Jul 2022 10:26:30 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Ken Brown writes: > > > Sorry, I'm not immediately seeing how to do this in the context of the > > test. Could you be more explicit? > > I suggest adding some code here, in x-dnd.el: > > (condition-case nil > (progn > (copy-file x-dnd-xds-current-file > local-name t) > (when (equal x-dnd-xds-current-file > dnd-last-dragged-remote-file) > (dnd-remove-last-dragged-remote-file))) > (:success '(STRING . "S")) > (error '(STRING . "E")) <--- add code here > > to print out the error that is causing it to reply with "E". Maybe it is worth our while to convert this to a debugging code which would collect the information given some variable setting? Similar to what other packages do, like Tramp?