[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to dump Emacs and use as application snapshot?
From: |
Jean Louis |
Subject: |
Re: How to dump Emacs and use as application snapshot? |
Date: |
Wed, 28 Oct 2020 00:12:09 +0300 |
User-agent: |
Mutt/+ (1036f0e) (2020-10-18) |
* 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.
Re: How to dump Emacs and use as application snapshot?, Stefan Monnier, 2020/10/27
Re: How to dump Emacs and use as application snapshot?, Leo Butler, 2020/10/27