From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58314: 29.0.50; C-h k with native compilation not conclusive Date: Thu, 06 Oct 2022 17:28:00 +0300 Message-ID: <83o7upowlr.fsf@gnu.org> References: <86czb65axv.fsf@protected.rcdrun.com> <83bkqqrr4q.fsf@gnu.org> <874jwhyw1n.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6106"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58314@debbugs.gnu.org, monnier@iro.umontreal.ca, bugs@gnu.support, akrl@sdf.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 16:30:25 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 1ogRtI-0001OL-Ia for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 16:30:24 +0200 Original-Received: from localhost ([::1]:35882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogRtH-0006yy-Gd for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 10:30:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogRry-0005B7-Nz for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 10:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogRry-0006Pe-FL for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 10:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogRry-0007UU-3J for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 10:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2022 14:29:02 +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.166506649328732 (code B ref 58314); Thu, 06 Oct 2022 14:29:02 +0000 Original-Received: (at 58314) by debbugs.gnu.org; 6 Oct 2022 14:28:13 +0000 Original-Received: from localhost ([127.0.0.1]:33097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogRrA-0007TM-Lk for submit@debbugs.gnu.org; Thu, 06 Oct 2022 10:28:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogRr9-0007T9-A2 for 58314@debbugs.gnu.org; Thu, 06 Oct 2022 10:28:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogRr1-0006JO-UD; Thu, 06 Oct 2022 10:28:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=aRWSEuDQ/p+HUU8gbonwPIGzaz2UOQLxCM5XCy7x0tE=; b=MFScmZvj03NJ5P9xfiIj lyWE3OyUe41oWSF51LGuz7va/+xscgID+x8oKy9ZLpKcGXZnlqatiHMxftFBTWxVx3zLMdbFh/dJk T98h5K73Pvr8JO3hoZOr8jskLbdlnvJXhxescSzhpB/uplgv/1TPLaat+Xy/Fnsn4DiZCxhQv8Rw7 Ej8vrCycYlQ/CJIF+uA4nssH64hNrvPY3RZPyqV8GMIGaUYyoGw0o/FXTcm6E+IJYFA8xV9bavYl9 aXtZZYXpydJVQBEt52F343uxdpusHFbXWvsaNFd2wH4v5xv76TATB00WEtamQ2SimFILDpwlFAvZT q8+rqsuidsPqew==; Original-Received: from [87.69.77.57] (port=3888 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogRr1-0008O0-D6; Thu, 06 Oct 2022 10:28:03 -0400 In-Reply-To: <874jwhyw1n.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 06 Oct 2022 14:29:56 +0200) 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:244672 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , 58314@debbugs.gnu.org, Stefan Monnier > , Andrea Corallo > Date: Thu, 06 Oct 2022 14:29:56 +0200 > > 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 > > ‘~/.emacs.d/eln-cache/29.0.50-44cd31c8/my-file-fb862712-14785989.eln’. > > 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? It is also interesting that help-fns does find the .el file for the files that are part of Emacs. So something works differently when the compiled file is not part of the Emacs build.