Happy to provide more details, my use is in Python mode and in emacs 29.1 (on Mac OS, but I don't think it matters here)