|
From: | Paul Pogonyshev |
Subject: | bug#41489: `package-dir-info' fails on a directory with a non-saved file |
Date: | Tue, 26 May 2020 00:55:05 +0200 |
Sorry. In any Emacs version. I tested with a fairly recently compiled `master', but judging by the source code I checked out two minutes ago, the bug is there currently too. The cause is this:(insert-file-contents (pop files))This form is not inside `(ignore-errors ...)' and so any failure is propagated out of `package-dir-info' too.PaulOn Sat, 23 May 2020 at 20:23, Eli Zaretskii <eliz@gnu.org> wrote:> From: Paul Pogonyshev <pogonyshev@gmail.com>
> Date: Sat, 23 May 2020 19:50:02 +0200
>
> - edit any Elisp file, but don't save it;
> - open its directory in Dired;
> - evaluate `(package-dir-info)'.
>
> Fails with: (file-missing "Opening input file" "No such file or directory" ".../.#blabla.el")
In what version of Emacs is that? Please always supply the
information collected by report-emacs-bug, as that saves unnecessary
questions such as this one.
Thanks.
0001-Fix-random-errors-in-package-dir-info-caused-by-unre.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |