[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59813: 29.0.60; function-history: M-. fails to jump to defun if stra
From: |
Naofumi Yasufuku |
Subject: |
bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled |
Date: |
Thu, 15 Dec 2022 02:23:28 +0900 |
Hi Stefan,
Stefan Kangas <stefankangas@gmail.com> writes:
>
> I can reproduce this on master, but not every time. Sometimes it works
> even after one `eval-buffer'. For some reason, it seems to work more
> often when I remove the third line with `message'?
>
On my systems (debian bullseye box and x86 macOS laptop), M-. failure
happens every time. If the third (message .. (loadhist--foo-inc 1)) is
not exist, M-. on `loadhist--foo-inc' works:
#+begin_src emacs-lisp
(setq load-path (cons (locate-user-emacs-file "site-lisp") load-path))
(autoload 'loadhist--foo-inc "loadhist--foo")
;; (message "(loadhist--foo-inc 1): %s" (loadhist--foo-inc 1))
#+end_src
If the third (message .. (loadhist--foo-inc 1)) is replaced with
`require', M-. on `loadhist--foo-inc' also fails:
#+begin_src emacs-lisp
(setq load-path (cons (locate-user-emacs-file "site-lisp") load-path))
(autoload 'loadhist--foo-inc "loadhist--foo")
(require 'loadhist--foo)
#+end_src
It is that I actually noticed this issue for the first time.
Best regards,
Naofumi
- bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled, Naofumi Yasufuku, 2022/12/04
- bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled, Stefan Kangas, 2022/12/12
- bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled, Naofumi Yasufuku, 2022/12/13
- bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled, Eli Zaretskii, 2022/12/13
- bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled, Naofumi Yasufuku, 2022/12/14
- bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled, Naofumi Yasufuku, 2022/12/14
- bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled, Naofumi Yasufuku, 2022/12/14