From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Naofumi Yasufuku Newsgroups: gmane.emacs.bugs Subject: bug#59813: 29.0.60; function-history: M-. fails to jump to defun if straight.el straight-cache-autoloads is enabled Date: Thu, 15 Dec 2022 02:23:28 +0900 Message-ID: <86edt1292n.fsf@yasufuku.dev> References: <86fsdvmrkf.fsf@yasufuku.dev> <86r0x312ez.fsf@yasufuku.dev> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8701"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59813@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 14 18:24:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p5VUK-00021i-Qg for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Dec 2022 18:24:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5VUB-0001dU-Rd; Wed, 14 Dec 2022 12:24:03 -0500 Original-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 ) id 1p5VUA-0001bS-P6 for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 12:24:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5VUA-0005Lw-DE for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 12:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5VUA-0005ZX-94 for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 12:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Naofumi Yasufuku Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Dec 2022 17:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed moreinfo Original-Received: via spool by 59813-submit@debbugs.gnu.org id=B59813.167103862621402 (code B ref 59813); Wed, 14 Dec 2022 17:24:02 +0000 Original-Received: (at 59813) by debbugs.gnu.org; 14 Dec 2022 17:23:46 +0000 Original-Received: from localhost ([127.0.0.1]:40528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5VTu-0005Z8-Ir for submit@debbugs.gnu.org; Wed, 14 Dec 2022 12:23:46 -0500 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:44911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5VTr-0005Yz-8V for 59813@debbugs.gnu.org; Wed, 14 Dec 2022 12:23:44 -0500 Original-Received: (Authenticated sender: naofumi@yasufuku.dev) 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== In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250973 Archived-At: Hi Stefan, Stefan Kangas 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