all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Ken Brown <kbrown@cornell.edu>
Cc: 56712@debbugs.gnu.org
Subject: bug#56712: 29.0.50; x-dnd-tests-do-direct-save fails on Cygwin
Date: Sun, 24 Jul 2022 10:26:30 +0800	[thread overview]
Message-ID: <874jz72qll.fsf@yahoo.com> (raw)
In-Reply-To: <fdcbb06f-3c6a-2b1b-501a-c2f28d944164@cornell.edu> (Ken Brown's message of "Sat, 23 Jul 2022 13:30:03 -0400")

Ken Brown <kbrown@cornell.edu> 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".

> Does that help?

No, unfortunately not.  The test is not useful interactively.

> By the way, I should have said in my original report that I do an
> out-of-tree build.  I'll try an in-tree build after sending this
> message to see if I still get the test failure.

Thanks.





  parent reply	other threads:[~2022-07-24  2:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 21:10 bug#56712: 29.0.50; x-dnd-tests-do-direct-save fails on Cygwin Ken Brown
2022-07-23  1:10 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23 17:30   ` Ken Brown
2022-07-23 17:41     ` Ken Brown
2022-07-24  2:26     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-07-24  5:50       ` Eli Zaretskii
2022-07-24  7:23         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24  7:42           ` Michael Albinus
2022-07-24  8:55           ` Eli Zaretskii
2022-07-24 10:55             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24 13:33             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24 15:40               ` Ken Brown
2022-07-25  1:02                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-25  1:42                   ` Ken Brown
2022-07-25  2:10                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-25 16:24                       ` Ken Brown
2022-07-25 16:53                         ` Eli Zaretskii
2022-07-26  2:10                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-26  2:38                             ` Eli Zaretskii
2022-07-26  2:52                               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jz72qll.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=56712@debbugs.gnu.org \
    --cc=kbrown@cornell.edu \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.