Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
Oliver Graf <ograf(a)fga.de> writes:
> * do the some for the mode
Is this needed? Can the mode not simply set the buffer-local value?
Sure. I just read through all the topics I mentioned (extents, buffer-locals,
etc.) and it is as you say.
One thing I'm currently thinking about is the following:
Should the dragdrop-drop-rules (or whatever it is called: -hook, -function)
which is set in extents, buffers, etc. to get the thing to do something
appropiate with the dropped data be some predefined list of source/dest/action
associations (as in hm--html-mode, internal-drag-and-drop, idd), or should I
use a function, where the programmer/user of the mode can do whatever he wants
(plus a set of standart functions defined in dragdrop.el)?
Personally I think that the function would be the better way, because the
extents and buffer-locals still give you full control what to do depending on
the source (and perhaps the destination -- but this is difficult if the source
is outside of XEmacs).
Any comments?
Regards,
Oliver.