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: Tak Kunihiro <homeros.misasa@gmail.com>,
	rswgnu@gmail.com, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Emacs 26: Code that fixes mouse-drag-and-drop-region to work across frames
Date: Wed, 01 Nov 2017 11:04:12 +0900	[thread overview]
Message-ID: <861sli69gj.fsf@misasa.okayama-u.ac.jp> (raw)
In-Reply-To: <CA+OMD9gKBDfWr=s13XoqQoGQPfYbP+tEnkR+YY+FfSu8+-GTfw@mail.gmail.com> (Robert Weiner's message of "Thu, 26 Oct 2017 18:07:45 -0400")

>  I cannot drag text among frames yet. I think I still miss something.
>  Can you show recipe that starts from emacs -Q?
>
> ​See if adding this fixes it:
>
> (setq mouse-position-function
> 		  (lambda (frame-x-dot-y)
> 		    "Under macOS, mouse-position and mouse-pixel-position sometimes fail to return the selected-frame (returning the prior frame instead); fix that here."
> 		    (if frame-x-dot-y (setcar frame-x-dot-y (selected-frame)))
> 		    frame-x-dot-y))

;; https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00804.html
;; https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00591.html
;; https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00588.html

;; GNU Emacs 27.0.50 (build 2, x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911))
;;  of 2017-11-01
;; ./Emacs -Q
;; M-x eval-buffer

I start to see yellow preview text by tooltip on destination frame.
However, I cannot drop the text yet.  I still miss something.



  reply	other threads:[~2017-11-01  2:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-12 16:27 Emacs 26: Code that fixes mouse-drag-and-drop-region to work across frames Robert Weiner
2017-10-12 16:42 ` Robert Weiner
2017-10-12 17:11   ` Robert Weiner
2017-10-13  9:57 ` Tak Kunihiro
2017-10-16 13:45   ` Robert Weiner
2017-10-16 14:13     ` Robert Weiner
2017-10-19  0:43       ` Tak Kunihiro
2017-10-26 22:07         ` Robert Weiner
2017-11-01  2:04           ` Tak Kunihiro [this message]
2017-11-01 15:24             ` Robert Weiner
2017-11-01 17:16               ` Alan Third
2017-11-01 20:18                 ` Robert Weiner
2017-11-01 20:41                   ` Robert Weiner
2017-11-02  9:51                     ` martin rudalics
2017-11-02 19:00                       ` Robert Weiner
2017-11-02 20:16                         ` martin rudalics

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=861sli69gj.fsf@misasa.okayama-u.ac.jp \
    --to=homeros.misasa@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rsw@gnu.org \
    --cc=rswgnu@gmail.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).