emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chao Lu <loochao.list@gmail.com>
To: Rainer M Krug <Rainer@krugs.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-download.el
Date: Tue, 13 Jan 2015 11:47:43 -0500	[thread overview]
Message-ID: <CAD54YEahpGsRjT2otR83Fh57bWNXEYOMfsyRsy+KL8YNX9UmZA@mail.gmail.com> (raw)
In-Reply-To: <m2twzvys37.fsf@krugs.de>

[-- Attachment #1: Type: text/plain, Size: 2433 bytes --]

Thanks for the advice, but I've wget and curl installed through Mac ports.

$ which crul    => /usr/texbin/curl
$ which wget  => /usr/texbin/wget

And the value of my exec-path is:
("/usr/bin" "/bin" "/usr/sbin" "/sbin"
"/Applications/Documents/Emacs.app/Contents/MacOS/libexec"
"/Applications/Documents/Emacs.app/Contents/MacOS/bin"
"/Applications/Mathematics/MATLAB_R2014a.app/bin"
"/Applications/Documents/Emacs.app/Contents/MacOS/bin" "*/usr/texbin*"
"/opt/local/bin" "/usr/local/bin")

which has included /usr/texbin

Any thoughts?  Thanks.

On Tue, Jan 13, 2015 at 3:58 AM, Rainer M Krug <Rainer@krugs.de> wrote:

> "briangpowell ." <briangpowellms@gmail.com> writes:
>
> > * 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?
>
> either that, or they are not in the path used in emacs (are they
> installed via e.. homebrew?).
>
> Depending on how you set the paths, the emacs process might have
> different paths.
>
> Cheers,
>
> Rainer
>
> >
> >
> > On Tue, Jan 13, 2015 at 2:49 AM, Chao Lu <loochao.list@gmail.com> 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
> >>
>
> --
> Rainer M. Krug
> email: Rainer<at>krugs<dot>de
> PGP: 0x0F52F982
>

[-- Attachment #2: Type: text/html, Size: 3932 bytes --]

  reply	other threads:[~2015-01-13 16:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13  7:49 org-download.el Chao Lu
2015-01-13  8:47 ` org-download.el briangpowell .
2015-01-13  8:58   ` org-download.el Rainer M Krug
2015-01-13 16:47     ` Chao Lu [this message]
2015-01-15 12:11 ` org-download.el Oleh
2015-01-18 10:04   ` org-download.el Chao Lu
2015-01-18 11:10     ` org-download.el Oleh
2015-01-18 19:31       ` org-download.el Oleh
2015-01-19  3:29       ` org-download.el Chao Lu
2015-01-19  8:28         ` org-download.el Oleh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD54YEahpGsRjT2otR83Fh57bWNXEYOMfsyRsy+KL8YNX9UmZA@mail.gmail.com \
    --to=loochao.list@gmail.com \
    --cc=Rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).