[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44221: 28.0.50; native-compile fails on cl-lib if delete-region has
From: |
Andrea Corallo |
Subject: |
bug#44221: 28.0.50; native-compile fails on cl-lib if delete-region has around advice |
Date: |
Wed, 28 Oct 2020 14:13:31 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dale Sedivec <dale@codefu.org> writes:
> On Oct 26, 2020, at 11:42, Andrea Corallo <akrl@sdf.org> wrote:
>> Dale Sedivec <dale@codefu.org> writes:
> [...]
>>> 4. Attempt native compilation of cl-lib:
>>>
>>> (require 'find-func)
>>> (native-compile (find-library-name "cl-lib"))
>>>
>>> Expected result: cl-lib experiences native compilation
>>>
>>> Actual result:
>>>
>>> *** Eval error *** Internal native compiler error:
>>> "/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-lib.el.gz",
>>> "not a subr", #[128 "\300\301\302#\207" [apply
>>> delete-region@my:test #<subr delete-region> nil] 5 nil "r"]
>>>
>>> I discovered this via the volatile-highlights package, which advises
>>> `delete-region', among other things.
>>
>> Hi Dale,
>>
>> thanks for reporting this, fd9e9308d2 should fix the issue.
>>
>> Please confirm works for you with your package.
>>
>> Thanks!
>
> Thank you! I *think* this is now fixed, as I don't get this error
> anymore. Attempting to natively compile cl-lib now gives me a
> different error that looks unrelated, which I'll have to do some more
> research on.
Hi Dale,
great I'm closing this then.
FWIW I can native compile cl-lib both syncronously and asyncronously
with no errors. Please file a bug for that with a reproducer if you
feel.
Thanks
Andrea