|
From: | Stefan Monnier |
Subject: | bug#48137: 27.2; `package-install-file' fails when loading a package file with DOS line endings |
Date: | Thu, 06 May 2021 09:27:38 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> My idea was to read the file literally, without decoding, then parse >> the package headers from that. > I suppose you mean something along the other option below? That's not sufficient, because if we don't decode the file before we call `package-buffer-info` (from `package-install-from-buffer`), then the <foo>-pkg.el file will have incorrect content (e.g. the non-ASCII chars in the description of the package, will be later incorrectly displayed in `list-packages`). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |