From: Visuwesh <visuweshm@gmail.com>
To: emacs-devel@gnu.org
Cc: Po Lu <luangruo@yahoo.com>
Subject: Re: master 11f44ec6dda: Enable DND handlers to receive more than one URI at a time
Date: Thu, 26 Oct 2023 18:42:33 +0530 [thread overview]
Message-ID: <87jzr94jem.fsf@gmail.com> (raw)
In-Reply-To: <20231026113852.37241C09BEB@vcs2.savannah.gnu.org> (Po Lu via Mailing list for Emacs changes's message of "Thu, 26 Oct 2023 07:38:51 -0400 (EDT)")
[வியாழன் அக்டோபர் 26, 2023] Po Lu via Mailing list for Emacs changes wrote:
Thank you for working on this.
> @@ -4740,9 +4740,14 @@ This variable is an alist between regexps against which URLs are
> matched and DND handler functions called on the dropping of matching
> URLs.
>
> -Each handler function is called with the URL that matched it and one
> -of the symbols @code{copy}, @code{move}, @code{link}, @code{private}
> -or @code{ask} identifying the action to be taken.
> +@cindex dnd-multiple-handler, a symbol property
> +If a handler function is a symbol whose @code{dnd-multiple-handler}
> +property (@pxref{Symbol Properties}) is set, then upon a drop it is
> +given a list of every URL that matches its regexp; absent this
> +property, it is called once for each of those URLs. Following this
> +first argument is one of the symbols @code{copy}, @code{move},
> +@code{link}, @code{private} or @code{ask} identifying the action to be
> +taken.
I find the new text is quite hard to understand, how about saying
Each handler function is called with the URL that matched it and one
of the symbols @code{copy}, @code{move}, @code{link}, @code{private}
or @code{ask} identifying the action to be taken.
@cindex dnd-multiple-handler, a symbol property
If the handler function is a symbol whose property
@code{dnd-multiple-handler} is non-@code{nil} (@pxref{Symbol
Properties}), then it is given a list of every URL that matches its
regexp as the first argument instead.
?
next parent reply other threads:[~2023-10-26 13:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <169832033169.28109.14749982523827239030@vcs2.savannah.gnu.org>
[not found] ` <20231026113852.37241C09BEB@vcs2.savannah.gnu.org>
2023-10-26 13:12 ` Visuwesh [this message]
2023-10-26 13:44 ` master 11f44ec6dda: Enable DND handlers to receive more than one URI at a time Po Lu
2023-10-26 14:45 ` Visuwesh
2023-10-27 1:01 ` Po Lu
2023-10-28 11:20 ` Visuwesh
2023-10-28 11:37 ` Andreas Schwab
2023-10-28 11:49 ` Mattias Engdegård
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=87jzr94jem.fsf@gmail.com \
--to=visuweshm@gmail.com \
--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).