GNU bug report logs - #40838
28.0.50; [feature/native-comp] Function overrides in init.el are not honored after deferred compilation

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Sat, 25 Apr 2020 08:19:02 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrea Corallo <akrl <at> sdf.org>
To: Ihor Radchenko <yantar92 <at> gmail.com>
Cc: 40838 <at> debbugs.gnu.org
Subject: bug#40838: 28.0.50; [feature/native-comp] Function overrides in init.el are not honored after deferred compilation
Date: Sat, 23 May 2020 14:39:03 +0000
Ihor Radchenko <yantar92 <at> gmail.com> writes:

>> If this is what is happening with straight.el, then my recipe is not
>> actually reproducing my initial bug report. I have other cases when
>> functions redefined in my config are overridden by initial definition
>> when .eln is loaded. I think that I still need to investigate for a real
>> recipe then.
>
> I have recently tried to find a temporary workaround to this issue with
> straight.el+org+native-comp. However, my workaround seems to fail
> because of native-comp (at least, I believe so).

Hi Ihor,

I believe if you want to have to workaround effective in deferred
compilation you'll need to put the definition of these two functions
into `comp-async-env-modifier-form' as discussed.

Perhaps the best thing if to ask them to do it given they have a branch
to support native-comp.

  Andrea

-- 
akrl <at> sdf.org




This bug report was last modified 4 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.