unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41489: `package-dir-info' fails on a directory with a non-saved file
@ 2020-05-23 17:50 Paul Pogonyshev
  2020-05-23 18:23 ` Eli Zaretskii
  2021-12-05  1:13 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Paul Pogonyshev @ 2020-05-23 17:50 UTC (permalink / raw)
  To: 41489

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 670 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-12-05  1:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-23 17:50 bug#41489: `package-dir-info' fails on a directory with a non-saved file Paul Pogonyshev
2020-05-23 18:23 ` Eli Zaretskii
2020-05-23 18:37   ` Paul Pogonyshev
2020-05-25 22:55     ` Paul Pogonyshev
2020-05-26  2:07       ` Stefan Kangas
2020-05-26  6:54         ` Paul Pogonyshev
2020-05-26  8:51           ` Stefan Kangas
2021-12-05  1:13 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).