From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Lu Subject: Re: org-download.el Date: Sun, 18 Jan 2015 05:04:03 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c37dd85455dd050cea5394 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCmiE-0008OY-3j for emacs-orgmode@gnu.org; Sun, 18 Jan 2015 05:04:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCmiC-0002Ox-VU for emacs-orgmode@gnu.org; Sun, 18 Jan 2015 05:04:06 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:53110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCmiC-0002Ob-KQ for emacs-orgmode@gnu.org; Sun, 18 Jan 2015 05:04:04 -0500 Received: by mail-wg0-f41.google.com with SMTP id a1so5067889wgh.0 for ; Sun, 18 Jan 2015 02:04:03 -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: emacs-orgmode --001a11c37dd85455dd050cea5394 Content-Type: text/plain; charset=UTF-8 Hi Oleh, Thanks for the detailed instruction. I just checked following your advice, by copying the address of the image (and by looking at the browser-ring, I can make sure the address has been there), then M-x org-download-yank, returns error: "if: Wrong type argument: number-or-marker-p, nil". Also I tried (org-download-yank "the-address-to-the-image"), which does not work either. Do you have any insight? Thanks. Best, Chao On Thu, Jan 15, 2015 at 7:11 AM, Oleh wrote: > Hello, > > > Does anyone get org-download.el to work under Mac OSX? I'm struggling to > get > > it work, but it seems to help a lot, empowering org to handle images a > lot > > easier. > > > > I believe I've installed org-download.el correctly, but when I'm dragging > > and drop the image into an org buffer, all I get is the link address > > inserted into the buffer, no downloading events trigger. > > I'm the org-download author. I've mentioned these things on the tracker, > but there's no harm to posting here additionally. > > I don't have OSX, so I can't test it. However, it should work in > theory, since all tools used are portable. > > Try using `org-download-yank' first: this one does everything except > drag-and-drop. Just right click and copy the image url in the browser, > and call `org-download-yank' in Emacs. If it doesn't work, the issue is > with dnd, otherwise it's with the downloading itself. > > The default `org-download-backend 'uses `url-retrieve', which is a part of > Emacs, so if it doesn't work then it's an Emacs bug. > > regards, > Oleh > --001a11c37dd85455dd050cea5394 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Oleh,

Thanks for the d= etailed instruction. I just checked following your advice, by copying the a= ddress of the image (and by looking at the browser-ring, I can make sure th= e address has been there), then M-x org-download-yank, returns error: "= ;if: Wrong type argument: number-or-marker-p, nil".

Also = I tried (org-download-yank "the-address-to-the-image"), which doe= s not work either.

Do you have any insight? Thanks.

Bes= t,

Chao

On Thu, Jan 15, 2015 at 7:11 AM, Oleh <ohwoeowho@gmail.com<= /a>> wrote:
Hello,

> Does anyone get org-download.el to work under Mac OSX? I'm struggl= ing to get
> it work, but it seems to help a lot, empowering org to handle images a= lot
> easier.
>
> I believe I've installed org-download.el correctly, but when I'= ;m dragging
> and drop the image into an org buffer, all I get is the link address > inserted into the buffer, no downloading events trigger.

I'm the org-download author. I've mentioned these things on = the tracker,
but there's no harm to posting here additionally.

I don't have OSX, so I can't test it. However, it should work in theory, since all tools used are portable.

Try using `org-download-yank' first: this one does everything except drag-and-drop. Just right click and copy the image url in the browser,
and call `org-download-yank' in Emacs. If it doesn't work, the issu= e is
with dnd, otherwise it's with the downloading itself.

The default `org-download-backend 'uses `url-retrieve', which is a = part of
Emacs, so if it doesn't work then it's an Emacs bug.

regards,
Oleh

--001a11c37dd85455dd050cea5394--