GNU bug report logs -
#45103
[feature/native-comp] add re-dumping support
Previous Next
Reported by: Y Qu <yqu212 <at> gmail.com>
Date: Mon, 7 Dec 2020 15:25:02 UTC
Severity: normal
Found in version 28.0.50
Done: Andrea Corallo <acorallo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 45103 <at> debbugs.gnu.org (full text, mbox):
Andrea Corallo <akrl <at> 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!
This bug report was last modified 1 year and 200 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.