* bug#40969: 28.0.50; [feature/native-comp] unnecessary recompilation
@ 2020-04-29 18:32 Christian Thäter
2020-04-29 20:31 ` Andrea Corallo
0 siblings, 1 reply; 3+ messages in thread
From: Christian Thäter @ 2020-04-29 18:32 UTC (permalink / raw)
To: 40969
I notice that when I 'org-reload' C-c C-x ! then the whole
compilation starts again even when its already compiled. Somewhere it
misses that. I didn't investigate this any further. Maybe its intended
behavior because org-mode forces to byte-compile itself.
Might be smarter to store a hash over the source .el or .elc in the .eln
metadata and prevent recompilation when it was already compiled. In fact
all .eln could be addressed by these hashes with some directory
restructuring (I dont go into detail here, this would be another
feature).
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
of 2020-04-26 built on wolke
Repository revision: e6fb440ed7e48c2e8c4bba4666db2f0ff9950a25
Repository branch: native-comp
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)
Configured using:
'configure --with-nativecomp --with-cairo
--enable-link-time-optimization --with-xwidgets'
Configured features:
XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS PDUMPER
GMP
Important settings:
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#40969: 28.0.50; [feature/native-comp] unnecessary recompilation
2020-04-29 18:32 bug#40969: 28.0.50; [feature/native-comp] unnecessary recompilation Christian Thäter
@ 2020-04-29 20:31 ` Andrea Corallo
2020-04-30 19:28 ` Andrea Corallo
0 siblings, 1 reply; 3+ messages in thread
From: Andrea Corallo @ 2020-04-29 20:31 UTC (permalink / raw)
To: Christian Thäter; +Cc: 40969
ct@pipapo.org (Christian Thäter) writes:
> I notice that when I 'org-reload' C-c C-x ! then the whole
> compilation starts again even when its already compiled. Somewhere it
> misses that. I didn't investigate this any further. Maybe its intended
> behavior because org-mode forces to byte-compile itself.
>
> Might be smarter to store a hash over the source .el or .elc in the .eln
> metadata and prevent recompilation when it was already compiled. In fact
> all .eln could be addressed by these hashes with some directory
> restructuring (I dont go into detail here, this would be another
> feature).
Hi Christian,
I assume deferred-compilation is non nil.
I managed to reproduce the issue and 02e3ffad6d solves it for me.
The only thing I'm uncertain is if generally speaking we should disable
the deferred compilation trigger when a load with MUST-SUFFIX non-nil is
performed. Currently we are not doing that but I'm asking myself if
this would be appropriate.
Thanks
Andrea
--
akrl@sdf.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-30 19:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-29 18:32 bug#40969: 28.0.50; [feature/native-comp] unnecessary recompilation Christian Thäter
2020-04-29 20:31 ` Andrea Corallo
2020-04-30 19:28 ` Andrea Corallo
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.