|
From: | Jean Louis |
Subject: | Re: How to dump Emacs and use as application snapshot? |
Date: | Tue, 27 Oct 2020 22:51:05 +0300 |
User-agent: | Mutt/+ (1036f0e) (2020-10-18) |
* Eli Zaretskii <eliz@gnu.org> [2020-10-27 21:16]: > > 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. Then it implies I cannot load my configuration into Emacs to dump it. --batch implies -q option
[Prev in Thread] | Current Thread | [Next in Thread] |