[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48383: [native-compile] Debugging external package powerline.el
From: |
Arash Esbati |
Subject: |
bug#48383: [native-compile] Debugging external package powerline.el |
Date: |
Mon, 17 May 2021 14:20:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 |
Andrea Corallo <akrl@sdf.org> writes:
> if the compiler crashes I guess the next step is to debug it.
Thanks for your response. In this case, the compiler doesn't crash.
> But before doing that would be nice to isolate what's the function
> that is causing the issue and create a reproducer.
>From the discussion here[1], the problem seems to be the last line in
this function provided by powerline.el[2]:
(defun pl/pattern (lst)
"Turn LST into an infinite pattern."
(when lst
(let ((pattern (cl-copy-list lst)))
(setcdr (last pattern) pattern)))) ;; <== Problematic form
Not being an Emacs issue, my question was if the native compiler could
be more verbose about the error.
> PS you can work around the issue of the startup adding powerline.el to
> `native-comp-deferred-compilation-deny-list'.
Thanks, this is what I did for now.
Best, Arash
Footnotes:
[1] https://github.com/milkypostman/powerline/issues/187
[2] https://github.com/milkypostman/powerline/issues/187#issuecomment-836582479