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: Eli Zaretskii
Subject: Re: How to dump Emacs and use as application snapshot?
Date: Wed, 28 Oct 2020 05:29:50 +0200

> Date: Wed, 28 Oct 2020 00:12:09 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: help-gnu-emacs@gnu.org
> 
> > > > > 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.

Yes, you do know: you loaded that above.



reply via email to

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