From: Juri Linkov <juri@linkov.net>
To: 60100@debbugs.gnu.org
Subject: bug#60100: 29.0.60; project-current is not resilient
Date: Thu, 15 Dec 2022 21:00:06 +0200 [thread overview]
Message-ID: <86mt7o4hmx.fsf@mail.linkov.net> (raw)
Is this intentional that
```
(project-current nil "/tmp/nonexistent/")
```
raises the error
Debugger entered--Lisp error: (file-missing "Opening directory" "No such file or directory" "/tmp/nonexistent")
instead of silently returning nil. Because when called with
an existing non-project dir, it just returns nil:
```
(project-current nil "/tmp/") => nil
```
next reply other threads:[~2022-12-15 19:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-15 19:00 Juri Linkov [this message]
2022-12-18 0:41 ` bug#60100: 29.0.60; project-current is not resilient Dmitry Gutov
2022-12-18 8:38 ` Juri Linkov
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=86mt7o4hmx.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=60100@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).