X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Naofumi Yasufuku <naofumi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 04 Dec 2022 09:45:02 +0000 Resent-Message-ID: <handler.59813.B.16701470783591 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 59813 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16701470783591 (code B ref -1); Sun, 04 Dec 2022 09:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Dec 2022 09:44:38 +0000 Received: from localhost ([127.0.0.1]:56545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p1lY4-0000vr-9X for submit <at> debbugs.gnu.org; Sun, 04 Dec 2022 04:44:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:60222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <naofumi@HIDDEN>) id 1p1lY1-0000vl-JF for submit <at> debbugs.gnu.org; Sun, 04 Dec 2022 04:44:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <naofumi@HIDDEN>) id 1p1lY1-0002gV-Bu for bug-gnu-emacs@HIDDEN; Sun, 04 Dec 2022 04:44:33 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <naofumi@HIDDEN>) id 1p1lXx-0003AI-0x for bug-gnu-emacs@HIDDEN; Sun, 04 Dec 2022 04:44:33 -0500 Received: (Authenticated sender: naofumi@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id 7940960004 for <bug-gnu-emacs@HIDDEN>; Sun, 4 Dec 2022 09:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1670147064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=rV1jFgn6gCEUuA625ugfa7wHDLnfly5WHRd7xgwX0Rs=; b=Ap4vd2RNI1khmhEWPWAaSL6SthDWBZk/WgMRnp6Hp1nFRzcr2Bwpr18vsXVunM/xNw8YoV RwcEocbei8vAsGDrr/4Pl5ywpvQzATaX8o15AbxO2TRckQGDQzkUKH7jJ6ln8s4EDHWV7o UOSeQbwulYKxNFle5ztUtt4c5uN2EH9m7Ulfuxz8HUx6uBZCg+LOozvPTPYjh0Ke+0jbcT 5vURGfu5jBvTQ6wJX2QiTo6l71x7gQQSs1YepS+K7pWH3rAoam9cdWYl7tNjJBQjxgNo6c 6lSDMc+h6wTKOKURG6sx1I1L/VmO6eX+IRRm50uSbMCdjS1ltrpw3FHkAjH0PQ== From: Naofumi Yasufuku <naofumi@HIDDEN> Date: Sun, 04 Dec 2022 18:44:16 +0900 Message-ID: <86fsdvmrkf.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4b98:dc4:8::223; envelope-from=naofumi@HIDDEN; helo=relay3-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) 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 ---------------------------------------- 1. Create the following autoload files and init.el; ~/.emacs.d/site-lisp/loadhist--foo.el #+begin_src emacs-lisp (defun loadhist--foo-inc (x) (1+ x)) (provide 'loadhist--foo) #+end_src ~/.emacs.d/site-lisp/loadhist--foo-autoloads.el #+begin_src emacs-lisp (autoload 'loadhist--foo-inc "loadhist--foo") (provide 'loadhist--foo-autoloads) #+end_src ~/.emacs.d/init.el #+begin_src emacs-lisp (setq load-path (cons (locate-user-emacs-file "site-lisp") load-path)) ;; BACKGROUND ;; ;; The following code is the way of straight.el autoloads cache: ;; ;; https://github.com/radian-software/straight.el/blob/master/straight.el ;; ;; straight--activate-package-autoloads ;; straight--read-package-autoloads ;; (let ((load-file-name (locate-user-emacs-file "site-lisp/loadhist--foo-autoloads.el")) (load-in-progress t)) (with-temp-buffer (insert-file-contents load-file-name) (let (autoloads) (condition-case _ (while t (push (read (current-buffer)) autoloads)) (end-of-file)) (dolist (form (nreverse autoloads)) (eval form))))) (message "function-history A: %s" (get 'loadhist--foo-inc 'function-history)) ;; M-. fails to jump to defun in loadhist--foo.el ;; if loadhist--foo.el is loaded: (message "(loadhist--foo-inc 1): %s" (loadhist--foo-inc 1)) (message "function-history B: %s" (get 'loadhist--foo-inc 'function-history)) #+end_src ---------------------------------------- 2. launch Emacs, and open init.el, then M-. on `loadhist--foo-inc'; ---------------------------------------- 3. M-. jumps to the head of init.el instead of defun in loadhist--foo.el; (MISBEHAVIOR) In *Messages*, (get 'loadhist--foo-inc 'function-history) says: #+begin_example function-history A: nil (loadhist--foo-inc 1): 2 function-history B: (/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el (autoload loadhist--foo nil nil nil)) #+end_example ---------------------------------------- 4. Comment out (loadhist--foo-inc 1) call in init.el, then do #2 again; #+begin_src diff --- init.el.orig 2022-12-04 16:16:01.513979076 +0900 +++ init.el 2022-12-04 16:17:34.347794827 +0900 @@ -26,6 +26,6 @@ ;; M-. on `loadhist--foo-inc' fails to jump to defun in loadhist--foo.el ;; if loadhist--foo.el is loaded: -(message "(loadhist--foo-inc 1): %s" (loadhist--foo-inc 1)) +;(message "(loadhist--foo-inc 1): %s" (loadhist--foo-inc 1)) (message "function-history B: %s" (get 'loadhist--foo-inc 'function-history)) #+end_src ---------------------------------------- 5. M-. jumps to defun in loadhist--foo.el; (EXPECTED) ---------------------------------------- I found that the following commit affects to this behavior. If I revert this commit, M-. jumps successfully even if loadhist--foo.el is autoloaded by (loadhist--foo-inc 1) call in init.el. ---------------------------------------- bad 1d1b664fbb9232aa40d8daa54a689cfd63d38aa9 Author: Stefan Monnier <monnier@HIDDEN> AuthorDate: Mon Jan 31 11:07:06 2022 -0500 Commit: Stefan Monnier <monnier@HIDDEN> CommitDate: Mon Jan 31 11:07:26 2022 -0500 Parent: 90bbf27f02 Make Gnus address checking more resilient Merged: (no branch, bisect started on emacs-29) Contained: emacs-29 Follows: emacs-27.1 (13597) (function-history): New symbol property (bug#53632) ---------------------------------------- Best regards, Naofumi In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2022-12-04 built on titan Repository revision: 96af584af6c8ea50f9cf871db9ffca91040fb85d Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure 'CFLAGS=-g3 -O2' TMPDIR=/home/naofumi/tmp --prefix=/home/naofumi/.local/emacs/emacs-29 --with-x --with-x-toolkit=lucid --with-mailutils --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MESSAGES: en_US.UTF-8 value of $LC_TIME: C value of $LANG: ja_JP.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: org-superstar-mode: t toc-org-mode: t org-indent-mode: t org-num-mode: t editorconfig-mode: t delete-selection-mode: t global-so-long-mode: t recentf-mode: t global-whitespace-mode: t winner-mode: t diff-hl-flydiff-mode: t diff-hl-margin-local-mode: t diff-hl-margin-mode: t global-diff-hl-mode: t diff-hl-mode: t pyvenv-tracking-mode: t yas-global-mode: t yas-minor-mode: t marginalia-mode: t vertico-mode: t savehist-mode: t corfu-history-mode: t corfu-indexed-mode: t corfu-terminal-mode: t windmove-mode: t disable-mouse-global-mode: t which-key-mode: t doom-modeline-mode: t global-corfu-mode: t corfu-mode: t projectile-mode: t global-git-commit-mode: t magit-auto-revert-mode: t global-auto-revert-mode: t shell-dirtrack-mode: t repeat-mode: t server-mode: t key-chord-mode: t override-global-mode: t straight-use-package-mode: t straight-package-neutering-mode: t straight-live-modifications-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-history-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/naofumi/.emacs.d/straight/build-29/ninja-mode/ninja-mode hides /usr/share/emacs/site-lisp/ninja-mode /home/naofumi/.emacs.d/straight/build-29/cmake-mode/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/naofumi/.emacs.d/straight/build-29/transient/transient hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/transient /home/naofumi/.emacs.d/straight/build-29/org/org-table hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-table /home/naofumi/.emacs.d/straight/build-29/org/ob-ruby hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-ruby /home/naofumi/.emacs.d/straight/build-29/org/org-agenda hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-agenda /home/naofumi/.emacs.d/straight/build-29/org/org-protocol hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-protocol /home/naofumi/.emacs.d/straight/build-29/org/org-num hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-num /home/naofumi/.emacs.d/straight/build-29/org/org-keys hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-keys /home/naofumi/.emacs.d/straight/build-29/org/org-goto hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-goto /home/naofumi/.emacs.d/straight/build-29/org/org-feed hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-feed /home/naofumi/.emacs.d/straight/build-29/org/org-fold hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-fold /home/naofumi/.emacs.d/straight/build-29/org/org-faces hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-faces /home/naofumi/.emacs.d/straight/build-29/org/org-cycle hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-cycle /home/naofumi/.emacs.d/straight/build-29/org/ol-gnus hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-gnus /home/naofumi/.emacs.d/straight/build-29/org/ol-docview hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-docview /home/naofumi/.emacs.d/straight/build-29/org/oc-basic hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/oc-basic /home/naofumi/.emacs.d/straight/build-29/org/ob-table hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-table /home/naofumi/.emacs.d/straight/build-29/org/ob-screen hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-screen /home/naofumi/.emacs.d/straight/build-29/org/ob-scheme hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-scheme /home/naofumi/.emacs.d/straight/build-29/org/ob-octave hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-octave /home/naofumi/.emacs.d/straight/build-29/org/ox-publish hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-publish /home/naofumi/.emacs.d/straight/build-29/org/ox-koma-letter hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-koma-letter /home/naofumi/.emacs.d/straight/build-29/org/org-tempo hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-tempo /home/naofumi/.emacs.d/straight/build-29/org/org-src hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-src /home/naofumi/.emacs.d/straight/build-29/org/ob-forth hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-forth /home/naofumi/.emacs.d/straight/build-29/org/org-element hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-element /home/naofumi/.emacs.d/straight/build-29/org/ob-latex hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-latex /home/naofumi/.emacs.d/straight/build-29/org/org-macro hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-macro /home/naofumi/.emacs.d/straight/build-29/org/ob-julia hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-julia /home/naofumi/.emacs.d/straight/build-29/org/ob-eval hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-eval /home/naofumi/.emacs.d/straight/build-29/org/ob-comint hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-comint /home/naofumi/.emacs.d/straight/build-29/org/ob-lilypond hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-lilypond /home/naofumi/.emacs.d/straight/build-29/org/ox-texinfo hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-texinfo /home/naofumi/.emacs.d/straight/build-29/org/ob-emacs-lisp hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-emacs-lisp /home/naofumi/.emacs.d/straight/build-29/org/ox-latex hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-latex /home/naofumi/.emacs.d/straight/build-29/org/org-persist hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-persist /home/naofumi/.emacs.d/straight/build-29/org/ox-icalendar hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-icalendar /home/naofumi/.emacs.d/straight/build-29/org/org-pcomplete hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-pcomplete /home/naofumi/.emacs.d/straight/build-29/org/org-macs hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-macs /home/naofumi/.emacs.d/straight/build-29/org/org-loaddefs hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-loaddefs /home/naofumi/.emacs.d/straight/build-29/org/org-indent hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-indent /home/naofumi/.emacs.d/straight/build-29/org/org-footnote hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-footnote /home/naofumi/.emacs.d/straight/build-29/org/org-fold-core hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-fold-core /home/naofumi/.emacs.d/straight/build-29/org/org-ctags hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-ctags /home/naofumi/.emacs.d/straight/build-29/org/org-colview hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-colview /home/naofumi/.emacs.d/straight/build-29/org/org-crypt hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-crypt /home/naofumi/.emacs.d/straight/build-29/org/org-compat hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-compat /home/naofumi/.emacs.d/straight/build-29/org/org-archive hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-archive /home/naofumi/.emacs.d/straight/build-29/org/ol-w3m hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-w3m /home/naofumi/.emacs.d/straight/build-29/org/ol-rmail hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-rmail /home/naofumi/.emacs.d/straight/build-29/org/ol-man hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-man /home/naofumi/.emacs.d/straight/build-29/org/ol-irc hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-irc /home/naofumi/.emacs.d/straight/build-29/org/ol-eshell hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-eshell /home/naofumi/.emacs.d/straight/build-29/org/ol-bibtex hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-bibtex /home/naofumi/.emacs.d/straight/build-29/org/ol-bbdb hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-bbdb /home/naofumi/.emacs.d/straight/build-29/org/oc-bibtex hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/oc-bibtex /home/naofumi/.emacs.d/straight/build-29/org/oc-biblatex hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/oc-biblatex /home/naofumi/.emacs.d/straight/build-29/org/org hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org /home/naofumi/.emacs.d/straight/build-29/org/ob-tangle hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-tangle /home/naofumi/.emacs.d/straight/build-29/org/ob-sql hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-sql /home/naofumi/.emacs.d/straight/build-29/org/ob-shell hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-shell /home/naofumi/.emacs.d/straight/build-29/org/ob-sed hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-sed /home/naofumi/.emacs.d/straight/build-29/org/ob-sass hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-sass /home/naofumi/.emacs.d/straight/build-29/org/ob-ref hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-ref /home/naofumi/.emacs.d/straight/build-29/org/ob-perl hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-perl /home/naofumi/.emacs.d/straight/build-29/org/ob-org hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-org /home/naofumi/.emacs.d/straight/build-29/org/ob-maxima hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-maxima /home/naofumi/.emacs.d/straight/build-29/org/ob-fortran hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-fortran /home/naofumi/.emacs.d/straight/build-29/org/ob-makefile hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-makefile /home/naofumi/.emacs.d/straight/build-29/org/ob-lob hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-lob /home/naofumi/.emacs.d/straight/build-29/org/ox-ascii hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-ascii /home/naofumi/.emacs.d/straight/build-29/org/org-plot hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-plot /home/naofumi/.emacs.d/straight/build-29/org/org-mobile hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-mobile /home/naofumi/.emacs.d/straight/build-29/org/org-mouse hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-mouse /home/naofumi/.emacs.d/straight/build-29/org/org-list hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-list /home/naofumi/.emacs.d/straight/build-29/org/org-habit hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-habit /home/naofumi/.emacs.d/straight/build-29/org/org-datetree hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-datetree /home/naofumi/.emacs.d/straight/build-29/org/org-entities hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-entities /home/naofumi/.emacs.d/straight/build-29/org/org-duration hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-duration /home/naofumi/.emacs.d/straight/build-29/org/ox-html hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-html /home/naofumi/.emacs.d/straight/build-29/org/org-capture hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-capture /home/naofumi/.emacs.d/straight/build-29/org/ox-beamer hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-beamer /home/naofumi/.emacs.d/straight/build-29/org/org-timer hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-timer /home/naofumi/.emacs.d/straight/build-29/org/org-refile hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-refile /home/naofumi/.emacs.d/straight/build-29/org/org-lint hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-lint /home/naofumi/.emacs.d/straight/build-29/org/org-inlinetask hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-inlinetask /home/naofumi/.emacs.d/straight/build-29/org/org-id hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-id /home/naofumi/.emacs.d/straight/build-29/org/org-clock hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-clock /home/naofumi/.emacs.d/straight/build-29/org/org-attach hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-attach /home/naofumi/.emacs.d/straight/build-29/org/org-attach-git hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-attach-git /home/naofumi/.emacs.d/straight/build-29/org/ox-man hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-man /home/naofumi/.emacs.d/straight/build-29/org/ol-mhe hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-mhe /home/naofumi/.emacs.d/straight/build-29/org/ol-eww hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-eww /home/naofumi/.emacs.d/straight/build-29/org/ol-info hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-info /home/naofumi/.emacs.d/straight/build-29/org/ol-doi hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol-doi /home/naofumi/.emacs.d/straight/build-29/org/oc-csl hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/oc-csl /home/naofumi/.emacs.d/straight/build-29/org/oc-natbib hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/oc-natbib /home/naofumi/.emacs.d/straight/build-29/org/ox-odt hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-odt /home/naofumi/.emacs.d/straight/build-29/org/ob hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob /home/naofumi/.emacs.d/straight/build-29/org/ob-sqlite hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-sqlite /home/naofumi/.emacs.d/straight/build-29/org/ox-org hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-org /home/naofumi/.emacs.d/straight/build-29/org/ob-python hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-python /home/naofumi/.emacs.d/straight/build-29/org/ob-processing hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-processing /home/naofumi/.emacs.d/straight/build-29/org/ob-plantuml hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-plantuml /home/naofumi/.emacs.d/straight/build-29/org/ob-ocaml hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-ocaml /home/naofumi/.emacs.d/straight/build-29/org/ox-md hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox-md /home/naofumi/.emacs.d/straight/build-29/org/ob-lua hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-lua /home/naofumi/.emacs.d/straight/build-29/org/ob-matlab hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-matlab /home/naofumi/.emacs.d/straight/build-29/org/ob-lisp hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-lisp /home/naofumi/.emacs.d/straight/build-29/org/ob-haskell hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-haskell /home/naofumi/.emacs.d/straight/build-29/org/ob-groovy hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-groovy /home/naofumi/.emacs.d/straight/build-29/org/ob-gnuplot hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-gnuplot /home/naofumi/.emacs.d/straight/build-29/org/ob-eshell hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-eshell /home/naofumi/.emacs.d/straight/build-29/org/ob-core hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-core /home/naofumi/.emacs.d/straight/build-29/org/ob-clojure hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-clojure /home/naofumi/.emacs.d/straight/build-29/org/ob-exp hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-exp /home/naofumi/.emacs.d/straight/build-29/org/ob-awk hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-awk /home/naofumi/.emacs.d/straight/build-29/org/ol hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ol /home/naofumi/.emacs.d/straight/build-29/org/oc hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/oc /home/naofumi/.emacs.d/straight/build-29/org/ox hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ox /home/naofumi/.emacs.d/straight/build-29/org/ob-java hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-java /home/naofumi/.emacs.d/straight/build-29/org/ob-ditaa hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-ditaa /home/naofumi/.emacs.d/straight/build-29/org/ob-js hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-js /home/naofumi/.emacs.d/straight/build-29/org/ob-css hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-css /home/naofumi/.emacs.d/straight/build-29/org/ob-calc hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-calc /home/naofumi/.emacs.d/straight/build-29/org/ob-R hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-R /home/naofumi/.emacs.d/straight/build-29/org/ob-C hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-C /home/naofumi/.emacs.d/straight/build-29/org/ob-dot hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/ob-dot /home/naofumi/.emacs.d/straight/build-29/org/org-version hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/org/org-version /home/naofumi/.emacs.d/straight/build-29/let-alist/let-alist hides /home/naofumi/.local/emacs/emacs-29/share/emacs/29.0.60/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug dired-aux vc-hg vc-git vc-bzr vc-src vc-sccs vc-cvs vc-rcs gnus-dired vertico-directory cursor-sensor vertico-repeat pulse help-fns consult-xref affe consult-vertico consult compat-28 magit-bookmark bookmark mule-util cape org-duration org-clock diary-lib diary-loaddefs org-eldoc org-superstar toc-org org-indent org-num oc-basic vc-svn face-remap editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch skk-cursor ccc skk-sticky skk-dcomp skk-comp skk-look skk-server skk-study skk-hint skk-cus skk-emacs skk-macs skk-vars skk delsel so-long recentf-ext recentf tree-widget whitespace winner diff-hl-flydiff diff-hl-margin diff-hl-dired diff-hl log-view vc-dir pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util cus-start yasnippet marginalia vertico savehist corfu-history corfu-indexed corfu-terminal win-switch windmove disable-mouse which-key doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons shrink-path f f-shortdoc shortdoc doom-tomorrow-night-theme doom-themes doom-themes-base doom-themes-autoloads base16-tomorrow-night-theme base16-theme base16-theme-autoloads doom-modeline-autoloads shrink-path-autoloads all-the-icons-autoloads vlf-setup vlf-autoloads helpful-autoloads elisp-refs-autoloads which-key-autoloads disable-mouse-autoloads multiple-cursors-autoloads shell-pop term disp-table ehelp shell-pop-autoloads win-switch-autoloads w3m-autoloads multi-vterm-autoloads vterm-autoloads multi-term-autoloads ace-link avy ace-link-autoloads ace-jump-buffer-autoloads affe-autoloads cape-autoloads kind-icon svg-lib kind-icon-autoloads svg-lib-autoloads corfu-terminal-autoloads popon popon-autoloads corfu-quick corfu-info corfu corfu-autoloads vertico-autoloads orderless orderless-autoloads embark-consult-autoloads embark-autoloads consult-yasnippet-autoloads consult-lsp-autoloads consult-eglot-autoloads consult-dir-autoloads consult-ag-autoloads consult-autoloads marginalia-autoloads migemo migemo-autoloads visual-regexp-steroids-autoloads visual-regexp-autoloads symbol-overlay-autoloads wgrep-ag-autoloads ag-autoloads rg files-x vc vc-dispatcher rg-info-hack rg-menu rg-ibuffer rg-result wgrep-rg wgrep rg-history rg-header cus-edit cus-load rg-autoloads wgrep-autoloads smart-jump-python smart-jump-lisp-mode smart-jump-elisp-mode smart-jump-cc-mode smart-jump smart-jump-autoloads dumb-jump popup hydra lv dumb-jump-autoloads popup-autoloads dap-mode-autoloads lsp-docker-autoloads lsp-treemacs-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads hydra-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads bui-autoloads lsp-mode-autoloads lv-autoloads ht-autoloads eglot array jsonrpc ert pp ewoc xref flymake-proc flymake imenu-list-autoloads yasnippet-autoloads devdocs-autoloads android-mode-autoloads grip-mode-autoloads markdown-preview-mode-autoloads web-server-autoloads markdown-toc-autoloads gradle-mode-autoloads ninja-mode-autoloads meson-mode-autoloads cmake-mode-autoloads powershell-autoloads csv-mode-autoloads toml-mode-autoloads yaml-mode-autoloads groovy-mode-autoloads kotlin-mode-autoloads rng-nxml rng-valid nxml-mode nxml-outln nxml-rap sgml-mode facemenu web-mode-autoloads go-mode-autoloads rustic-autoloads xterm-color-autoloads spinner-autoloads rust-mode-autoloads haskell-mode-autoloads ein-autoloads polymode-autoloads deferred-autoloads request-autoloads anaphora-autoloads websocket-autoloads pipenv-autoloads load-env-vars-autoloads pyvenv-autoloads slime-autoloads macrostep-autoloads editorconfig-autoloads org-projectile s projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs org-category-capture org-capture org-projectile-autoloads org-category-capture-autoloads projectile-autoloads git-timemachine-autoloads git-modes-autoloads diff-hl-autoloads orgit-forge orgit-forge-autoloads forge-list forge-commands forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea forge-gitlab glab forge-github ghub-graphql treepy gsexp ghub let-alist forge-notify forge-revnote forge-pullreq forge-issue forge-topic yaml bug-reference forge-post markdown-mode color forge-repo forge forge-core forge-db closql emacsql-sqlite advice emacsql emacsql-compiler forge-autoloads yaml-autoloads markdown-mode-autoloads ghub-autoloads treepy-autoloads let-alist-autoloads orgit orgit-autoloads magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu edebug debug backtrace magit-diff smerge-mode diff diff-mode git-commit log-edit pcvs-util add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor magit-mode magit-git magit-base magit-section crm compat-27 compat-26 magit-autoloads transient git-commit-autoloads transient-autoloads nhexl-mode-autoloads mu4e-maildirs-extension-autoloads mu4e-autoloads notmuch-autoloads ob-plantuml plantuml-mode dash plantuml-mode-autoloads ox-gfm ox-md ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox ox-gfm-autoloads org-tree-slide-autoloads toc-org-autoloads org-roam-autoloads magit-section-autoloads org-download org-element org-persist avl-tree generator org-attach org-id org-refile url-http url-auth url-gw nsm async org-download-autoloads async-autoloads org-superstar-autoloads ob-shell shell ob-screen ob-python python project compat compat-macs treesit ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util text-property-search mail-utils range mm-util mail-prsvr wid-edit ol-docview doc-view filenotify jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi org-tempo tempo org-contrib org-contrib-autoloads org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func org-version org-compat org-macs format-spec japanese-holidays holidays holiday-loaddefs japanese-holidays-autoloads cal-iso cal-menu calendar cal-loaddefs pass-autoloads f-autoloads dash-autoloads password-store-otp-autoloads password-store-autoloads with-editor-autoloads s-autoloads auth-source-pass epg-config sr-speedbar-autoloads recentf-ext-autoloads cua-base dabbrev repeat ddskk-autoloads cdb-autoloads ccc-autoloads edmacro kmacro exec-path-from-shell exec-path-from-shell-autoloads finder-inf epkg-autoloads closql-autoloads emacsql-sqlite-autoloads emacsql-autoloads package-utils package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core password-cache json map url-vars package-utils-autoloads restart-emacs desktop frameset server restart-emacs-autoloads use-package-chords bind-chord use-package-chords-autoloads bind-chord-autoloads key-chord comp comp-cstr warnings icons rx key-chord-autoloads diminish diminish-autoloads compat-autoloads use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key use-package-core use-package-autoloads bind-key-autoloads straight-x straight-autoloads cl-extra help-mode straight info loaddefs-gen generate-lisp-file lisp-mnt radix-tree easy-mmode cl-seq pcase subr-x byte-opt cl-macs gv bytecomp byte-compile cl-loaddefs cl-lib japan-util rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 920456 723010) (symbols 48 63625 3) (strings 32 228522 94343) (string-bytes 1 9309551) (vectors 16 131121) (vector-slots 8 2921605 956589) (floats 8 1490 3522) (intervals 56 15797 723) (buffers 992 43))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Naofumi Yasufuku <naofumi@HIDDEN> Subject: bug#59813: Acknowledgement (29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled) Message-ID: <handler.59813.B.16701470783591.ack <at> debbugs.gnu.org> References: <86fsdvmrkf.fsf@HIDDEN> X-Gnu-PR-Message: ack 59813 X-Gnu-PR-Package: emacs Reply-To: 59813 <at> debbugs.gnu.org Date: Sun, 04 Dec 2022 09:45:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 59813 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 59813: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59813 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 13 Dec 2022 01:21:02 +0000 Resent-Message-ID: <handler.59813.B59813.167089445423814 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Naofumi Yasufuku <naofumi@HIDDEN> Cc: 59813 <at> debbugs.gnu.org Received: via spool by 59813-submit <at> debbugs.gnu.org id=B59813.167089445423814 (code B ref 59813); Tue, 13 Dec 2022 01:21:02 +0000 Received: (at 59813) by debbugs.gnu.org; 13 Dec 2022 01:20:54 +0000 Received: from localhost ([127.0.0.1]:56868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p4tyY-0006C2-Fp for submit <at> debbugs.gnu.org; Mon, 12 Dec 2022 20:20:54 -0500 Received: from mail-oa1-f41.google.com ([209.85.160.41]:44657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1p4tyW-0006Bp-DH for 59813 <at> debbugs.gnu.org; Mon, 12 Dec 2022 20:20:52 -0500 Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-1447c7aa004so10705565fac.11 for <59813 <at> debbugs.gnu.org>; Mon, 12 Dec 2022 17:20:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=CyoAKgYxdwu2Y7pbQw4+u+oDiVQ/tixitWT9mDpKT1s=; b=cPN+UoEs2LdVN3Aea8pfDgi7xPs+8z7II//Q9XYBQEgnzxq7trPdRBlbbr1IKw9+mY HwgNNbzF4aOuqAm5a2ucOh5Lkd76pC0j3QurZiWYxN7GrXl1VEAIioiIibWA4qxd6aa7 Ez3aMfH4UFr/p6WPq2sDHXCnUM6IqUgtzRMv2mvtbb1wLltkp7hSLIwOIJKYUidsKpbG LLNrElTEhHPTIYJvNDs1b62V47DyszltCeFCPs22xNS4tDT3LwmssJyPUA0pfsPR3Nli vQ+Bp9oLFuJcWBu78Um0WdZAa2qmg4XkoWMWaMvMhgwilPkBn2dA3v0iczC56jHJCOwg FwIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CyoAKgYxdwu2Y7pbQw4+u+oDiVQ/tixitWT9mDpKT1s=; b=cDJBVddHoDXgEZ0R3UB+sUAKYLW5civb5KSHCKq2Wqcz2X/BS7GfXI6S3evm7o2EhD HGbKvZfdhVTBEp4qPl6b/K5BQuuM+/CQY00x0w/Cjvynd8zN7FuDyZS4Bmbdr9Qu8Bzg sDBxo+kMdTUOEhaaEwOAplsKTGlbVc8sO4BFcnIfe3vJCmU2uL87RKuL+Vr+ZodqAGgn +HrARSSg3zHd1j70uaDNh6mzAP4A3VBFMuQZQfemnHzP78p0JKmusCIiFdfmvXjUwvHA OOEOUoH8CBZ8rHuP2hwVOX8ZnOAV9vYGEnWGRC9QkFOsn/5JBqtJB7+PrgVhklZbskXd bsfA== X-Gm-Message-State: ANoB5pnmA8pteKPRTsJU79i6GVy2GAph6yOcV4c/8s2//r/2IFHXd0wJ KdEZPJdc2JPM8PqzDUviQr6QyJDcosZUkygHWwxOo0Ed X-Google-Smtp-Source: AA0mqf4QSvUPJtOHbQa6k+22W5Ei6DxQ1r7mOE9/U46GNtwmeT2bY6MWUHXFIZHcp/BR/NDn7EwJBZeyRbKqCaJpjtY= X-Received: by 2002:a05:6871:4586:b0:148:28c1:3d46 with SMTP id nl6-20020a056871458600b0014828c13d46mr83084oab.199.1670894446980; Mon, 12 Dec 2022 17:20:46 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 12 Dec 2022 17:20:46 -0800 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <86fsdvmrkf.fsf@HIDDEN> (Naofumi Yasufuku's message of "Sun, 04 Dec 2022 18:44:16 +0900") References: <86fsdvmrkf.fsf@HIDDEN> X-Hashcash: 1:20:221213:59813 <at> debbugs.gnu.org::1lBsL9/CMQ/WjqyV:9x8b MIME-Version: 1.0 Date: Mon, 12 Dec 2022 17:20:46 -0800 Message-ID: <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Naofumi Yasufuku <naofumi@HIDDEN> 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.
Received: (at control) by debbugs.gnu.org; 13 Dec 2022 01:20:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 12 20:20:07 2022 Received: from localhost ([127.0.0.1]:56840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p4txn-00069y-Aa for submit <at> debbugs.gnu.org; Mon, 12 Dec 2022 20:20:07 -0500 Received: from mail-oa1-f42.google.com ([209.85.160.42]:44578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1p4txl-00069E-OY for control <at> debbugs.gnu.org; Mon, 12 Dec 2022 20:20:06 -0500 Received: by mail-oa1-f42.google.com with SMTP id 586e51a60fabf-1447c7aa004so10703677fac.11 for <control <at> debbugs.gnu.org>; Mon, 12 Dec 2022 17:20:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=zhOaMzm2TkMYgCWwSyXJQnYR5nc8Z0bh8c2Omsg/WsA=; b=A4r6fdJNBqriBxyb9X0B7tBMImm0ETPQht/kPkkPf+FBDfTwH6l1KZWH4suJrtPvOc wPLEyMnI2HExFo6C5uLlhQOsXpGFbNRgY8dFRNc36vo/iOwU7oBcfbgIiptpGAiN9M/8 gNa9V4xO75yI6Blg7pmcQ5HpAOthMEfbo+wvU7gn32eSUPnojVV73crRxD2bwp9pwNs2 HtRlweeX1wjRWMqHp6IBfhLVVQ5lrdenxiN6cGvOVPlnwFcaXF+UJ3qY0nTJn78yegGi /WAkD+Y24NVWOW+LcCc+PP819V312eJ9XeXlktsjPa6W/jFLjJBw3Hpd7ps7/c4Utzyc UJag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zhOaMzm2TkMYgCWwSyXJQnYR5nc8Z0bh8c2Omsg/WsA=; b=j++MmXBoOrUQVvlixHVruZR1kZXkko9eTuxmhTiRxrWKGL6JZDZJpTm27vneWwuvwq 0GfqdkxHCy0dLhKfSTgfdLbvDxw4fGaCmBY1bL6vZ9fk2M++6BlFJUQViTYISDzICZPI goz3PoZ5v+pkAlvESDSff6YUJdFy1ZGeStRulT1gl5ZsV+s7+tjhdOYtxnJlzgE98+Lh CPbf1OoXrOSmx9YWfdM4gH2yQPPIWKC/vJ4h7i474JcdK83VVk00GjTvp186Uh3wWoC5 Z8IY9son8CPeVl9uQ7Lx469D19NT+KHxBeKghQfrfBcTlxc4FG/7eIXDQF6WEPpzoE1B BD/w== X-Gm-Message-State: ANoB5pkEZcD8TWVG/Lh0zzUK5iLdQddFI5ZvM3AZpEsoFpNw515cWeao KPTgkaOrDQ0Ppaq7A3TgtyD0ZVhZ1md26IvHgt4Hirig X-Google-Smtp-Source: AA0mqf445ToSES32QmM7WCtAoUfnGH/6+puXBBpdSNVBum8k43fBFcBvk65nIM2XB5rFREWPP5Kh5Bf7YRwxynuyZzg= X-Received: by 2002:a05:6871:4586:b0:148:28c1:3d46 with SMTP id nl6-20020a056871458600b0014828c13d46mr82953oab.199.1670894400222; Mon, 12 Dec 2022 17:20:00 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 12 Dec 2022 17:19:59 -0800 From: Stefan Kangas <stefankangas@HIDDEN> X-Hashcash: 1:20:221213:control <at> debbugs.gnu.org::ywCutibGOGg25AuV:8OLs MIME-Version: 1.0 Date: Mon, 12 Dec 2022 17:19:59 -0800 Message-ID: <CADwFkmkydOJ8EWZrhBezVJTtUPRtxV0_7jNvOdqP76Uu7c-2NQ@HIDDEN> Subject: control message for bug #59813 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 59813 + moreinfo quit
X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Naofumi Yasufuku <naofumi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 13 Dec 2022 20:21:03 +0000 Resent-Message-ID: <handler.59813.B59813.167096283926980 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Stefan Kangas <stefankangas@HIDDEN> Cc: 59813 <at> debbugs.gnu.org Received: via spool by 59813-submit <at> debbugs.gnu.org id=B59813.167096283926980 (code B ref 59813); Tue, 13 Dec 2022 20:21:03 +0000 Received: (at 59813) by debbugs.gnu.org; 13 Dec 2022 20:20:39 +0000 Received: from localhost ([127.0.0.1]:34418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5BlX-000716-0C for submit <at> debbugs.gnu.org; Tue, 13 Dec 2022 15:20:39 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:56595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <naofumi@HIDDEN>) id 1p5BlU-000710-Q5 for 59813 <at> debbugs.gnu.org; Tue, 13 Dec 2022 15:20:38 -0500 Received: (Authenticated sender: naofumi@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id 4F46560003; Tue, 13 Dec 2022 20:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1670962830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=y9H+obmUcKznI6PlynPh8X9LZnxZZkP35h7YR4ziOWg=; b=fAPuCKLlaoQO6/2gXwsP4vyiusdu9eieNKGQYhKudSBs4XIQPwavwe1JIlcngONYIbxFts 1xeaUhSvnpIu2k+OjrB0cBcY3NBqse883D6kcv6fkSMaGT7aD5yLCv3gx3qqyHXWPSeKRD bPj7Tk5ScfG2cNAP/I0GRM9UK0GhPeQj9UGgKApQjxL6CrHOTMC7nBb3YWL886oGiaPCdk +4BAEiu5kAM4urOiWWPG8sWCdZNQLcpVo0rrLCwaNI43U0KQbV7WUKd8BOj9Ye9jRCfdx1 Nbo/dMpCheDs7ZGKtgIleVV7jo9/tIn+x0KejHG25iCaPN/ps6IXDYhLkvalGw== From: Naofumi Yasufuku <naofumi@HIDDEN> In-Reply-To: <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> References: <86fsdvmrkf.fsf@HIDDEN> <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> Date: Wed, 14 Dec 2022 05:20:20 +0900 Message-ID: <86r0x312ez.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hello Stefan, Stefan Kangas <stefankangas@HIDDEN> writes: >> >> 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? > I thought that it could be an issue of Emacs-side because: a) What straight.el does is just `eval' of autoload forms; b) M-. failure is reproducible without straight.el; c) Autoloading itself works fine even if autoload forms are evaluated without `load'; d) It works well with Emacs <= 28; > Did you report this to the straight developers first? > No, I didn't. But the following Github issue might be the same: C-h f for some functions link to the loading file instead of their source file: https://github.com/radian-software/straight.el/issues/1022 I tried to find more simple recipe. Could you try this with emacs-29 or master? ---------------------------------------- 1. Create the following file ~/.emacs.d/site-lisp/loadhist--foo.el #+begin_src emacs-lisp (defun loadhist--foo-inc (x) (1+ x)) (provide 'loadhist--foo) #+end_src ---------------------------------------- 2. emacs -Q ---------------------------------------- 3. Insert the following to *scratch* #+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 ---------------------------------------- 4. In *scratch*, M-x eval-buffer ---------------------------------------- 5. M-. on `loadhist--foo-inc' => xref--not-found-error: No definitions found for: loadhist--foo-inc ---------------------------------------- 6. In *scratch*, M-x eval-buffer again ---------------------------------------- 5. M-. on `loadhist--foo-inc' => Jumps to defun in ~/.emacs.d/site-lisp/loadhist--foo.el ---------------------------------------- Best regards, Naofumi
X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 13 Dec 2022 21:31:02 +0000 Resent-Message-ID: <handler.59813.B59813.167096701532328 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Naofumi Yasufuku <naofumi@HIDDEN> Cc: 59813 <at> debbugs.gnu.org Received: via spool by 59813-submit <at> debbugs.gnu.org id=B59813.167096701532328 (code B ref 59813); Tue, 13 Dec 2022 21:31:02 +0000 Received: (at 59813) by debbugs.gnu.org; 13 Dec 2022 21:30:15 +0000 Received: from localhost ([127.0.0.1]:34753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5Cqt-0008Ok-4K for submit <at> debbugs.gnu.org; Tue, 13 Dec 2022 16:30:15 -0500 Received: from mail-oa1-f54.google.com ([209.85.160.54]:37793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1p5Cqr-0007xd-11 for 59813 <at> debbugs.gnu.org; Tue, 13 Dec 2022 16:30:14 -0500 Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-12c8312131fso14223520fac.4 for <59813 <at> debbugs.gnu.org>; Tue, 13 Dec 2022 13:30:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=y0ImR2SWxVo1mJrbK540klXu1VYERCzpbYDlWyPtumY=; b=ADyg2CBBiBQqJgOz52Zh/B/5iNWNU9FTCcbJliwSbNPvxHt3m/z1TUmxf4j9Yo5YIW 6MLrOJrgxAZ07fpRimJAYTUjOKl9CaD7gZETulON9LNGvx7Pj86eVT2g4PT4YsgetqKs cgZM+IbTA1arPv5FMH6FzeA7vcptS0DzGWoaDiJToUfhNjHFvNLl241W5SIO1B2i63ze paHFCT5/9elQqXqA5Ft5bD4uY3xPcmEOfiN8ZrHW9wJLojjVlaZ5MbkxZq4FhcfQMLT1 qy5GfrEMCtcxIQzE3Gew70s6vnQlB0W9LGIpjqgFOorcR++SE2MKhBZFPXsTGQ0IJ5Wm rq9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y0ImR2SWxVo1mJrbK540klXu1VYERCzpbYDlWyPtumY=; b=UE0oTJJyW4BNc06MkIFDikiodqDWl5PlLWRqwq2YYSPGAHkcMHnzJ3BgdI6bjEDNbc zpP2qexUuhRg94++c5y53B6jJu2Iga4fd6Bac747L2/sPAas8NMvcL1yJHNBH0kCqgE+ pI0kFlgAT+0DWgZoPmdg1biKKperTm3VJ5sztjx4+hPYbWuKtnDomY4u9XJbeI7r9rmZ TgWzDvWGDdJoir0I3WFeOI8DGfHvApXfWsieaCtgXoJoOsIlvIWmyAOU3pKS/qS0vKnE VBu9fTufmtA2xbLgaKarYbrOs0NQjf3o/UoMaCwwH0h/5uLiczZaA1yvpqWgwee4EZEp EoVw== X-Gm-Message-State: AFqh2kpOYQ/ulIq6kUIsJ5ieryewzMw4J/d7CpgKjOPdwusUgzlYVycT Rq1Cxg3sqqTYXE5PyPLBSbwtiBaZEP6YNjyVZbM= X-Google-Smtp-Source: AMrXdXsOjC2g+1b437O40mzsqv9vN2lAPypJ2sRrCdSh9qWVt956jVAdF7rn8dx84WF+7jHQ9LZD+zxJEq5KZ818CLU= X-Received: by 2002:a05:6870:3853:b0:148:28c1:3d46 with SMTP id z19-20020a056870385300b0014828c13d46mr12699oal.199.1670967007275; Tue, 13 Dec 2022 13:30:07 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 13 Dec 2022 13:30:06 -0800 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <86r0x312ez.fsf@HIDDEN> References: <86fsdvmrkf.fsf@HIDDEN> <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> <86r0x312ez.fsf@HIDDEN> X-Hashcash: 1:20:221213:naofumi@HIDDEN::ZFc4jwM+0tyktGLC:04c2 MIME-Version: 1.0 Date: Tue, 13 Dec 2022 13:30:06 -0800 Message-ID: <CADwFkmk-UzARCHopQj1YB+OD9Gy_8M4wpR2MX4zcrRgKN2xddQ@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 59813 + confirm found 59813 30.0.50 thanks Naofumi Yasufuku <naofumi@HIDDEN> writes: > ---------------------------------------- > 1. Create the following file > > ~/.emacs.d/site-lisp/loadhist--foo.el > > #+begin_src emacs-lisp > (defun loadhist--foo-inc (x) (1+ x)) > (provide 'loadhist--foo) > #+end_src > > ---------------------------------------- > 2. emacs -Q > > ---------------------------------------- > 3. Insert the following to *scratch* > > #+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 > > ---------------------------------------- > 4. In *scratch*, M-x eval-buffer > > ---------------------------------------- > 5. M-. on `loadhist--foo-inc' > => > xref--not-found-error: No definitions found for: loadhist--foo-inc Thanks for the clear recipe. 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'? Something definitely seems wrong with the autoloading and/or xref here.
Received: (at control) by debbugs.gnu.org; 13 Dec 2022 21:30:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 13 16:30:15 2022 Received: from localhost ([127.0.0.1]:34751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5Cqs-0008NE-Ma for submit <at> debbugs.gnu.org; Tue, 13 Dec 2022 16:30:15 -0500 Received: from mail-oa1-f43.google.com ([209.85.160.43]:36850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1p5Cqq-0007xm-W8 for control <at> debbugs.gnu.org; Tue, 13 Dec 2022 16:30:13 -0500 Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-14449b7814bso14213302fac.3 for <control <at> debbugs.gnu.org>; Tue, 13 Dec 2022 13:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=y0ImR2SWxVo1mJrbK540klXu1VYERCzpbYDlWyPtumY=; b=ADyg2CBBiBQqJgOz52Zh/B/5iNWNU9FTCcbJliwSbNPvxHt3m/z1TUmxf4j9Yo5YIW 6MLrOJrgxAZ07fpRimJAYTUjOKl9CaD7gZETulON9LNGvx7Pj86eVT2g4PT4YsgetqKs cgZM+IbTA1arPv5FMH6FzeA7vcptS0DzGWoaDiJToUfhNjHFvNLl241W5SIO1B2i63ze paHFCT5/9elQqXqA5Ft5bD4uY3xPcmEOfiN8ZrHW9wJLojjVlaZ5MbkxZq4FhcfQMLT1 qy5GfrEMCtcxIQzE3Gew70s6vnQlB0W9LGIpjqgFOorcR++SE2MKhBZFPXsTGQ0IJ5Wm rq9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y0ImR2SWxVo1mJrbK540klXu1VYERCzpbYDlWyPtumY=; b=VvR7Em1Rezib2eVAXEBAP/+8t4KVXIUbfU2wTwqjG/ulZ3wY9V2TK522ym4+sKqnQx Ml/nH1JkCSReq/51xWjd+yHgzLfAPUZTzQKdyV8FJp0/EHY4w2/gaKhgFLSn+P42Z+bq Qr231I3LxkinFDHSqzRLifD/Uv71UKGLX+3hvqHlfE1+KuhGUbMgfLbCTrjosRQYb2r8 87IKIOXNNRYvRv6zp2NJNYIKWC4Q2oazr4Qzlbsa5xjIIrPBwlzCQ1ftehQvx52l/vQi HVe1K6NSaRKiZ+r6lBazxjIoHkGaL37JZ4QUCv6Y6SBiqymAzDXvPAQb59AEkXA+B5qM pR6g== X-Gm-Message-State: AFqh2kqmHWAC91pfYmMwDpkprzx9M6QK1MAPnGyzgSRzZMauBdjM12Hr 4m5arWwOfNT2U2YKrYpRAA4xz9Ci2BsLJoUcFY1KLwiN X-Google-Smtp-Source: AMrXdXsOjC2g+1b437O40mzsqv9vN2lAPypJ2sRrCdSh9qWVt956jVAdF7rn8dx84WF+7jHQ9LZD+zxJEq5KZ818CLU= X-Received: by 2002:a05:6870:3853:b0:148:28c1:3d46 with SMTP id z19-20020a056870385300b0014828c13d46mr12699oal.199.1670967007275; Tue, 13 Dec 2022 13:30:07 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 13 Dec 2022 13:30:06 -0800 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <86r0x312ez.fsf@HIDDEN> References: <86fsdvmrkf.fsf@HIDDEN> <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> <86r0x312ez.fsf@HIDDEN> X-Hashcash: 1:20:221213:naofumi@HIDDEN::ZFc4jwM+0tyktGLC:04c2 MIME-Version: 1.0 Date: Tue, 13 Dec 2022 13:30:06 -0800 Message-ID: <CADwFkmk-UzARCHopQj1YB+OD9Gy_8M4wpR2MX4zcrRgKN2xddQ@HIDDEN> Subject: Re: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled To: Naofumi Yasufuku <naofumi@HIDDEN> Content-Type: text/plain; charset="UTF-8" Bcc: control <at> debbugs.gnu.org X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 59813 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 59813 + confirm found 59813 30.0.50 thanks Naofumi Yasufuku <naofumi@HIDDEN> writes: > ---------------------------------------- > 1. Create the following file > > ~/.emacs.d/site-lisp/loadhist--foo.el > > #+begin_src emacs-lisp > (defun loadhist--foo-inc (x) (1+ x)) > (provide 'loadhist--foo) > #+end_src > > ---------------------------------------- > 2. emacs -Q > > ---------------------------------------- > 3. Insert the following to *scratch* > > #+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 > > ---------------------------------------- > 4. In *scratch*, M-x eval-buffer > > ---------------------------------------- > 5. M-. on `loadhist--foo-inc' > => > xref--not-found-error: No definitions found for: loadhist--foo-inc Thanks for the clear recipe. 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'? Something definitely seems wrong with the autoloading and/or xref here.
Received: (at control) by debbugs.gnu.org; 13 Dec 2022 22:16:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 13 17:16:32 2022 Received: from localhost ([127.0.0.1]:34962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5DZf-0004C5-U4 for submit <at> debbugs.gnu.org; Tue, 13 Dec 2022 17:16:32 -0500 Received: from mail-oa1-f45.google.com ([209.85.160.45]:41941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1p5DZd-0004Bw-WD for control <at> debbugs.gnu.org; Tue, 13 Dec 2022 17:16:30 -0500 Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-1441d7d40c6so14335690fac.8 for <control <at> debbugs.gnu.org>; Tue, 13 Dec 2022 14:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=e+ki9FqE+PrOhbSu0aoroKchXrDqoyEMzO7lQjd/9x4=; b=ZtNUrdwvRa02RguEt7MO9ryny876tgFM1nRF4To5tnVAWIOul5aHkveVhRIgqenpeg 5eUFhqN5idbB6afvvDAp4dgI/V1+BER0/P8BK21FhYhwArog2E+6f2nUZg6nn0Ob5TnT Ad4VjMuNPpqBcFIV6Q5nuQdn4IqyJXEefzFWAOWCNVzC69nD1/lgjIxhSFYvQgVBOcnp pOMgBcqBMHjJgyOfHFYa8cyNd1hHQUOwfW+KsJ/DFHapfHMpKX/qc6IRAcNOux/8kFWj W0AEZWlFeljZJ6F9L8Fn60cw21yMBnXZj6r3kjZvCHNPq87f+5KGFnQvo/LPOixEvg8I yIog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=e+ki9FqE+PrOhbSu0aoroKchXrDqoyEMzO7lQjd/9x4=; b=P6+d7kTmo7QYFrrSs4DLh68awFC1+xCMg017017/L74ZVo2/9EL0h5b4COLYJ6H1e6 rA4GqT+Av+2XHGBLOD41PEXNMe3hTE9h/Vl9psBLe6Zw2SV+5skbVppaIpTsyL/ON1cc KSciqIAE3PTIpMuZ3uQbsFJvyJRFwWUA50KKdhZV6ITrtZFd/fbe5cVLyEmXIRodCrk3 aw6mtd4V0UAUep2A2HJwvcNgbxczvA6mY3v2uo1f38NZl50NM4O+s+JTAuWTj5be75ia C5qW9HDs4Qd8yhBPtYhdkNONWPK/pSelGMdqnq1xLuZlnTJiFiQpwJuLoMWju8P3r/FV GSIA== X-Gm-Message-State: AFqh2kr79Bf7qe5RlhFmBMWls9mlrM/VwONKbAqGW91FM5+tR+DmKrrb QzcgtqWeCDdLyaW/UY37sq39Bzc8nU1R/vkUJfvz46Aj X-Google-Smtp-Source: AMrXdXtXnbR+JXoLANfHrGZZC8ot8GnSlfyl4GiJkbrTjTNyUcEDhVQWmOoud5fXF0hGnghLHuDTzTH9ctkQK44usGQ= X-Received: by 2002:a05:6870:311:b0:145:3a7:99c with SMTP id m17-20020a056870031100b0014503a7099cmr22907oaf.92.1670969784066; Tue, 13 Dec 2022 14:16:24 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 13 Dec 2022 14:16:23 -0800 From: Stefan Kangas <stefankangas@HIDDEN> X-Hashcash: 1:20:221213:control <at> debbugs.gnu.org::Rmndavh8UqUyRa6M:0p/7 MIME-Version: 1.0 Date: Tue, 13 Dec 2022 14:16:23 -0800 Message-ID: <CADwFkmnmJka=L7zKt+qmpoR2=FxOxBVkyQqb_h-egdFz95ydMQ@HIDDEN> Subject: To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 59813 + confirmed thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.160.45 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.160.45 listed in list.dnswl.org] 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) tags 59813 + confirmed thanks
X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 14 Dec 2022 03:27:01 +0000 Resent-Message-ID: <handler.59813.B59813.16709883824000 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed moreinfo To: Naofumi Yasufuku <naofumi@HIDDEN> Cc: 59813 <at> debbugs.gnu.org, stefankangas@HIDDEN Received: via spool by 59813-submit <at> debbugs.gnu.org id=B59813.16709883824000 (code B ref 59813); Wed, 14 Dec 2022 03:27:01 +0000 Received: (at 59813) by debbugs.gnu.org; 14 Dec 2022 03:26:22 +0000 Received: from localhost ([127.0.0.1]:36303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5IPV-00012S-Pf for submit <at> debbugs.gnu.org; Tue, 13 Dec 2022 22:26:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1p5IPT-00012M-Nu for 59813 <at> debbugs.gnu.org; Tue, 13 Dec 2022 22:26:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1p5IPO-0007q9-7R; Tue, 13 Dec 2022 22:26:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/+t2DgjIQynunfn6quds4BBorAfVIDuVcwGZJY6etJg=; b=hm/Eg6WnKArH TLSeUa6F9/U/4mICObk5Oc5XnNjX0zbaSjPR5NilB8izO7/pssjth9fuA1Diu1Bxf/Svw533MliDd WPIhbahlEl8xZuWDtIRVC0xfN0t74q/fTSqgV4S4e+T+oQlnlubqUZ32UnYoYhDCZwIVs+EUcdm/j iYC9Qjn+8M6MPOOKcjRv0qJV47sgvWfxmm7DHaxWk/L6C1M8HszbHRE6mKVRQYWWi7RvYfZPG8Trk ZARtHYWPMlET5FQNjahBvNOc79FiYeVzUr1//qeUUq8074k5YzdNSpHtT54LAX9PgS8inffgmlrIj I3C/tbeWvr6c3wQW9THQQw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1p5IPN-0005a3-Ge; Tue, 13 Dec 2022 22:26:13 -0500 Date: Wed, 14 Dec 2022 05:26:18 +0200 Message-Id: <83h6xyoecl.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <86r0x312ez.fsf@HIDDEN> (message from Naofumi Yasufuku on Wed, 14 Dec 2022 05:20:20 +0900) References: <86fsdvmrkf.fsf@HIDDEN> <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> <86r0x312ez.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 59813 <at> debbugs.gnu.org > From: Naofumi Yasufuku <naofumi@HIDDEN> > Date: Wed, 14 Dec 2022 05:20:20 +0900 > > 1. Create the following file > > ~/.emacs.d/site-lisp/loadhist--foo.el > > #+begin_src emacs-lisp > (defun loadhist--foo-inc (x) (1+ x)) > (provide 'loadhist--foo) > #+end_src > > ---------------------------------------- > 2. emacs -Q > > ---------------------------------------- > 3. Insert the following to *scratch* > > #+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 > > ---------------------------------------- > 4. In *scratch*, M-x eval-buffer > > ---------------------------------------- > 5. M-. on `loadhist--foo-inc' > => > xref--not-found-error: No definitions found for: loadhist--foo-inc > > ---------------------------------------- > 6. In *scratch*, M-x eval-buffer again > > ---------------------------------------- > 5. M-. on `loadhist--foo-inc' > => > Jumps to defun in ~/.emacs.d/site-lisp/loadhist--foo.el I'm not sure I understand the issue, and I'm not familiar with straight.el, but if the above somehow prevents the function from being loaded, it is expected that M-. will fail. Its ELisp backend works only for loaded functions. If you want it to work for functions that aren't loaded, you need to manually switch the backend to etags. So if the above scenario worked with Emacs 28, I suggest to check whether the function was being loaded with Emacs 28.
X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Naofumi Yasufuku <naofumi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 14 Dec 2022 17:24:02 +0000 Resent-Message-ID: <handler.59813.B59813.167103862621402 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed moreinfo To: Stefan Kangas <stefankangas@HIDDEN> Cc: 59813 <at> debbugs.gnu.org Received: via spool by 59813-submit <at> debbugs.gnu.org id=B59813.167103862621402 (code B ref 59813); Wed, 14 Dec 2022 17:24:02 +0000 Received: (at 59813) by debbugs.gnu.org; 14 Dec 2022 17:23:46 +0000 Received: from localhost ([127.0.0.1]:40528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5VTu-0005Z8-Ir for submit <at> debbugs.gnu.org; Wed, 14 Dec 2022 12:23:46 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:44911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <naofumi@HIDDEN>) id 1p5VTr-0005Yz-8V for 59813 <at> debbugs.gnu.org; Wed, 14 Dec 2022 12:23:44 -0500 Received: (Authenticated sender: naofumi@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id BCB60C0007; Wed, 14 Dec 2022 17:23:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1671038616; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=f+rPijJwW54dehIR+x4GNPW2i6ywEpL+ddS8VblrqGk=; b=Mg0lXlVxl/a9EfaS0FYPIrTkJofN6YhBaoBELeiz9CMbb5CsM6JjLwcyFxnbiKgIIg1VFa GhjY9998QIbHIzsrhOU2t6emB92BYnJUyJi1PbSAc/xLVJTsr1HT8Ib54BZhTOW1bugqUl Y/vPY1TmdFaQVY/q7UOkWBHWNLUZJ865RU+Nlxd6ooeAhvzKkY/QZskFUzjslrR8SSYrn9 tBGjaOyyE790TQ5YGGIXfrvaFXgldQxKzTIlJiXODssH3q9yQM8OlWPModCraODyjstS5V +qkKKl9QyVwfxSshn9+vhaOtZ/9emyuNuTiu95rGSyjr5fKfvq8N2OguNulLnQ== From: Naofumi Yasufuku <naofumi@HIDDEN> In-Reply-To: <CADwFkmk-UzARCHopQj1YB+OD9Gy_8M4wpR2MX4zcrRgKN2xddQ@HIDDEN> References: <86fsdvmrkf.fsf@HIDDEN> <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> <86r0x312ez.fsf@HIDDEN> <CADwFkmk-UzARCHopQj1YB+OD9Gy_8M4wpR2MX4zcrRgKN2xddQ@HIDDEN> Date: Thu, 15 Dec 2022 02:23:28 +0900 Message-ID: <86edt1292n.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hi Stefan, Stefan Kangas <stefankangas@HIDDEN> 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
X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Naofumi Yasufuku <naofumi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 14 Dec 2022 17:25:01 +0000 Resent-Message-ID: <handler.59813.B59813.167103865221457 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed moreinfo To: Eli Zaretskii <eliz@HIDDEN> Cc: 59813 <at> debbugs.gnu.org, stefankangas@HIDDEN Received: via spool by 59813-submit <at> debbugs.gnu.org id=B59813.167103865221457 (code B ref 59813); Wed, 14 Dec 2022 17:25:01 +0000 Received: (at 59813) by debbugs.gnu.org; 14 Dec 2022 17:24:12 +0000 Received: from localhost ([127.0.0.1]:40538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5VUJ-0005a1-UQ for submit <at> debbugs.gnu.org; Wed, 14 Dec 2022 12:24:12 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:35323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <naofumi@HIDDEN>) id 1p5VUH-0005Zt-RE for 59813 <at> debbugs.gnu.org; Wed, 14 Dec 2022 12:24:10 -0500 Received: (Authenticated sender: naofumi@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id 4AE9AC0007; Wed, 14 Dec 2022 17:24:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1671038644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SPzyUscLArgIvEH6W8uhvLkcB11/WtkIvottfZ+Jpk4=; b=BBUh/MdHAfGcs6Bv+LKxmLJBV3DiTafQnakoypgB6KBcBVTgH3sSIJ70CuJpxMt2XGSJMG XjqWWVFQX8+iKd902lxbz9Wr1NHihhcQD5WggnuPT0ITo2prwGdTxt2SWGa/SSmt4CHCJz PIkihV02nYhTq7zwoO3Y0oC4/rHkWECHVGzuuoFXL27hT+RyA4NgxWLxLqeKZlhxWlGNaM O4vazIyN371wJUc/QXielf4kIdT48rsnQyTQOSFaxT7ms9yVrNOpqrJpJB+b4zgwq3+nPk CULOdriZz7SHMcRMyazN/Wso13fF9p5guJHkp3g6W6fdg0/6bFPTeJP9dB5uWw== From: Naofumi Yasufuku <naofumi@HIDDEN> In-Reply-To: <83h6xyoecl.fsf@HIDDEN> References: <86fsdvmrkf.fsf@HIDDEN> <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> <86r0x312ez.fsf@HIDDEN> <83h6xyoecl.fsf@HIDDEN> Date: Thu, 15 Dec 2022 02:24:00 +0900 Message-ID: <86cz8l291r.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hi Eli, Eli Zaretskii <eliz@HIDDEN> writes: > I'm not sure I understand the issue, and I'm not familiar with > straight.el, but if the above somehow prevents the function from being > loaded, it is expected that M-. will fail. Its ELisp backend works > only for loaded functions. If you want it to work for functions that > aren't loaded, you need to manually switch the backend to etags. > The function `loadhist--foo-inc' is definitely loaded by autoload, but M-. fails to find defun in the source file loadhist--foo.el. > So if the above scenario worked with Emacs 28, I suggest to check > whether the function was being loaded with Emacs 28. I've tried to check the state of load-history (both 28 and 29) and function-history (29-only). The following is the difference between Emacs 28 and 29: ;;========================================== ;; Emacs 28.2.50 ;; Step 1: Create ~/.emacs.d/site-lisp/loadhist--foo.el ;;------------------------------------------ ;; (defun loadhist--foo-inc (x) (1+ x)) ;; (provide 'loadhist--foo) ;;------------------------------------------ ;; Step 2: emacs -Q ;; Step 3: In *scratch*, M-x eval-buffer (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)) ;;------------------------------------------ ;; Step 4: Check load-history (symbol-file 'loadhist--foo-inc 'defun) => "/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el" (let (matches) (pcase-dolist (`(,file . ,elems) load-history) (when (rassq 'loadhist--foo-inc elems) (push (cons file elems) matches))) (nreverse matches)) => ((nil (autoload . loadhist--foo-inc)) ("/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el" (t . loadhist--foo-inc) (defun . loadhist--foo-inc) (provide . loadhist--foo))) ;;========================================== ;;========================================== ;; Emacs 29.0.60 ;; Step 1: Create ~/.emacs.d/site-lisp/loadhist--foo.el ;;------------------------------------------ ;; (defun loadhist--foo-inc (x) (1+ x)) ;; (provide 'loadhist--foo) ;;------------------------------------------ ;; Step 2: emacs -Q ;; Step 3: In *scratch*, M-x eval-buffer (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)) ;;------------------------------------------ ;; Step 4: Check load-history and function-history (symbol-file 'loadhist--foo-inc 'defun) => nil (let (matches) (pcase-dolist (`(,file . ,elems) load-history) (when (rassq 'loadhist--foo-inc elems) (push (cons file elems) matches))) (nreverse matches)) => ((nil (defun . loadhist--foo-inc)) ("/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el" (defun . loadhist--foo-inc) (provide . loadhist--foo))) (get 'loadhist--foo-inc 'function-history) => ("/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el" (autoload "loadhist--foo" nil nil nil)) ;;========================================== Best regaards, Naofumi
X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Naofumi Yasufuku <naofumi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 14 Dec 2022 17:35:02 +0000 Resent-Message-ID: <handler.59813.B59813.167103926821890 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed moreinfo To: Eli Zaretskii <eliz@HIDDEN> Cc: 59813 <at> debbugs.gnu.org, stefankangas@HIDDEN Received: via spool by 59813-submit <at> debbugs.gnu.org id=B59813.167103926821890 (code B ref 59813); Wed, 14 Dec 2022 17:35:02 +0000 Received: (at 59813) by debbugs.gnu.org; 14 Dec 2022 17:34:28 +0000 Received: from localhost ([127.0.0.1]:40588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5VeF-0005h0-Go for submit <at> debbugs.gnu.org; Wed, 14 Dec 2022 12:34:28 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:46955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <naofumi@HIDDEN>) id 1p5VeC-0005gu-3p for 59813 <at> debbugs.gnu.org; Wed, 14 Dec 2022 12:34:26 -0500 Received: (Authenticated sender: naofumi@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id 308EA40002; Wed, 14 Dec 2022 17:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1671039258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=P2JAhANBu5EE5+A+xEvE3otQycRC8fB7pBHBeBp0qeM=; b=ax+UGCEgZr7SzShtvutlSGgAFIIo7BQPJGtpWwtpVAuKuAqsbJj+Ro8OEoKuwzjnOzHLQy VNmTqRM1NV2zbBGkDD/YWTiaD45w+/9WBMHpHevyC4pZSjsT7j/ZwBO9PRDxggs8ThhGRD VnuxitvjkYFg/Xda+6w8mUaGJsNzkjxjNS0IjgqwkdHsCSJDStRpsB6b3qQ1ZTW5r3SFg3 9atdoremZC29F3EhUZ/XDltlPTxvgKvfgKkleTNN4AHy4SzTsE5f15mzyj+y5FIr5S6K3F mUgpPTLIed/ffOmPMKF275alay1YkaKJZHXAWsQrWIKFLF9Y+3OmUL9OAI/Atw== From: Naofumi Yasufuku <naofumi@HIDDEN> In-Reply-To: <86cz8l291r.fsf@HIDDEN> References: <86fsdvmrkf.fsf@HIDDEN> <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> <86r0x312ez.fsf@HIDDEN> <83h6xyoecl.fsf@HIDDEN> <86cz8l291r.fsf@HIDDEN> Date: Thu, 15 Dec 2022 02:34:11 +0900 Message-ID: <86a63p28ks.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Naofumi Yasufuku <naofumi@HIDDEN> writes: > Hi Eli, > > Eli Zaretskii <eliz@HIDDEN> writes: > >> I'm not sure I understand the issue, and I'm not familiar with >> straight.el, but if the above somehow prevents the function from being >> loaded, it is expected that M-. will fail. Its ELisp backend works >> only for loaded functions. If you want it to work for functions that >> aren't loaded, you need to manually switch the backend to etags. >> > > The function `loadhist--foo-inc' is definitely loaded by autoload, > but M-. fails to find defun in the source file loadhist--foo.el. > >> So if the above scenario worked with Emacs 28, I suggest to check >> whether the function was being loaded with Emacs 28. > > I've tried to check the state of load-history (both 28 and 29) and > function-history (29-only). The following is the difference between > Emacs 28 and 29: > > ;;========================================== > ;; Emacs 28.2.50 > > ;; Step 1: Create ~/.emacs.d/site-lisp/loadhist--foo.el > ;;------------------------------------------ > ;; (defun loadhist--foo-inc (x) (1+ x)) > ;; (provide 'loadhist--foo) > ;;------------------------------------------ > > ;; Step 2: emacs -Q > > ;; Step 3: In *scratch*, M-x eval-buffer > > (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)) > > ;;------------------------------------------ > ;; Step 4: Check load-history > > (symbol-file 'loadhist--foo-inc 'defun) > => "/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el" > > (let (matches) > (pcase-dolist (`(,file . ,elems) load-history) > (when (rassq 'loadhist--foo-inc elems) > (push (cons file elems) matches))) > (nreverse matches)) > => ((nil (autoload . loadhist--foo-inc)) ("/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el" (t . loadhist--foo-inc) (defun . loadhist--foo-inc) (provide . loadhist--foo))) > > ;;========================================== > > ;;========================================== > ;; Emacs 29.0.60 > > ;; Step 1: Create ~/.emacs.d/site-lisp/loadhist--foo.el > ;;------------------------------------------ > ;; (defun loadhist--foo-inc (x) (1+ x)) > ;; (provide 'loadhist--foo) > ;;------------------------------------------ > > ;; Step 2: emacs -Q > > ;; Step 3: In *scratch*, M-x eval-buffer > > (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)) > > ;;------------------------------------------ > ;; Step 4: Check load-history and function-history > > (symbol-file 'loadhist--foo-inc 'defun) > => nil > > (let (matches) > (pcase-dolist (`(,file . ,elems) load-history) > (when (rassq 'loadhist--foo-inc elems) > (push (cons file elems) matches))) > (nreverse matches)) > => ((nil (defun . loadhist--foo-inc)) ("/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el" (defun . loadhist--foo-inc) (provide . loadhist--foo))) > > (get 'loadhist--foo-inc 'function-history) > => ("/home/naofumi/.emacs.d/site-lisp/loadhist--foo.el" (autoload "loadhist--foo" nil nil nil)) > > ;;========================================== > If 3rd (message .. (loadhist--foo-inc 1)) is not exist and only autoload is evaluated, there is no differnce between Emacs 28 and 29: ;;========================================== ;; Emacs 28.2.50 ;; Step 1: Create ~/.emacs.d/site-lisp/loadhist--foo.el ;;------------------------------------------ ;; (defun loadhist--foo-inc (x) (1+ x)) ;; (provide 'loadhist--foo) ;;------------------------------------------ ;; Step 2: emacs -Q ;; Step 3: In *scratch*, M-x eval-buffer (setq load-path (cons (locate-user-emacs-file "site-lisp") load-path)) (autoload 'loadhist--foo-inc "loadhist--foo") ;;------------------------------------------ ;; Step 4: Check load-history (symbol-file 'loadhist--foo-inc 'defun) => "loadhist--foo" (let (matches) (pcase-dolist (`(,file . ,elems) load-history) (when (rassq 'loadhist--foo-inc elems) (push (cons file elems) matches))) (nreverse matches)) => ((nil (autoload . loadhist--foo-inc))) ;;========================================== ;;========================================== ;; Emacs 29.0.60 ;; Step 1: Create ~/.emacs.d/site-lisp/loadhist--foo.el ;;------------------------------------------ ;; (defun loadhist--foo-inc (x) (1+ x)) ;; (provide 'loadhist--foo) ;;------------------------------------------ ;; Step 2: emacs -Q ;; Step 3: In *scratch*, M-x eval-buffer (setq load-path (cons (locate-user-emacs-file "site-lisp") load-path)) (autoload 'loadhist--foo-inc "loadhist--foo") ;;------------------------------------------ ;; Step 4: Check load-history and function-history (symbol-file 'loadhist--foo-inc 'defun) => "loadhist--foo" (let (matches) (pcase-dolist (`(,file . ,elems) load-history) (when (rassq 'loadhist--foo-inc elems) (push (cons file elems) matches))) (nreverse matches)) => ((nil (defun . loadhist--foo-inc))) (get 'loadhist--foo-inc 'function-history) => nil ;;========================================== Best regards, Naofumi
X-Loop: help-debbugs@HIDDEN Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Resent-From: Naofumi Yasufuku <naofumi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 14 Dec 2022 17:49:02 +0000 Resent-Message-ID: <handler.59813.B59813.167104012522543 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed moreinfo To: Eli Zaretskii <eliz@HIDDEN> Cc: 59813 <at> debbugs.gnu.org, stefankangas@HIDDEN Received: via spool by 59813-submit <at> debbugs.gnu.org id=B59813.167104012522543 (code B ref 59813); Wed, 14 Dec 2022 17:49:02 +0000 Received: (at 59813) by debbugs.gnu.org; 14 Dec 2022 17:48:45 +0000 Received: from localhost ([127.0.0.1]:40653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1p5Vs5-0005rX-0z for submit <at> debbugs.gnu.org; Wed, 14 Dec 2022 12:48:45 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:52839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <naofumi@HIDDEN>) id 1p5Vs3-0005rP-1a for 59813 <at> debbugs.gnu.org; Wed, 14 Dec 2022 12:48:44 -0500 Received: (Authenticated sender: naofumi@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id F1D151BF206; Wed, 14 Dec 2022 17:48:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yasufuku.dev; s=gm1; t=1671040117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EY0bpy5hvpccjxLkmH+jyly9RiQoO4zVhu38RBXMfQI=; b=Pl8zFJsPA+KXJojeT8tOSpAegTadYh2v8tQHyeHbnOojjHL/bD4Y51V/aUYuxyJeIIVQmq CFjodqjetLtilO4h0czSNk027QcwDFGhBtDMrUDhNEtoBbVG+Ob8kFbm5F6AHe9ydfWUBq TN1TMhvfToiJxPM1r0SJ151mv74faO7tZV0HQw7rW12akf1ilPH9ZkqKyYA2Dghx0UtUDQ NReVhrpD2uJCLAo0W7yba1s8jVFdzXItsebxEx9izsQv/EoIhTL2ONGhI1oJBywreueKhQ 6oPY2kRwSMWGZOhMKWeNE9VvhVBQhQi6DQamv8VjAwgjMjOWyMRTJBw2WBNkOg== From: Naofumi Yasufuku <naofumi@HIDDEN> In-Reply-To: <86a63p28ks.fsf@HIDDEN> References: <86fsdvmrkf.fsf@HIDDEN> <CADwFkm=FmgyFCAAkn0OPWhK4VBwMgaMkfgmP_dg5NswheH4fQA@HIDDEN> <86r0x312ez.fsf@HIDDEN> <83h6xyoecl.fsf@HIDDEN> <86cz8l291r.fsf@HIDDEN> <86a63p28ks.fsf@HIDDEN> Date: Thu, 15 Dec 2022 02:48:29 +0900 Message-ID: <865yed27wy.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Naofumi Yasufuku <naofumi@HIDDEN> writes: > > If 3rd (message .. (loadhist--foo-inc 1)) is not exist and only autoload > is evaluated, there is no differnce between Emacs 28 and 29: > Sorry. In autoload-only case, the difference is just Emacs 29 (defun. loadhist--foo-inc) and Emacs 28 (autoload . loadhist--foo-inc). `symbol-file' returns autoload file. > ;;========================================== > ;; Emacs 28.2.50 > [..snip..] > > ;; Step 3: In *scratch*, M-x eval-buffer > > (setq load-path (cons (locate-user-emacs-file "site-lisp") load-path)) > (autoload 'loadhist--foo-inc "loadhist--foo") > > ;;------------------------------------------ > ;; Step 4: Check load-history > > (symbol-file 'loadhist--foo-inc 'defun) > => "loadhist--foo" > > (let (matches) > (pcase-dolist (`(,file . ,elems) load-history) > (when (rassq 'loadhist--foo-inc elems) > (push (cons file elems) matches))) > (nreverse matches)) > => ((nil (autoload . loadhist--foo-inc))) > > ;;========================================== > > > ;;========================================== > ;; Emacs 29.0.60 > [..snip..] > > ;; Step 3: In *scratch*, M-x eval-buffer > > (setq load-path (cons (locate-user-emacs-file "site-lisp") load-path)) > (autoload 'loadhist--foo-inc "loadhist--foo") > > ;;------------------------------------------ > ;; Step 4: Check load-history and function-history > > (symbol-file 'loadhist--foo-inc 'defun) > => "loadhist--foo" > > (let (matches) > (pcase-dolist (`(,file . ,elems) load-history) > (when (rassq 'loadhist--foo-inc elems) > (push (cons file elems) matches))) > (nreverse matches)) > => ((nil (defun . loadhist--foo-inc))) > > (get 'loadhist--foo-inc 'function-history) > => nil > > ;;========================================== > Regards, Naofumi
Received: (at control) by debbugs.gnu.org; 3 Sep 2023 09:38:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 03 05:38:16 2023 Received: from localhost ([127.0.0.1]:39520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qcjYe-0001iR-KX for submit <at> debbugs.gnu.org; Sun, 03 Sep 2023 05:38:16 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:61936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1qcjYX-0001i4-R1 for control <at> debbugs.gnu.org; Sun, 03 Sep 2023 05:38:14 -0400 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5007616b756so905310e87.3 for <control <at> debbugs.gnu.org>; Sun, 03 Sep 2023 02:37:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693733873; x=1694338673; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=JGh63iLlBwkdB/n89XTXbgPIArDExGu9nf/HAFVqIDs=; b=QcTdQqIjv/V/QmMQ34s+YeDByGDDs7R3eINr5F+/WdkCFuRvoilLvLiDj2CApib1uO f2U9sDNAllv7yNwlbx0MGhhy1ZPM4WYdV+A4AqgS10sCyPVRQbnzVDA/pumvY10YS0Wc kYv8nQjaTnLQPyjNFfSG0aAmk8iIRDD5qUPQ8aIKogHp4C0ne7O/0AXGlz6lhiZkJaJS DxBKTbbO5EzgFP9ImFB4D3yxQ+dOSuX3lABPadQSVSF0FnxOgfsr4XYs2GbPVWPb1cFM 3/EF7hOnuieuKYRmos7a7wHr7Q2AQf0S12hUypLPcJfmaVjtXgjSuFNVGO6Iu38axghV LKYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693733873; x=1694338673; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JGh63iLlBwkdB/n89XTXbgPIArDExGu9nf/HAFVqIDs=; b=ZfjnTgIBYdGf++FVCwzKbov1nQ2Lv3JM2NssqrYuaQLaheGOCPktQ7g5/AWiazYNdx 7EwrBj/gjR2QJCn5i+XvCh8hWFN90jGlKoqCJP+qT9e4z09NSuM6hCfPYFA8LiOHGaZd K8DY1sBUuaOx8WwyrJUvOKdN+Vs+jOnWYJtcaYxZ9nsqJiRIhyPNsxaw2N1IHm4WEAh+ p/NKMghdF3dru1d2BMiCOEPuydvAndLKEFUsWnBj5kw+rpf+S09RQp/oe3Ao/dUEbC4W vq3vKJOPbCegXZAG7XcGciGW7Wmj61NN7jeqG8NUmzCKIHP7ZdCspPirv1U1fWgn4wnm dgig== X-Gm-Message-State: AOJu0YzcSQvlSNGGyMgi0h5inZUxCH8YZtLuprSpgLFTmkndxMoGtgVq bBFfIygtMwBdgxzuw1Ld/SOL19ZIE10Xjtuz0EH+sLvLVW8= X-Google-Smtp-Source: AGHT+IGrGSbe4rkCNS8vVH/fnAioFyFWN84nV6qngabF75rjCLRyFf9WXQ17STbypB3m6szW82VjWQ8JwfGVyaBxzy4= X-Received: by 2002:a05:6512:3b11:b0:500:c4f1:6bb6 with SMTP id f17-20020a0565123b1100b00500c4f16bb6mr5401503lfv.61.1693733873628; Sun, 03 Sep 2023 02:37:53 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Sep 2023 02:37:53 -0700 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Sun, 3 Sep 2023 02:37:53 -0700 Message-ID: <CADwFkmm-asUhuJ31cn7S4M7e7D3ckMDVOocKKS+K7Cx0y-UyrA@HIDDEN> Subject: control message for bug #59813 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 59813 - moreinfo quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.