unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to dump Emacs and use as application snapshot?
Date: Wed, 28 Oct 2020 05:29:50 +0200	[thread overview]
Message-ID: <83zh47c9jl.fsf@gnu.org> (raw)
In-Reply-To: <X5iNKU9SYpaC1TL7@protected.rcdrun.com> (message from Jean Louis on Wed, 28 Oct 2020 00:12:09 +0300)

> 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.



  parent reply	other threads:[~2020-10-28  3:29 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zh47c9jl.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).