From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Richard Subject: Re: Drag images from Firefox to org-mode Date: Fri, 18 Oct 2013 12:44:34 +0200 Message-ID: <878uxqrh7x.fsf@yahoo.fr> References: <87eh7irjvi.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX7XQ-0008PC-Iv for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 06:44:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VX7XK-00041A-Dv for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 06:44:12 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:60709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX7XK-000414-8Z for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 06:44:06 -0400 In-Reply-To: (Oleh's message of "Fri, 18 Oct 2013 12:04:41 +0200") 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 , Carsten Dominik Oleh writes: > I've just tested Rick Frankel's code, and I got > a broken jpg (it's half green and distorted). It appears so > it org-mode inline and in eog, but it displays properly in its own > Emacs buffer. > Looks like it needs more work. Perhaps you could test this version instead: ://github.com/YoungFrog/org-download/tree/url-retrieve-alt It uses write-region instead of write-file and binds coding-system-for-write to 'no-conversion -- Nico.