From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Purcell Newsgroups: gmane.emacs.bugs Subject: bug#20231: 25.0.50; package.el mangles non-ascii content in downloaded archive-contents data Date: Mon, 13 Apr 2015 21:45:18 +0100 Message-ID: <80D6D15A-8911-4460-A516-1D22B5B656C2@sanityinc.com> References: <6343E9EC-9E23-4D44-9CD1-82C26DB7CDA3@sanityinc.com> <8292DA72-0898-47B2-A1C1-F7D94A52A437@sanityinc.com> <878udysfn2.fsf@violet.siamics.net> <83mw2eecne.fsf@gnu.org> <874momsbsi.fsf_-_@violet.siamics.net> <83egnqe9a9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1428957980 32337 80.91.229.3 (13 Apr 2015 20:46:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Apr 2015 20:46:20 +0000 (UTC) To: Stefan Monnier , Artur Malabarba , Eli Zaretskii , Ivan Shmakov , 20231@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 13 22:46:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YhlFB-0005De-QM for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Apr 2015 22:46:09 +0200 Original-Received: from localhost ([::1]:53370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhlFB-0007iZ-9b for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Apr 2015 16:46:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhlF8-0007iU-DX for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2015 16:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhlF4-0007um-UG for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2015 16:46:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhlF4-0007uW-Rc for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2015 16:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YhlF4-0004ly-CV for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2015 16:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steve Purcell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Apr 2015 20:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20231 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20231-submit@debbugs.gnu.org id=B20231.142895793318307 (code B ref 20231); Mon, 13 Apr 2015 20:46:02 +0000 Original-Received: (at 20231) by debbugs.gnu.org; 13 Apr 2015 20:45:33 +0000 Original-Received: from localhost ([127.0.0.1]:55234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YhlEa-0004lC-6S for submit@debbugs.gnu.org; Mon, 13 Apr 2015 16:45:32 -0400 Original-Received: from purcellpeople.com ([85.214.32.38]:56901 helo=h1189701.stratoserver.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YhlEX-0004kw-8c for 20231@debbugs.gnu.org; Mon, 13 Apr 2015 16:45:30 -0400 Original-Received: from [192.168.1.103] (host31-48-107-253.range31-48.btcentralplus.com [31.48.107.253]) by h1189701.stratoserver.net (Postfix) with ESMTPSA id 1D2958201D3; Mon, 13 Apr 2015 22:45:19 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.2098) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101487 Archived-At: On 13 Apr 2015, at 15:02, Stefan Monnier = wrote: >=20 >>> It is also slower. Again, I have no idea if speed matters in this >>> case. >> I vote for the fastest approach. Now that package-refresh can be done >> in the background, any post-processing done in the foreground is all >> the more noticeable by the user. >=20 > Either way is fine by me. Just one detail, tho: if you let-bind > coding-system-for-read, please only do it around the call to > insert-file-contents and not around the subsequent code (even if it's > short and seems not to matter). Not sure at this stage who=E2=80=99s going to do this, and what the = consensus is for how it should be done. It=E2=80=99s probably quickest = if someone who has an opinion about the best fix just goes ahead and = commits whatever variation of my patch is considered optimal.=