all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to dump Emacs and use as application snapshot?
@ 2020-10-27 17:41 Jean Louis
  2020-10-27 18:05 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Jean Louis @ 2020-10-27 17:41 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-11-02 16:51 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-27 17:41 How to dump Emacs and use as application snapshot? Jean Louis
2020-10-27 18:05 ` 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

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.