unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master 4f56ca6376: Add new user option `mouse-drag-mode-line-buffer'
@ 2022-06-03 12:00 Eli Zaretskii
  2022-06-03 12:20 ` Po Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2022-06-03 12:00 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

Is this supposed to work on MS-Windows?  We do support there dragging
file names and dropping them onto an Emacs frame.  However, I couldn't
make this work, even when dragging from one Emacs session to another.
I now see that we display a message saying dragging files is not
supported, but why is that?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: master 4f56ca6376: Add new user option `mouse-drag-mode-line-buffer'
  2022-06-03 12:00 master 4f56ca6376: Add new user option `mouse-drag-mode-line-buffer' Eli Zaretskii
@ 2022-06-03 12:20 ` Po Lu
  2022-06-03 13:32   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Po Lu @ 2022-06-03 12:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> Is this supposed to work on MS-Windows?  We do support there dragging
> file names and dropping them onto an Emacs frame.  However, I couldn't
> make this work, even when dragging from one Emacs session to another.
> I now see that we display a message saying dragging files is not
> supported, but why is that?

Unfortunately, it doesn't work on platforms where the necessary
drag-and-drop APIs aren't available.  Right now, they are only available
on X, Haiku and Nextstep.

Not mentioning that in the doc string was an oversight, but when I
looked into implementing them on MS Windows, I found that apparently the
necessary "IDropSource" API cannot be used from C.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: master 4f56ca6376: Add new user option `mouse-drag-mode-line-buffer'
  2022-06-03 12:20 ` Po Lu
@ 2022-06-03 13:32   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2022-06-03 13:32 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Fri, 03 Jun 2022 20:20:20 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Is this supposed to work on MS-Windows?  We do support there dragging
> > file names and dropping them onto an Emacs frame.  However, I couldn't
> > make this work, even when dragging from one Emacs session to another.
> > I now see that we display a message saying dragging files is not
> > supported, but why is that?
> 
> Unfortunately, it doesn't work on platforms where the necessary
> drag-and-drop APIs aren't available.  Right now, they are only available
> on X, Haiku and Nextstep.
> 
> Not mentioning that in the doc string was an oversight, but when I
> looked into implementing them on MS Windows, I found that apparently the
> necessary "IDropSource" API cannot be used from C.

OK, so please update NEWS and the doc string to that effect, and
thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-03 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-03 12:00 master 4f56ca6376: Add new user option `mouse-drag-mode-line-buffer' Eli Zaretskii
2022-06-03 12:20 ` Po Lu
2022-06-03 13:32   ` Eli Zaretskii

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).