bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Mon, 26 Oct 2020 16:42:01 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dale Sedivec <dale@codefu.org> writes:

> 1. Start with emacs -Q
>
> 2. Enter IELM
>
> 3. Add trivial advice to `delete-region':
>
>     (define-advice delete-region (:around (orig-fun &rest args) my:test)
>       (apply orig-fun args))
>
> 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!

  Andrea





reply via email to

[Prev in Thread] Current Thread [Next in Thread]