Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled

From: Stefan Kangas <[email-masked]>
Date: Mon, 12 Dec 2022 17:20:46 -0800

Naofumi Yasufuku <[email-masked]> writes:

> Hello, Emacs
>
> M-. fails to jump to defun if autoload forms are evaluated in init.el
> without `load'; it is the way of straight.el autoloads cache feature
> (enabled by default):
>
>   https://github.com/radian-software/straight.el/blob/master/straight.el
>
>   straight--activate-package-autoloads
>   straight--read-package-autoloads

What makes you think this is a bug in Emacs, and not in straight?

Did you report this to the straight developers first?

Thanks.