bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#73258: 31.0.50; w32 drag-n-dropping multiple files is broken


From: Cecilio Pardo
Subject: bug#73258: 31.0.50; w32 drag-n-dropping multiple files is broken
Date: Sat, 21 Sep 2024 15:41:03 +0200
User-agent: Mozilla Thunderbird

On 21/09/2024 12:11, Eli Zaretskii wrote:
This causes the following warning while byte-compiling:

   In w32-dropped-file-to-url:
   term/w32-win.el:129:29: Warning: reference to free variable `window'

And indeed, 'window' is not bound to any value here, and
dnd-handle-multiple-urls does need it to be a valid window.  If I try
drag-and-drop with your patch installed, Emacs signals an error about
'window' being void.  I don't understand how it worked for you.

Also, what about this comment:

   ;; FIXME: is the W32 build capable only of receiving a single file
   ;; from each drop?

I guess it is no longer pertinent and should be deleted?

I messed up when preparing the patch file, I'm sorry.

Here is the correct one.

Attachment: 0001-Fix-multifile-drag-n-drop-on-win32.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]