unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: master a1a435b3f6: Respect test function when performing local drag-and-drop
Date: Mon, 13 Jun 2022 16:51:05 +0300	[thread overview]
Message-ID: <83tu8ou0xi.fsf@gnu.org> (raw)

> +  DEFVAR_LISP ("x-dnd-native-test-function", Vx_dnd_native_test_function,
> +    doc: /* Function called to determine return when dropping on Emacs itself.

What does it mean "to determine return"?  Did you mean "return value"?
or "what to return"?

> +It should accept two arguments POS and ACTION, and return a symbol
> +describing what to return from `x-begin-drag'.  POS is a mouse
> +position list detailing the location of the drop, and ACTION is the
> +action specified by the caller of `x-begin-drag'.

This alludes to `x-begin-drag', but it isn't clear how the variable
itself is related to that function.



             reply	other threads:[~2022-06-13 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-13 13:51 Eli Zaretskii [this message]
2022-06-14  1:04 ` master a1a435b3f6: Respect test function when performing local drag-and-drop Po Lu
2022-06-14  2:32   ` Eli Zaretskii
2022-06-14  2:51     ` Po Lu
2022-06-14 11:21       ` Eli Zaretskii
2022-06-14 11:47         ` Po Lu

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83tu8ou0xi.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).