From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 47168@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
Subject: bug#47168: 28.0.50; Infinite recursion in project-root
Date: Tue, 16 Mar 2021 23:54:37 -0400 [thread overview]
Message-ID: <jwvczvyl9qs.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <36f5ca08-1ddc-a183-3f12-e942f6a7ff89@yandex.ru> (Dmitry Gutov's message of "Wed, 17 Mar 2021 04:47:15 +0200")
> Stefan, any chance there's a relatively non-dirty way we can check whether
> there is a non-default implementation for the generic function with given
> args, before calling it?
Not really, no. We could refrain from providing a default
implementation, and instead add a method to `cl-no-next-method` or
something like that, but I'm not sure it would make much difference.
> That would allow us to break recursion.
But we could use some dynamically-scoped
`project--within-roots-fallback` variable to break such recursion ;-)
Stefan
next prev parent reply other threads:[~2021-03-17 3:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 17:04 bug#47168: 28.0.50; Infinite recursion in project-root Juri Linkov
2021-03-17 2:47 ` Dmitry Gutov
2021-03-17 3:54 ` Stefan Monnier [this message]
2021-03-17 16:51 ` Dmitry Gutov
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=jwvczvyl9qs.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=47168@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=juri@linkov.net \
/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).