GNU bug report logs -
#40838
28.0.50; [feature/native-comp] Function overrides in init.el are not honored after deferred compilation
Previous Next
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
Message #44 received at 40838 <at> debbugs.gnu.org (full text, mbox):
> 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.
Never mind my last email. I thought that defun statements before
require should not be overridden, which is obviously wrong.
Best,
Ihor
Andrea Corallo <akrl <at> sdf.org> writes:
> 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
--
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China
Email: yantar92 <at> gmail.com, ihor_radchenko <at> alumni.sutd.edu.sg
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.