From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.help Subject: Re: Workshop to save M$ Windows users - help needed Date: Thu, 07 Oct 2021 19:52:37 +0200 Message-ID: <87a6jkoh7e.fsf@logand.com> References: <837deua1sd.fsf@gnu.org> <834k9y9ysj.fsf@gnu.org> <87r1d151x1.fsf@logand.com> <87h7dwy9qh.fsf@logand.com> <87ee90y76p.fsf@logand.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eduardo Ochs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 07 20:08:00 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYXoF-0004VR-MM for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 07 Oct 2021 20:07:59 +0200 Original-Received: from localhost ([::1]:45462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYXoE-0004fX-Ke for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 07 Oct 2021 14:07:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYXZd-0005fu-Ik for help-gnu-emacs@gnu.org; Thu, 07 Oct 2021 13:52:53 -0400 Original-Received: from logand.com ([37.48.87.44]:55394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYXZb-0002XF-Kr for help-gnu-emacs@gnu.org; Thu, 07 Oct 2021 13:52:53 -0400 Original-Received: by logand.com (Postfix, from userid 1001) id 26C8019EB32; Thu, 7 Oct 2021 19:52:40 +0200 (CEST) X-Mailer: emacs 27.2 (via feedmail 11-beta-1 I) In-Reply-To: Received-SPF: pass client-ip=37.48.87.44; envelope-from=tom@logand.com; helo=logand.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133646 Archived-At: Hi Eduardo, On Thu 07 Oct 2021 at 13:32, Eduardo Ochs wrote: > 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 "/tmp")) > (find-pdf-page "~/Coetzee99.pdf") good you found something that works for you, esp such a simple solution. Interestingly, I had to remove the "/tmp" argument, otherwise it threw an error. This worked for me on Emacs 27.2: (setq url "https://tannerlectures.utah.edu/_resources/documents/a-to-z/c/Coetzee99.pdf") (url-retrieve url #'eww-download-callback (list url)) It downloads the file in the background. I wonder, if there is a way to somehow list the running downloads or at least see the open network buffers? I do not see them in *Buffer List* and when downloading with eww, the downloads feel invisible. Tomas