* Re: master cb45fff0cb: Minor cleanups in X Windows drag-and-drop code
[not found] ` <20220409033605.8A5D7C009A8@vcs2.savannah.gnu.org>
@ 2022-04-10 13:29 ` Lars Ingebrigtsen
2022-04-10 13:38 ` Po Lu
0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-10 13:29 UTC (permalink / raw)
To: emacs-devel; +Cc: Po Lu
I realise that the DND stuff is still a work in progress, but is it
supposed to work now on a typical Debian/Gnome Shell system?
I tried
(setq mouse-drag-and-drop-region-cross-program t)
and then marked some text, and wanted to drag it to a different program,
but trying to drag it (with mouse-1) just marked some text. Are there
further things necessary? If so, the Drag and Drop section in the
manual should say how you do this.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master cb45fff0cb: Minor cleanups in X Windows drag-and-drop code
2022-04-10 13:29 ` master cb45fff0cb: Minor cleanups in X Windows drag-and-drop code Lars Ingebrigtsen
@ 2022-04-10 13:38 ` Po Lu
2022-04-10 14:19 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Po Lu @ 2022-04-10 13:38 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel
Lars Ingebrigtsen <larsi@gnus.org> writes:
> I realise that the DND stuff is still a work in progress, but is it
> supposed to work now on a typical Debian/Gnome Shell system?
Yes, I test on GNOME Shell, though that's with Fedora.
> I tried
>
> (setq mouse-drag-and-drop-region-cross-program t)
>
> and then marked some text, and wanted to drag it to a different program,
> but trying to drag it (with mouse-1) just marked some text. Are there
> further things necessary? If so, the Drag and Drop section in the
> manual should say how you do this.
You have to enable `mouse-drag-and-drop' too, I think the manual does
say this in the paragraph above the one where
`mouse-drag-and-drop-region' is explained.
But please suggest a better wording if that's confusing. Also, please
report crashes, there are occasionally BadWindow errors which only occur
on GTK.
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master cb45fff0cb: Minor cleanups in X Windows drag-and-drop code
2022-04-10 13:38 ` Po Lu
@ 2022-04-10 14:19 ` Lars Ingebrigtsen
2022-04-11 1:02 ` Po Lu
0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-10 14:19 UTC (permalink / raw)
To: Po Lu; +Cc: emacs-devel
Po Lu <luangruo@yahoo.com> writes:
> You have to enable `mouse-drag-and-drop' too, I think the manual does
> say this in the paragraph above the one where
> `mouse-drag-and-drop-region' is explained.
>
> But please suggest a better wording if that's confusing. Also, please
> report crashes, there are occasionally BadWindow errors which only occur
> on GTK.
Thanks, with
(setq mouse-drag-and-drop-region t
mouse-drag-and-drop-region-cross-program t)
this does indeed work. I think what's confusing about that node is that
the start of the node goes into details about dragging *to* Emacs (what
with dnd-indicate-insertion-point etc). And then midway through the
node, it starts talking about dragging *from* Emacs.
Perhaps it should be split into two subsections -- one about dragging to
Emacs, and one about dragging from Emacs (after the first paragraph
which talks about dragging and dropping in general).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master cb45fff0cb: Minor cleanups in X Windows drag-and-drop code
2022-04-10 14:19 ` Lars Ingebrigtsen
@ 2022-04-11 1:02 ` Po Lu
0 siblings, 0 replies; 4+ messages in thread
From: Po Lu @ 2022-04-11 1:02 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel
Lars Ingebrigtsen <larsi@gnus.org> writes:
> this does indeed work. I think what's confusing about that node is that
> the start of the node goes into details about dragging *to* Emacs (what
> with dnd-indicate-insertion-point etc). And then midway through the
> node, it starts talking about dragging *from* Emacs.
>
> Perhaps it should be split into two subsections -- one about dragging to
> Emacs, and one about dragging from Emacs (after the first paragraph
> which talks about dragging and dropping in general).
Hmm, thanks, I will try cleaning that up along those lines.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-11 1:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <164947536434.655.3851445578620763636@vcs2.savannah.gnu.org>
[not found] ` <20220409033605.8A5D7C009A8@vcs2.savannah.gnu.org>
2022-04-10 13:29 ` master cb45fff0cb: Minor cleanups in X Windows drag-and-drop code Lars Ingebrigtsen
2022-04-10 13:38 ` Po Lu
2022-04-10 14:19 ` Lars Ingebrigtsen
2022-04-11 1:02 ` Po Lu
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).