GNU bug report logs - #41489
`package-dir-info' fails on a directory with a non-saved file

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Sat, 23 May 2020 17:51:02 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: 41489 <at> debbugs.gnu.org
Subject: bug#41489: `package-dir-info' fails on a directory with a non-saved file
Date: Sat, 23 May 2020 19:50:02 +0200
[Message part 1 (text/plain, inline)]
To reproduce:

- 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")

I.e. it tries to open the lock created for the unsaved file as a normal
file and fails. I'm not 100% sure this should be considered a bug, but from
my point of view it is so. Even if this is not a bug, the function should
probably fail with a more descriptive error.

Paul
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 169 days ago.

Previous Next


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