[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47168: 28.0.50; Infinite recursion in project-root
From: |
Stefan Monnier |
Subject: |
bug#47168: 28.0.50; Infinite recursion in project-root |
Date: |
Tue, 16 Mar 2021 23:54:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> 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