From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: Drag images from Firefox to org-mode Date: Fri, 18 Oct 2013 12:04:41 +0200 Message-ID: References: <87eh7irjvi.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d57ce1f9e7004e9011018 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX6vE-00019e-1S for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 06:04:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VX6vC-00089E-Nx for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 06:04:43 -0400 Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:49671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX6vC-000896-Gc for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 06:04:42 -0400 Received: by mail-wg0-f53.google.com with SMTP id y10so3484049wgg.8 for ; Fri, 18 Oct 2013 03:04:41 -0700 (PDT) In-Reply-To: <87eh7irjvi.fsf@yahoo.fr> 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: Nicolas Richard Cc: org mode , Carsten Dominik --047d7b5d57ce1f9e7004e9011018 Content-Type: text/plain; charset=ISO-8859-1 Hi Nicolas, 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. regards, Oleh On Fri, Oct 18, 2013 at 11:47 AM, Nicolas Richard < theonewiththeevillook@yahoo.fr> wrote: > Oleh writes: > > I tried before url-retrieve, but it was giving me some garbage in > > addition to the image. > > > But if I figure it out, I could add url-retrieve as the third custom > > method. > > If the garbage is the HTTP headers, then that problem is solved in Rick > Frankel's code. If there's any other garbage, perhaps you have a test > case ? > > -- > Nico. > --047d7b5d57ce1f9e7004e9011018 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Nicolas,

I've just tested Rick F= rankel's code, and I got=A0
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.

regards,
=
Oleh



On Fri, Oct 18, 2013 at 11:47 AM, Nicolas Richard <theonewiththeevillook@yahoo.fr> wrote:
Oleh <ohwoeowho@gmail.com> writes:
> I tried before url-retrieve, but it was giving me some garbage in
> addition to the image.

> But if I figure it out, I could add url-retrie= ve as the third custom
> method.

If the garbage is the HTTP headers, then that problem is solved in Ri= ck
Frankel's code. If there's any other garbage, perhaps you have a te= st
case ?

--
Nico.

--047d7b5d57ce1f9e7004e9011018--