help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Workshop to save M$ Windows users - help needed


From: Eduardo Ochs
Subject: Re: Workshop to save M$ Windows users - help needed
Date: Thu, 7 Oct 2021 13:32:24 -0300

On Mon, 4 Oct 2021 at 15:29, Tomas Hlavaty <tom@logand.com> wrote:
>
> url-retrieve-synchronously2 had a bug
>
> this works and should dispose the nework buffer properly:

Hi Tomas,

I have just discovered that my fake wget was buggy too, it was
corrupting files... then I followed the first half of your idea - "use
eww" - and I got this, which worked well:

  (require 'eww)
  ;; See: (find-efunction 'eww-download)

  (find-sh0 "rm -v ~/Coetzee99.pdf")
  (setq url 
"https://tannerlectures.utah.edu/_resources/documents/a-to-z/c/Coetzee99.pdf";)
  (url-retrieve url #'eww-download-callback (list url "~/"))
  (find-pdf-page "~/Coetzee99.pdf")

Cheers,
  E. ...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]