[Top][All Lists]

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

Re: Drag and drop patch for X, please review.

From: Jan D.
Subject: Re: Drag and drop patch for X, please review.
Date: Mon, 19 Jan 2004 21:47:18 +0100

frame, it is hard to select the one the user intended.  Also, if the
buffer is read only, we don't want to accept a drop there. So currently

I'd argue that we want to accept the drop (and then signal an error).
Just like C-y is accepted (i.e. the yank function is invoked) but then
signals an error.

Now that I think about it, rather than an alist, we might just want to make the drop into an event that we look up in the keymaps. If the drop is in the tool-bar or the menu-bar, the event generated should be different so that we can bind it to a different command (just like [mouse-1] turns into
[mode-line mouse-1] when clicking on the mode-line).

This is not compatible with the current drop code for W32. Also, I don't
think it is worth doing, it is too complex for very little user benefit.
Better then to accept the drop and put it in the kill ring if we can't
insert it into a buffer.

        Jan D.

reply via email to

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