From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to dump Emacs and use as application snapshot?
Date: Tue, 27 Oct 2020 20:05:38 +0200 [thread overview]
Message-ID: <83h7qfee8d.fsf@gnu.org> (raw)
In-Reply-To: <courier.000000005F985BC7.00002FA2@static.rcdrun.com> (message from Jean Louis on Tue, 27 Oct 2020 20:41:26 +0300)
> Date: Tue, 27 Oct 2020 20:41:26 +0300
> From: Jean Louis <bugs@gnu.support>
>
> 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\")"
The argument to "-eval" should be a single sexp.
next prev parent reply other threads:[~2020-10-27 18:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 17:41 How to dump Emacs and use as application snapshot? Jean Louis
2020-10-27 18:05 ` Eli Zaretskii [this message]
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=83h7qfee8d.fsf@gnu.org \
--to=eliz@gnu.org \
--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.