[Top][All Lists]

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

Re: [patch] enhanced mac drag-n-drop

From: Jan D.
Subject: Re: [patch] enhanced mac drag-n-drop
Date: Thu, 7 Apr 2005 06:36:06 +0200

"Sean O'Rourke" <address@hidden> writes:

"Jan D." <address@hidden> 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.

reply via email to

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