From: Jean Louis <bugs@gnu.support>
To: help-gnu-emacs@gnu.org
Subject: How to dump Emacs and use as application snapshot?
Date: Tue, 27 Oct 2020 20:41:26 +0300 [thread overview]
Message-ID: <courier.000000005F985BC7.00002FA2@static.rcdrun.com> (raw)
I would like to be able to dump the emacs how it is, and then later
just open it up similar to application snapshot feature at Amiga or
Dragonfly BSD.
There is talk in Antinews about portable dumper, so that may exist
now, it will not exist back in time.
dump-emacs-portable can only be done from command line, it would mean
my configuration would not work, --batch implies -q so I would need to
load my init.el
This works:
emacs --batch -eval "(dump-emacs-portable \"~/my-emacs\")"
dumping fingerprint: f5190a787b51041c110477031336a3a463d20c2fa433c129c2cc69f4fb191d71
Dump complete
Byte counts: header=84 hot=7180724 discardable=125760 cold=3356344
Reloc counts: hot=402727 discardable=4826
But this does not work:
emacs --batch -eval "(load-file \"~/.emacs.d/init.el\") (dump-emacs-portable \"~/my-emacs\")"
and this does not work:
emacs --batch -eval "(setq my-var \"any\") (dump-emacs-portable \"~/my-emacs\")"
Any way to do it?
--
Thanks,
Jean Louis
next reply other threads:[~2020-10-27 17:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 17:41 Jean Louis [this message]
2020-10-27 18:05 ` How to dump Emacs and use as application snapshot? Eli Zaretskii
2020-10-27 19:51 ` Jean Louis
2020-10-27 20:13 ` Eli Zaretskii
2020-10-27 21:12 ` Jean Louis
2020-10-28 2:04 ` Dante Catalfamo
2020-10-28 3:29 ` Eli Zaretskii
2020-10-27 18:52 ` Stefan Monnier
2020-10-27 19:51 ` Jean Louis
2020-10-27 20:39 ` Stefan Monnier
2020-10-27 21:14 ` Jean Louis
2020-10-27 21:41 ` Stefan Kangas
2020-11-02 12:52 ` Jean Louis
2020-11-02 15:54 ` Eli Zaretskii
2020-10-27 23:02 ` Stefan Monnier
2020-11-02 12:46 ` Jean Louis
2020-11-02 14:37 ` Corwin Brust
2020-11-02 16:51 ` Jean Louis
2020-10-28 1:26 ` Leo Butler
2020-10-28 6:16 ` Jean Louis
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=courier.000000005F985BC7.00002FA2@static.rcdrun.com \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.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.