From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Drag and drop, pasting images and files Date: Wed, 26 Feb 2014 14:05:47 +0800 Message-ID: <87bnxuh0hw.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIXar-0004ZB-F8 for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 01:03:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIXaj-0001eW-Sd for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 01:03:45 -0500 Received: from plane.gmane.org ([80.91.229.3]:49401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIXaj-0001eR-Mo for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 01:03:37 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WIXae-0006h0-52 for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 07:03:32 +0100 Received: from 111.197.162.167 ([111.197.162.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Feb 2014 07:03:32 +0100 Received: from eric by 111.197.162.167 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Feb 2014 07:03:32 +0100 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: emacs-orgmode@gnu.org Marcelo de Moraes Serpa writes: > 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. You can also just call org-insert-link with a "C-u" prefix. That will give you the regular find-file interface, and then insert a link to whatever file you find. Very useful!