all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Elric Milon via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Andrea Corallo <akrl@sdf.org>
Cc: Y Qu <yqu212@gmail.com>, 45103@debbugs.gnu.org
Subject: bug#45103: [feature/native-comp] add re-dumping support
Date: Tue, 03 Aug 2021 13:46:27 +0200	[thread overview]
Message-ID: <878s1ida3w.fsf@whirm.eu> (raw)
In-Reply-To: <xjfh7ox1u11.fsf@sdf.org> (Andrea Corallo's message of "Mon, 07 Dec 2020 16:05:14 +0000")

Andrea Corallo <akrl@sdf.org> writes:

> Hi Ying Qu,
>
> I guess you are the first trying to re-dump a native compiled 
> Emacs
> session.  Despite being in principle possible there's certanly 
> something
> to look at.
>
> In general my understanding is that ATM we do not support 
> officially
> Emacs re-dumps, so also on a vanilla build it may work or not.
>
> As a consequence I'm not sure this is a requirement for this 
> feature
> ATM.  Perhaps we'll get some other opinion on this.

Hi Andrea,

Even if not supported, it did work (some workarounds required at 
times)
and it's used. I had been using it before switching to native-comp 
via
spacemacs' dumping support:

https://github.com/syl20bnr/spacemacs/blob/develop/EXPERIMENTAL.org#spacemacs-dumps-using-the-portable-dumper

I think it would be really nice to be able to do something similar 
again.

I spent some time attempting to make it work again by avoiding
re-dumping (starting from bare temacs) but at some point I gave up 
(It's
been a while but, if memory serves, I found C and lisp code 
clearly
not expecting for anyone to want to dump anything else than 
loadup.el).
If that where an option then support for re-dumping would not be
needed anymore.

Maybe it would be a good idea to add a guard to prevent re-dumping 
so
that users are aware they are doing something that will never work 
and
it's not something they are doing wrong (I spent a lot of time on 
this
myself :)).

Cheers!





  parent reply	other threads:[~2021-08-03 11:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07 14:18 bug#45103: 28.0.50; feature/native-comp:Trying to load incoherent dumped eln file Y Qu
2020-12-07 16:05 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-07 22:43   ` Y Qu
2020-12-07 22:58     ` bug#45103: [feature/native-comp] support re-dumping support Y Qu
2021-08-03 11:46   ` Elric Milon via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-10-24 18:17 ` bug#45103: [feature/native-comp] add " Andrea Corallo
2023-10-24 18:21   ` Andrea Corallo
2023-10-29 14:44     ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]     ` <87v8apa3oj.fsf@>
2023-10-29 15:49       ` Eli Zaretskii
2023-11-01  0:22         ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]         ` <87o7ge2ugs.fsf@>
2023-11-01 12:06           ` Eli Zaretskii

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=878s1ida3w.fsf@whirm.eu \
    --to=bug-gnu-emacs@gnu.org \
    --cc=45103@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=emacs@whirm.eu \
    --cc=yqu212@gmail.com \
    /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.