"Sean O'Rourke" <[EMAIL PROTECTED]> writes:
"Jan D." <[EMAIL PROTECTED]> writes:To make this more general, I think you should use or generalize the defcustom variables in x-dnd.el so that Emacs customizations in this area becomes available on several platforms.
x-dnd-known-types, x-dnd-types-alist, and x-dnd-default-test-function are useless, since they deal with xdnd protocol specifics, and I handle character encodings at the C level. But the rest of the file looks like quite an improvement over my simple handler, so I'll look at creating a mac analog to the x-specific parts.
It might be useful to look at what the w32 code does. I recall finding it difficult to use much of x-dnd.el when I rewrote DND support on w32, but I did manage to use enough of it to give a reasonably consistent interface between w32 and X I think.
We should break out what you can use in a general dnd.el file. The x-dnd.el currently contains both general DND handling and protocol specifics. I'll look at what the w32 code uses and try to generalize it more.
Jan D.
_______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel