From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#58314: 29.0.50; C-h k with native compilation not conclusive Date: Wed, 5 Oct 2022 22:55:35 +0300 Message-ID: References: <86czb65axv.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2733"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) To: 58314@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 05 22:17:12 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 1ogApL-0000RE-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 22:17:12 +0200 Original-Received: from localhost ([::1]:58076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogApK-0004wU-T0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 16:17:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogAUs-0005DU-CM for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 15:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogAUs-0004Ez-1M for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 15:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogAUr-000258-Oo for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 15:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2022 19:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58314 X-GNU-PR-Package: emacs Original-Received: via spool by 58314-submit@debbugs.gnu.org id=B58314.16649997557983 (code B ref 58314); Wed, 05 Oct 2022 19:56:01 +0000 Original-Received: (at 58314) by debbugs.gnu.org; 5 Oct 2022 19:55:55 +0000 Original-Received: from localhost ([127.0.0.1]:58152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogAUl-00024h-0R for submit@debbugs.gnu.org; Wed, 05 Oct 2022 15:55:55 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:32849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogAUh-00024N-70 for 58314@debbugs.gnu.org; Wed, 05 Oct 2022 15:55:54 -0400 Original-Received: from localhost ([::ffff:154.227.156.251]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000BA40A.00000000633DE142.00007F27; Wed, 05 Oct 2022 12:55:45 -0700 Content-Disposition: inline In-Reply-To: <86czb65axv.fsf@protected.rcdrun.com> 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" Xref: news.gmane.io gmane.emacs.bugs:244573 Archived-At: I think that xref get broken related to this. How to reproduce: 1. emacs -Q 2. open my-file.el 3. Write: (defun my-function () (my-other-function) (message "Hello")) (defun my-other-function () (message "I am other function")) 4. M-x emacs-lisp-native-compile-and-load 5. Put cursor or (my-other-function) 6. M-. for xref-find-definition 6. Error: Debugger entered--Lisp error: (wrong-type-argument stringp nil) locate-file(nil ("/home/data1/protected/Programming/Software/emacs/l..." = "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protec= ted/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Sof= tware/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "= /home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protect= ed/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Soft= ware/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/= home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protecte= d/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Softw= are/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/h= ome/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected= /Programming/Software/emacs/l..." "/home/data1/protected/Programming/Softwa= re/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/ho= me/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/= Programming/Software/emacs/l..." "/home/data1/protected/Programming/Softwar= e/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/hom= e/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/P= rogramming/Software/emacs/l..." "/home/data1/protected/Programming/Software= /emacs/l...") (".so" ".so.gz" ".el" ".el.gz")) find-library-name("/home/data1/protected/.emacs.d/eln-cache/29.0.50-4...") find-function-search-for-symbol(my-other-function nil "/home/data1/protec= ted/.emacs.d/eln-cache/29.0.50-4...") #f(compiled-function (l) #)(#s(xref-elisp-lo= cation :symbol my-other-function :type nil :file "/home/data1/protected/.em= acs.d/eln-cache/29.0.50-4...")) apply(#f(compiled-function (l) #) #s(xref-el= isp-location :symbol my-other-function :type nil :file "/home/data1/protect= ed/.emacs.d/eln-cache/29.0.50-4...") nil) xref-location-marker(#s(xref-elisp-location :symbol my-other-function :ty= pe nil :file "/home/data1/protected/.emacs.d/eln-cache/29.0.50-4...")) xref-pop-to-location(#s(xref-item :summary #("(defun my-other-function)" = 1 6 (face font-lock-keyword-face) 7 24 (face font-lock-function-name-face))= :location #s(xref-elisp-location :symbol my-other-function :type nil :file= "/home/data1/protected/.emacs.d/eln-cache/29.0.50-4...")) nil) xref-show-definitions-buffer(#f(compiled-function () #) ((window . #) (display-action) (auto-ju= mp))) xref--show-defs(#f(compiled-function () #) n= il) xref--find-definitions(#("my-other-function" 0 17 (pos 26)) nil) xref-find-definitions(#("my-other-function" 0 17 (pos 26))) funcall-interactively(xref-find-definitions #("my-other-function" 0 17 (p= os 26))) command-execute(xref-find-definitions) read-from-minibuffer("M-x " nil (keymap (10 . minibuffer-complete-and-exi= t) (13 . minibuffer-complete-and-exit) keymap (menu-bar keymap (minibuf "Mi= nibuf" keymap (tab menu-item "Complete" minibuffer-complete :help "Complete= as far as possible") (space menu-item "Complete Word" minibuffer-complete-= word :help "Complete at most one word") (63 menu-item "List Completions" mi= nibuffer-completion-help :help "Display all possible completions") "Minibuf= ")) (M-down . minibuffer-next-completion) (M-up . minibuffer-previous-compl= etion) (27 keymap (13 . minibuffer-choose-completion) (103 keymap (27 keyma= p (99 . switch-to-completions))) (118 . switch-to-completions)) (prior . sw= itch-to-completions) (63 . minibuffer-completion-help) (32 . minibuffer-com= plete-word) (backtab . minibuffer-complete) (9 . minibuffer-complete) keyma= p (menu-bar keymap (minibuf "Minibuf" keymap (previous menu-item "Previous = History Item" previous-history-element :help "Put previous minibuffer histo= ry element in the min...") (next menu-item "Next History Item" next-history= -element :help "Put next minibuffer history element in the minibuf...") (is= earch-backward menu-item "Isearch History Backward" isearch-backward :help = "Incrementally search minibuffer history backward") (isearch-forward menu-i= tem "Isearch History Forward" isearch-forward :help "Incrementally search m= inibuffer history forward") (return menu-item "Enter" exit-minibuffer :key-= sequence "\15" :help "Terminate input and exit minibuffer") (quit menu-item= "Quit" abort-recursive-edit :help "Abort input and exit minibuffer") "Mini= buf")) (24 keymap (down . minibuffer-complete-defaults) (up . minibuffer-co= mplete-history)) (13 . exit-minibuffer) (10 . exit-minibuffer) (7 . abort-m= inibuffers) (C-tab . file-cache-minibuffer-complete) (9 . self-insert-comma= nd) (XF86Back . previous-history-element) (up . previous-line-or-history-el= ement) (prior . previous-history-element) (XF86Forward . next-history-eleme= nt) (down . next-line-or-history-element) (next . next-history-element) (27= keymap (60 . minibuffer-beginning-of-buffer) (114 . previous-matching-hist= ory-element) (115 . next-matching-history-element) (112 . previous-history-= element) (110 . next-history-element))) nil extended-command-history nil ni= l) completing-read-default("M-x " # #f(compiled-function (sym) #) t nil extended-command-history nil nil) read-extended-command-1("M-x " nil) read-extended-command() byte-code("\302\30\11\303 \10)E\207" [execute-extended-command--last-type= d current-prefix-arg nil read-extended-command] 3) command-execute(execute-extended-command) -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/