GNU bug report logs - #3468
Support drag and drop of text on MS Windows

Previous Next

Package: emacs;

Reported by: "Erdkern Erdkern" <Erdkern2000 <at> gmx.de>

Date: Fri, 5 Jun 2009 00:00:04 UTC

Severity: wishlist

Tags: help

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #90 received at 3468 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Cecilio Pardo <cpardo <at> imayhem.com>
Cc: 3468 <at> debbugs.gnu.org
Subject: Re: bug#3468: drag and drop text
Date: Thu, 24 Oct 2024 12:40:19 +0300
> Date: Thu, 24 Oct 2024 10:46:12 +0200
> Cc: 3468 <at> debbugs.gnu.org
> From: Cecilio Pardo <cpardo <at> imayhem.com>
> 
> On 24/10/2024 10:16, Eli Zaretskii wrote:
> >> On 24/10/2024 9:37, Eli Zaretskii wrote:
> >>> I guess I'm missing some higher-level understanding of how this work,
> >>> because I don't think I understand why you needed to add a special
> >>> message WM_EMACS_DRAGOVER for this.  Can you explain?
> >>
> >> I could reuse WM_EMACS_DROP, maybe rename to WM_EMACS_DRAGDROP. Added a
> >> new one just for clarity.
> > 
> > I don't mind a new message, I just didn't understand why it was
> > needed.  What is the purpose of WM_EMACS_DROP, and how it differs from
> > this new message?
> 
> We receive the drag or drop information in the functions
> w32_drop_target_Drop and w32_drop_target_DragOver, which run on another 
> thread. We need to notify that to the input thread, sending a message to 
> the window. We use those to custom messages, WM_EMACS_DROP and 
> WM_EMACS_DRAGDROP. One for the drop, the other for when the mouse moves 
> over the window.

Ah, okay, thanks.  So moving point and/or scrolling use different
message from actually dropping the payload?  Makes sense.




This bug report was last modified 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.