From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 74040-done@debbugs.gnu.org
Subject: bug#74040: `require-with-check` signals error for `project`
Date: Mon, 28 Oct 2024 22:42:16 -0400 [thread overview]
Message-ID: <jwvh68vk4x0.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CADwFkm=XVicNb4R_uYdxBvfJ0yPSy9t40Pn3BN+ifxRsS1hkFw@mail.gmail.com> (Stefan Kangas's message of "Sun, 27 Oct 2024 14:24:01 -0700")
> Either patch is fine by me, but having the change more localized is
> certainly nice.
Agreed.
> Do you have any other use case in mind for the new PREFER-NEWER argument
> of `locate-file` than `require-with-check`? If not, perhaps we should
> avoid making it more complex?
In principle, it's nice to be able to reproduce *exactly* the search
performed by `load` and `require`, but in practice, I don't have any
real use case, no.
I pushed the more localized patch (after fixing it so it actually
works).
Stefan
prev parent reply other threads:[~2024-10-29 2:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-27 3:15 bug#74040: `require-with-check` signals error for `project` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-27 16:25 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-27 16:43 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-27 21:24 ` Stefan Kangas
2024-10-29 2:42 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvh68vk4x0.fsf-monnier+emacs@gnu.org \
--to=bug-gnu-emacs@gnu.org \
--cc=74040-done@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=stefankangas@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.