From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Drag and drop, pasting images and files Date: Tue, 25 Feb 2014 12:07:29 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2e1901e89aa04f33ef6f0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIMPj-00082P-A6 for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 13:07:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIMPi-0004Q9-Hj for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 13:07:31 -0500 Received: from mail-oa0-x22f.google.com ([2607:f8b0:4003:c02::22f]:51178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIMPi-0004Py-Cd for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 13:07:30 -0500 Received: by mail-oa0-f47.google.com with SMTP id h16so818806oag.34 for ; Tue, 25 Feb 2014 10:07:29 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Oleh Cc: Org Mode --001a11c2e1901e89aa04f33ef6f0 Content-Type: text/plain; charset=ISO-8859-1 That's simply awesome. I'll test it out. Thanks Oleh. On Tue, Feb 25, 2014 at 11:28 AM, Oleh wrote: > > Niiice! Thanks for sharing Oleh. > > > > Does anyone know if a paste hook would be possible for the exact same use > > case? > > > > `org-download-yank` will insert the image based on the address in the kill > ring. > Address can be a path to a local file (remember "0 w" in `dired`) > or a http link. > > regards, > Oleh > --001a11c2e1901e89aa04f33ef6f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
That's simply awesome. I'll test it out. Thanks Ol= eh.


On T= ue, Feb 25, 2014 at 11:28 AM, Oleh <ohwoeowho@gmail.com> w= rote:
> Niiice! Thanks for shar= ing Oleh.
>
> Does anyone know if a paste hook would be possible for the exact same = use
> case?
>

`org-download-yank` will insert the image based on the address in the= kill ring.
Address can be a path to a local file (remember "0 w" in `dired`)=
or a http link.

regards,
Oleh

--001a11c2e1901e89aa04f33ef6f0--