emacs-devel
[Top][All Lists]
Advanced

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

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


From: Kai Grossjohann
Subject: Re: Drag and drop patch for X, please review.
Date: Sun, 18 Jan 2004 22:34:23 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux)

"Jan D." <address@hidden> writes:

>> It should just use an alist of (DND-TYPE . FUNCTION) pairs so the
>> user can define his own preferences (in the case where there's some
>> subtyping, e.g., I see you checking if the data is `some text
>> type', you could look for more specific type in the alist first,
>> and if not found, look for a more generic supertype like`text').
>
> [...]
>
> I agree that the customizing aspect is important, but I just don't
> know how to handle the accept/reject thing.

Well, err, the obvious idea is to have (DND-TYPE TEST FUNCTION)
triples instead of pairs, where the TEST has an arg specifying where
the drag is going to happen.

But since it is so obvious, you have surely thought about it and
rejected it.  What was the reason for rejecting this idea?

Kai






reply via email to

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