unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: Andrea Corallo <akrl@sdf.org>
Cc: 48383@debbugs.gnu.org
Subject: bug#48383: [native-compile] Debugging external package powerline.el
Date: Mon, 17 May 2021 14:20:59 +0200	[thread overview]
Message-ID: <86fsylr1p0.fsf@gnu.org> (raw)
In-Reply-To: <xjfwns3pwan.fsf@sdf.org> (Andrea Corallo's message of "Wed, 12 May 2021 19:49:20 +0000")

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





      reply	other threads:[~2021-05-17 12:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-12 19:11 bug#48383: [native-compile] Debugging external package powerline.el Arash Esbati
2021-05-12 19:49 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-17 12:20   ` Arash Esbati [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86fsylr1p0.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=48383@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).