GNU bug report logs - #23225
25.1.50; url-retrieve-synchronously having trouble with some https URLs

Previous Next

Package: emacs;

Reported by: joaotavora <at> gmail.com (João Távora)

Date: Tue, 5 Apr 2016 18:31:01 UTC

Severity: normal

Tags: patch

Merged with 22929, 23503, 23982

Found in version 25.1.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tao Fang <fangtao0901 <at> gmail.com>
To: joaotavora <at> gmail.com (João Távora)
Cc: Alexis <flexibeast <at> gmail.com>, 23225 <at> debbugs.gnu.org
Subject: bug#23225: 25.1.50; url-retrieve-synchronously having trouble with some https URLs
Date: Sun, 05 Jun 2016 00:17:54 +0800
[Message part 1 (text/plain, inline)]
joaotavora <at> gmail.com (João Távora) writes:

> The misbehaving propagated silently and I came across this using M-x
> package-install RET ... RET, which magically compiles a 0-byte package.
I had same problem when using package-install with restricted network
connection (or bad network conditions), sometimes I got empty buffer
without any error where as it should fail.

> I think the protocol for url-retrieve-synchornously could be
> revised. Its users seem to expect it to return nil or at least a
> non-buffer if something went wrong, but that's clearly not what happened
> here. Perhaps it should error.
I agree.

So I proposed a patch for this:
[0001-url-retrieve-synchronously-signal-error-when-fail.patch (text/x-diff, attachment)]

This bug report was last modified 8 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.