*bump*

I think this would be an awesome feature. Some of us use highly-graphic OSes such as OSX and Windows (or maybe Linux with Gnome), and being able to interact with the desktop is a great feature. Imagine being able to drag and drop a file directly to emacs and delegate the attachment to org, besides, optionally, an icon could be shown (not really needed).

Copying and pasting an image would also be nice. Right now, I can't do this. I can drag and drop files but emacs will just insert the contents of the file inline. There must be a way to tell emacs to run a custom piece of elisp code with the basic event information gathered from the paste/drag and drop... or there isn't?

Cheers,

- Marcelo.

On Sat, Feb 12, 2011 at 4:22 PM, Marcelo de Moraes Serpa <celoserpa@gmail.com> wrote:
It'd be an awesome feature IMO :)

Thanks!

Marcelo.

On Sat, Feb 12, 2011 at 5:25 AM, Bastien <bastien.guerry@wikimedia.fr> wrote:
> Hi Marcelo,
>
> Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
>
>> What I am suggesting is, somehow hook into the moment the file is
>> pasted/dragged and run some code.
>
> This would require code in Emacs.  I'm not familiar at all with Emacs
> ability to recognize drag'n droped files (as I don't use drag'n drop)
> but perhaps other do and might suggest how to set a hook when Emacs
> copies external content/files/whatever from X.
>
> --
>  Bastien
>