[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: David Kastrup
Subject: Re: Drag and drop patch for X, please review.
Date: 17 Jan 2004 21:20:29 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

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

> The enclosed patch adds drag and drop support (well, actually only
> drop) in X to Emacs.  The protocols supported are XDND (the most
> used nowdays, by Mozilla, OpenOffice, Gnome, KDE etc.) and the old
> KDE 1.x protocol.  You can currently drop file names and text.
> Files will be opened and text inserted (at mouse position).  Http
> urls and such are just ignored, probably there is something more
> intelligent one could do, suggestions?

You could call browse-url on them.  My browse-url handles the mailto:
protocol within Emacs.

One could also call the handlers of browse-url for all treated URL
types, and for the rest insert <URL:http://the.link.address> into the

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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