From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58314: 29.0.50; C-h k with native compilation not conclusive Date: Thu, 06 Oct 2022 14:29:56 +0200 Message-ID: <874jwhyw1n.fsf@gnus.org> References: <86czb65axv.fsf@protected.rcdrun.com> <83bkqqrr4q.fsf@gnu.org> 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="14816"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Andrea Corallo , 58314@debbugs.gnu.org, Stefan Monnier To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 14:36:59 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 1ogQ7W-0003ed-AW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 14:36:58 +0200 Original-Received: from localhost ([::1]:38782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogQ7S-00081M-Dn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 08:36:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogQ1p-0005Zr-Tf for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 08:31:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogQ1m-0001TX-8B for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 08:31:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogQ1l-00019J-PF for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 08:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2022 12:31: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.166505941331127 (code B ref 58314); Thu, 06 Oct 2022 12:31:01 +0000 Original-Received: (at 58314) by debbugs.gnu.org; 6 Oct 2022 12:30:13 +0000 Original-Received: from localhost ([127.0.0.1]:59286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogQ0z-00084l-IP for submit@debbugs.gnu.org; Thu, 06 Oct 2022 08:30:13 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:41036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogQ0v-0007P7-ET for 58314@debbugs.gnu.org; Thu, 06 Oct 2022 08:30:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=9wXHy7kKYN8UXV9Yz3SILtkajn4aC/RwOpp3m2WEZWU=; b=bvFY5scKfzU3DeENSXsvAVGh19 8mbs4kAZtLs8C+ib+sVFyrP731ZmgxkjNgNFixMFw12+qrAmMp2LTh+y35MxT2TT8B4A6AJ2/QfO9 C317BKhOhioz2qImZQBG122Vf1fD76NMgGgEPDqwkutBbeMa/Z3WOJkWBXJL8X9Qzvqk=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogQ0j-0002lR-50; Thu, 06 Oct 2022 14:29:59 +0200 In-Reply-To: (Jean Louis's message of "Wed, 5 Oct 2022 22:50:32 +0300") X-Now-Playing: Alan Vega's _Collision Drive_: "I believe" 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:244647 Archived-At: Jean Louis writes: > 1. emacs -Q > > 2. {C-x C-f my-file.el RET} > > 3. write in my-file.el: > > (defun my-function () > (message "Hello")) > > 4. {M-x emacs-lisp-native-compile-and-load RET} > > 5. {C-h f my-function RET} > > 6. Then I see: > > my-function is a native-compiled Lisp function in > =E2=80=98~/.emacs.d/eln-cache/29.0.50-44cd31c8/my-file-fb862712-14785989.= eln=E2=80=99. Thanks for the recipe -- I can reproduce this issue, too. We could fix this in help-fns, but I wonder whether there's something that should be fixed on the nativecomp side -- in this case, it appears to not set up... something... that allows you to find my-file.el. I.e., `symbol-file' isn't able to find my-file.el, and it probably should be? I've added Andrea to the CCs; perhaps he has a comment.