all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 52560@debbugs.gnu.org
Subject: bug#52560: Profiles don't survive roundtrips via files
Date: Wed, 22 Dec 2021 17:03:27 +0100	[thread overview]
Message-ID: <CAG7Bpaqr6xUD1hkKzgco0j-+PgkyYOScKf2Xy-z0SdoMkRZC=Q@mail.gmail.com> (raw)
In-Reply-To: <87y24ces8w.fsf@gnus.org>


[-- Attachment #1.1: Type: text/plain, Size: 1395 bytes --]

On the right is the original profile, on the left it is after a round-trip
via file (save/restore). Node "#<compiled -0xd1347ae057bdde2>" is now
displayed twice, even though profile contents is supposed to be exactly the
same.

Disregard ugly fonts etc. I just started this Docker image:
https://github.com/Silex/docker-emacs/blob/master/master/debian/Dockerfile.
Version is reported as GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X
toolkit, cairo version 1.16.0, Xaw3d scroll bars)

On Wed, 22 Dec 2021 at 13:30, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Paul Pogonyshev <pogonyshev@gmail.com> writes:
>
> > You need any profile that involves unnamed byte-compiled functions,
> > i.e. lambda in code. Also, not as leaves, they must call other
> > functions, because the problem appears when merging profile backtraces
> > with this, i.e. there must be several.  Maybe "default" backtrace of
> > running Emacs in 28 and up doesn't include those, but I'm pretty sure
> > unnamed functions could not just disappear.
>
> When "doing whatever" includes doing a completing-read, I get some
> #<compiled> things...  but after following your recipe, I'm still not
> sure I understand what the problem is.  Can you include some screenshots
> of the good display and the bad display?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>

[-- Attachment #1.2: Type: text/html, Size: 2055 bytes --]

[-- Attachment #2: bug-52560.png --]
[-- Type: image/png, Size: 50125 bytes --]

      reply	other threads:[~2021-12-22 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16 18:11 bug#52560: Profiles don't survive roundtrips via files Paul Pogonyshev
2021-12-19 11:53 ` Lars Ingebrigtsen
     [not found]   ` <CAG7BpapCvb26jEuhPRW7yRDSZs3SnFsNeY=pazqH2jicNs9B6g@mail.gmail.com>
2021-12-22 12:30     ` Lars Ingebrigtsen
2021-12-22 16:03       ` Paul Pogonyshev [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

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

  git send-email \
    --in-reply-to='CAG7Bpaqr6xUD1hkKzgco0j-+PgkyYOScKf2Xy-z0SdoMkRZC=Q@mail.gmail.com' \
    --to=pogonyshev@gmail.com \
    --cc=52560@debbugs.gnu.org \
    --cc=larsi@gnus.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.