From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#20309: 25.0.50; Coding conversion error during clojure-mode package upgrade Date: Tue, 22 Oct 2019 02:57:59 +0200 Message-ID: References: <86y4lxlarx.fsf@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="116203"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 20309@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 22 02:59:25 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iMiWD-000U7X-Me for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Oct 2019 02:59:25 +0200 Original-Received: from localhost ([::1]:49170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMiWB-0003N7-VM for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 20:59:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35864) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMiVs-0003LO-KM for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 20:59:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMiVq-0000uq-AK for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 20:59:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49254) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMiVq-0000uj-6e for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 20:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMiVq-0002PQ-2Q for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 20:59:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <86y4lxlarx.fsf@yandex.ru> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2019 00:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20309 X-GNU-PR-Package: emacs Original-Received: via spool by 20309-submit@debbugs.gnu.org id=B20309.15717058999211 (code B ref 20309); Tue, 22 Oct 2019 00:59:02 +0000 Original-Received: (at 20309) by debbugs.gnu.org; 22 Oct 2019 00:58:19 +0000 Original-Received: from localhost ([127.0.0.1]:58075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMiV9-0002OV-De for submit@debbugs.gnu.org; Mon, 21 Oct 2019 20:58:19 -0400 Original-Received: from mail-pg1-f195.google.com ([209.85.215.195]:34110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMiV7-0002OH-0c for 20309@debbugs.gnu.org; Mon, 21 Oct 2019 20:58:18 -0400 Original-Received: by mail-pg1-f195.google.com with SMTP id k20so8875864pgi.1 for <20309@debbugs.gnu.org>; Mon, 21 Oct 2019 17:58:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=xQpHQm42rISpgN12uI2kHeDSyGnCeuy0lXIPz9ODW24=; b=orcXy4fSBTqNSY83PLchW7oyS5/04QA65QkDpCsIuHnII4Kzw6g5muNzcwaZr+JXc2 2l1Jnfa/CNZAT+wMklpN6AMxirMizD2GOHoty3vbOdURaZ0gATGlvv4LY350W/Tg/4fG p3w2ukqqHuQJEp8+GollkPoRMVa5QEszgsulw5I5s9oNhJwc8tJaIyfhpiv2/Yn7uAOj HJW+9NN95ywHOd6svpDmm+SVo2porY//Ba8G74MylZselvRoBRzxabvYoMYoXb8dJ4k1 tWX81ZJSQcMaUrtvQ1NmnQDxyzrQrn+/Tlvqc6hZ63tE2ykOuE3UGoLfA6i8qhP1b+xR M6KA== X-Gm-Message-State: APjAAAWR01mooxp3hp5ToBbN50Io90BcP1vXYTF2D7Rq35KROHprd4Rw Vz9TcCbjNLlBLyo2ZO3BAs0uJD0R7wtTaNtK994= X-Google-Smtp-Source: APXvYqziz42Aj0tWl7rDkNgPUSa93y+SA3JnGl+kQLDWLRjJ5BjsswuPQP2D0KqndUGu2wg0Jt/9XI6Tfw1lQjP3HkA= X-Received: by 2002:a63:4046:: with SMTP id n67mr734427pga.200.1571705890950; Mon, 21 Oct 2019 17:58:10 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169962 Archived-At: Dmitry Gutov writes: > The package is being installed from MELPA, the file can be viewed at > http://melpa.org/packages/clojure-mode-20150410.2319.el. The latest version seems to be available here: https://raw.githubusercontent.com/clojure-emacs/clojure-mode/master/clojure-mode.el > Viewing it in the browser (or downloading and opening in `less') > displays those copyright characters just fine. > > Not so here, see the attached screenshot. I can't reproduce this on current master. I believe that it has been fixed by the following commit (if not before): commit 5f9671e57ee99cfe4653b2cb6aca16d52f9a5c53 Author: Stefan Monnier Date: Sat May 18 18:32:47 2019 -0400 * lisp/emacs-lisp/package.el: Fix decoding of downloaded files This is a different fix for bug#34909, which should also fix bug#35739. Our downloading code used to automatically decode the result according to the usual heuristics for files. This caused problems when we later needed to save the data in a file that needed to be byte-for-byte equal to the original in order to pass the signature verification, especially because we didn't keep track of which coding-system was used to decode the data. There is also a separate fix installed on the now released Emacs 26.3. Could you please test this on Emacs 26.3 or the current master branch and see if it works for you? If I don't hear back from you within a couple of weeks, I'll just close this as unreproducible. Best regards, Stefan Kangas