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#53562: 28.0.90; Documentation of `load' and .eln files with native-compilation Date: Thu, 27 Jan 2022 08:23:18 +0200 Message-ID: <83lez1g0ix.fsf@gnu.org> References: <9676e13f03287c3890d77117a7823246@webmail.orcon.net.nz> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39506"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53562@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 27 07:24:53 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 1nCyDE-000A8n-K8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 07:24:52 +0100 Original-Received: from localhost ([::1]:44728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCyDD-0006kS-4O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 01:24:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCyCS-0006Qd-QQ for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 01:24:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCyCQ-0003zc-HU for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 01:24:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCyCQ-00044f-ER for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 01:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2022 06:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53562 X-GNU-PR-Package: emacs Original-Received: via spool by 53562-submit@debbugs.gnu.org id=B53562.164326462315634 (code B ref 53562); Thu, 27 Jan 2022 06:24:02 +0000 Original-Received: (at 53562) by debbugs.gnu.org; 27 Jan 2022 06:23:43 +0000 Original-Received: from localhost ([127.0.0.1]:54099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCyC6-000446-Kv for submit@debbugs.gnu.org; Thu, 27 Jan 2022 01:23:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCyC3-00043t-GH for 53562@debbugs.gnu.org; Thu, 27 Jan 2022 01:23:41 -0500 Original-Received: from [2001:470:142:3::e] (port=49906 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCyBx-0003x3-AR; Thu, 27 Jan 2022 01:23:33 -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=SK2Rz1YLmGEsVM+IYY45Itd1KKseGgw5wtWs4LKN2wU=; b=gREEgDMm+oX3 pwymWCPNeX/LHS7rcgAj2U9bLVJCTEA0nOkz71yNSGXhF1vveHumvknjou4MSIYTCcF/6ebjx9RH/ cXBLFpt9Sw9MinDY2edDLylGh/zcTohr71llezFjADO6AU1SA+6lXioeIduDGDhoKOD0+XeYL0w/g DBJgl2ZlC5W0EpeouH4chiJIHJX8r1k8R58TFbVZKRzNZ0wInWP502/McCvYa/jA0geDtkgGlI6/D g3q00bh36cYdMH60qDl0+fxUeQ7pB/AwWnsjO17W+U4ujBHEJWUHtJejx2WEgrrKrbZTlt9dKa/Vv +HK38lWzwyDCXH+XQJIbWA==; Original-Received: from [87.69.77.57] (port=3733 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 1nCyBn-0006Um-Ia; Thu, 27 Jan 2022 01:23:31 -0500 In-Reply-To: <9676e13f03287c3890d77117a7823246@webmail.orcon.net.nz> (message from Phil Sainty on Thu, 27 Jan 2022 12:25:43 +1300) 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:225327 Archived-At: > Date: Thu, 27 Jan 2022 12:25:43 +1300 > From: Phil Sainty > > I've noticed that the docstrings for `load' and `load-suffixes' make no > mention of native-compilation, and it feels to me like they should do. > > `load' says: > > First try FILE with `.elc' appended, then try with `.el', then try > > with a system-dependent suffix of dynamic modules (see `load-suffixes') > > `load-suffixes' says: > > Its value is (".so" ".elc" ".el") > > > > List of suffixes for Emacs Lisp files and dynamic modules. > > This list includes suffixes for both compiled and source Emacs Lisp > > files. > > IIUC the switch to .eln happens only if the .elc file was selected, in > which case the above is all true in a strict sense; but I feel that the > .eln case warrants a mention in the text as something which further > affects the outcome if Emacs was built --with-native-compilation. > > I think `load-no-native' should be referenced as part of that, too. > (Attempting to find that variable name was the reason for this bug > report, and apropos-documentation suggests that nothing mentions it.) Feel free to suggest changes to the documentation, and thanks.