Subject: bug#56712: 29.0.50; x-dnd-tests-do-direct-save fails on Cygwin

From: Michael Albinus <[email-masked]>
Date: Sun, 24 Jul 2022 09:42:47 +0200

Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <[email-masked]> writes:

> Eli Zaretskii <[email-masked]> writes:
>
>>>       (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?
>
> I'm not sure what you mean by that.  Could you explain which part of the
> Tramp code has such debug functionality?

All the calls of `tramp-message' and `tramp-error', controlled by the
debug level in `tramp-verbose'.

> Thanks.

Best regars, Michael.