From: Phil Sainty <psainty@orcon.net.nz>
To: 53562@debbugs.gnu.org
Subject: bug#53562: 28.0.90; Documentation of `load' and .eln files with native-compilation
Date: Thu, 27 Jan 2022 12:25:43 +1300 [thread overview]
Message-ID: <9676e13f03287c3890d77117a7823246@webmail.orcon.net.nz> (raw)
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.)
-Phil
In GNU Emacs 28.0.90 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.15.10, Xaw scroll bars)
of 2021-12-03 built on phil-lp
Repository revision: 292ae07e7150a9515b587bd98f9e93ab42c3fb29
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version
11.0.12008000
System Description: Ubuntu 18.04.6 LTS
Configured using:
'configure --prefix=/home/phil/emacs/28.0/usr/local
--with-x-toolkit=lucid --without-sound --with-native-compilation'
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB
next reply other threads:[~2022-01-26 23:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 23:25 Phil Sainty [this message]
2022-01-27 6:23 ` bug#53562: 28.0.90; Documentation of `load' and .eln files with native-compilation Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9676e13f03287c3890d77117a7823246@webmail.orcon.net.nz \
--to=psainty@orcon.net.nz \
--cc=53562@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.