unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Kunihiro <homeros.misasa@gmail.com>
To: Robert Weiner <rsw@gnu.org>
Cc: martin rudalics <rudalics@gmx.at>,
	Tak Kunihiro <homeros.misasa@gmail.com>,
	rswgnu@gmail.com, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Drag-and-drop FROM Emacs to another editable application window under MacOS
Date: Thu, 12 Oct 2017 23:19:00 +0900	[thread overview]
Message-ID: <867ew08n57.fsf@misasa.okayama-u.ac.jp> (raw)
In-Reply-To: <CA+OMD9gErEHYD5d1edCg-80iod-pYj7CTzeg5nwXt1KQ78-19w@mail.gmail.com> (Robert Weiner's message of "Thu, 12 Oct 2017 09:23:47 -0400")

>  > I wonder why it doesn't work to drop the text onto other applications.
>
>  Probably because there's no standard protocol to drag and drop anything
>  ​​but files between different applications.
>
> ​​Maybe not for every window system but on MacOS there is and many applications accept dragged text
> directly:
> ​​https://developer.apple.com/documentation/uikit/drag_and_drop/making_a_view_into_a_drag_source
> ​ - source info​

For now `mouse-drag-and-drop-region' does nothing when
(event-end (read-event)) is toward out of the current frame.

I think the first step is to revise `mouse-drag-and-drop-region' to let
it drag text to a different frame.




  reply	other threads:[~2017-10-12 14:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-10 21:26 Drag-and-drop FROM Emacs to another editable application window under MacOS Robert Weiner
2017-10-11 20:40 ` Tak Kunihiro
2017-10-11 23:07   ` Robert Weiner
2017-10-12  7:01     ` Eli Zaretskii
2017-10-12  7:13       ` Robert Weiner
2017-10-12  7:42         ` Eli Zaretskii
2017-10-12  8:05     ` martin rudalics
2017-10-12 13:23       ` Robert Weiner
2017-10-12 14:19         ` Tak Kunihiro [this message]
2017-10-12 16:30           ` Robert Weiner

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=867ew08n57.fsf@misasa.okayama-u.ac.jp \
    --to=homeros.misasa@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rsw@gnu.org \
    --cc=rswgnu@gmail.com \
    --cc=rudalics@gmx.at \
    /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).