From: Paul Pogonyshev <pogonyshev@gmail.com>
To: 41489@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 [thread overview]
Message-ID: <CAG7BparG9NaNfDVA1ficsw-NBxtKXO02AxTiJshS_-0ETgf3gQ@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2020-05-23 17:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-23 17:50 Paul Pogonyshev [this message]
2020-05-23 18:23 ` bug#41489: `package-dir-info' fails on a directory with a non-saved file 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG7BparG9NaNfDVA1ficsw-NBxtKXO02AxTiJshS_-0ETgf3gQ@mail.gmail.com \
--to=pogonyshev@gmail.com \
--cc=41489@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).