GNU bug report logs - #35739
[w32] Bad signature from GNU ELPA for archive-contents

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Tue, 14 May 2019 21:27:02 UTC

Severity: normal

Fixed in version 26.3

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Richard Copley <rcopley <at> gmail.com>
Cc: 35739 <at> debbugs.gnu.org, npostavs <at> gmail.com
Subject: bug#35739: Bad signature from GNU ELPA
Date: Wed, 15 May 2019 05:41:47 +0300
> From: Richard Copley <rcopley <at> gmail.com>
> Date: Tue, 14 May 2019 23:26:27 +0100
> Cc: 35739 <at> debbugs.gnu.org
> 
> Thanks, that seems to be it: the attached patch gets rid of the bug (but obviously isn't TRT).
> 
> diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el
> index e35d999e0f..f8af2ce88c 100644
> --- a/lisp/url/url-handlers.el
> +++ b/lisp/url/url-handlers.el
> @@ -334,11 +334,11 @@ url-insert-buffer-contents
>        (when replace
>          (delete-region (point-min) start)
>          (delete-region (point) (point-max)))
> -      (unless (cadr size-and-charset)
> -        ;; If the headers don't specify any particular charset, use the
> -        ;; usual heuristic/rules that we apply to files.
> -        (decode-coding-inserted-region (point-min) (point) url
> -                                       visit beg end replace))
> +      ;; (unless (cadr size-and-charset)
> +      ;;   ;; If the headers don't specify any particular charset, use the
> +      ;;   ;; usual heuristic/rules that we apply to files.
> +      ;;   (decode-coding-inserted-region (point-min) (point) url
> +      ;;                                  visit beg end replace))
>        (let ((inserted (car size-and-charset)))
>          (when (fboundp 'after-insert-file-set-coding)
>            (let ((insval (after-insert-file-set-coding inserted visit)))

I don't see how disabling decoding could make sense, can you explain?
What does this code do on GNU/Linux?




This bug report was last modified 5 years and 358 days ago.

Previous Next


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