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

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

Re: url-retrieve fails on most HTTPS sites


From: 2QdxY4RzWzUUiLuE
Subject: Re: url-retrieve fails on most HTTPS sites
Date: Mon, 28 Sep 2020 18:24:59 -0500

On 2020-09-29 at 01:13:51 +0200,
Emanuel Berg via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> wrote:

> Nicolas Graner wrote:
> 
> >   (switch-to-buffer (url-retrieve
> > "https://wikipedia.org/"; '(lambda (&rest ignore))))
> >
> > The buffer that shows up is empty.
> 
> Never heard of `url-retrieve' but I have it and yes,
> what "shows up is empty".

It works for me.  Sort of.

I ran (url-retrieve "https://wikipedia.org/"; (lambda (&rest ignore))) in
my *scratch* buffer, and watched carefully.

    (url-retrieve
     "https://wikipedia.org/";
     (lambda (&rest ignore)))
    #<buffer  *http wikipedia.org:443*>

That buffer is empty.  But the buffer " *http www.wikipedia.org:443*"
contains the HTML I/we expected.

> (BTW, don't quote lambdas! was the rule one decade ago...)

>From wrting too much Common Lisp, I'm used to writing #'(lambda ...),
but I'm not qualified to judge elisp.



reply via email to

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