From mboxrd@z Thu Jan 1 00:00:00 1970 From: "briangpowell ." Subject: Re: org-download.el Date: Tue, 13 Jan 2015 03:47:43 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1137c9381deab6050c84adf0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAx8c-0006N3-2f for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 03:47:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAx8a-0007AO-Av for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 03:47:46 -0500 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:59875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAx8a-0007AE-5K for emacs-orgmode@gnu.org; Tue, 13 Jan 2015 03:47:44 -0500 Received: by mail-ob0-f175.google.com with SMTP id wp4so1457086obc.6 for ; Tue, 13 Jan 2015 00:47:43 -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: Chao Lu , Brian Powell Cc: emacs-orgmode --001a1137c9381deab6050c84adf0 Content-Type: text/plain; charset=UTF-8 * https://github.com/abo-abo/org-download/blob/master/org-download.el has: ... (defcustom org-download-backend t "Method to use for downloading." :type '(choice (const :tag "wget" "wget \"%s\" -O \"%s\"") (const :tag "curl" "curl \"%s\" -o \"%s\"") (const :tag "url-retrieve" t)) :group 'org-download) ... ** My guess: You don't have "wget" and/or "curl" on your Mac? On Tue, Jan 13, 2015 at 2:49 AM, Chao Lu wrote: > Dear all, > > 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 double checked a few things before coming here: > - My system has both curl and download. > - I've set the download image dir to ~/Downloads/Foo > - The value of dnd-protocol-alist contains > ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . org-download-dnd) > > The emacs I'm using is "GNU Emacs 24.3.1 (x86_64-apple-darwin, NS > apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.org" > > Is there any thought what I should check? > > Best, > > Chao > --001a1137c9381deab6050c84adf0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
* https://github.com/abo-abo/org-download/blob/master= /org-download.el has:

...
(defcustom = org-download-backend t
=C2=A0 "Method to use for downloading= ."
=C2=A0 :type '(choice
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 (const :tag "wget" "wget \"%s\" -O \= "%s\"")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (const = :tag "curl" "curl \"%s\" -o \"%s\""= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (const :tag "url-retrie= ve" t))
=C2=A0 :group 'org-download)
...
=

** My guess: You don't have "wget" = and/or "curl" on your Mac?


On Tue, Jan 13, 2015 at 2:4= 9 AM, Chao Lu <loochao.list@gmail.com> wrote:
Dear all,
=
Does anyone get org-download.el to work under Mac OSX? I'm st= ruggling to get it work, but it seems to help a lot, empowering org to hand= le 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 dow= nloading events trigger.

I double checked a few things be= fore coming here:
- My system has both curl and download.
=
- I've set the download image dir to ~/Downloads/Foo
- The value of dnd-protocol-alist contains ("^\\(https?\\|ftp\\= |file\\|nfs\\)://" . org-download-dnd)

The ema= cs I'm using is "GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-a= ppkit-1038.36) of 2013-03-13 on bob.porkrind.org"

Is there any thought wh= at I should check?

Best,

Chao

--001a1137c9381deab6050c84adf0--