help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to dump Emacs and use as application snapshot?


From: Dante Catalfamo
Subject: Re: How to dump Emacs and use as application snapshot?
Date: Tue, 27 Oct 2020 22:04:38 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

I believe you could either have multiple --eval arguments, or place both the load and dump expressions inside of a (progn ...)

On 10/27/20 5:12 PM, Jean Louis wrote:
* Eli Zaretskii <eliz@gnu.org> [2020-10-27 23:14]:
Date: Tue, 27 Oct 2020 22:51:05 +0300
From: Jean Louis <bugs@gnu.support>
Cc: help-gnu-emacs@gnu.org

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.

No, it implies that the syntax of the argument to -eval is incorrect.

--batch implies -q option

Yes, but what does this have to do with the issue at hand?

dump-emacs-portable can be invoked only under --batch which implies -q
and then I do not know how to load my configuration.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]