all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Corallo <akrl@sdf.org>
To: ct@pipapo.org (Christian Thäter)
Cc: 40969@debbugs.gnu.org
Subject: bug#40969: 28.0.50; [feature/native-comp] unnecessary recompilation
Date: Wed, 29 Apr 2020 20:31:51 +0000	[thread overview]
Message-ID: <xjf4kt22fuw.fsf@sdf.org> (raw)
In-Reply-To: <868siem9c5.fsf@pipapo.org> ("Christian Thäter"'s message of "Wed, 29 Apr 2020 20:32:26 +0200")

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





  reply	other threads:[~2020-04-29 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2020-04-30 19:28   ` Andrea Corallo

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=xjf4kt22fuw.fsf@sdf.org \
    --to=akrl@sdf.org \
    --cc=40969@debbugs.gnu.org \
    --cc=ct@pipapo.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.