From: Corwin Brust <corwin@bru.st>
To: Jean Louis <bugs@gnu.support>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>,
Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: How to dump Emacs and use as application snapshot?
Date: Mon, 2 Nov 2020 08:37:43 -0600 [thread overview]
Message-ID: <CAJf-WoT3vuihoCjbAcOWXrVd=sLhYXAqStKbqwJEsiTCBi7r0w@mail.gmail.com> (raw)
In-Reply-To: <X5/Y70sqhbf0bgo2@protected.rcdrun.com>
Hi Jean,
On Mon, Nov 2, 2020 at 6:47 AM Jean Louis <bugs@gnu.support> wrote:
>
> leaf is for now complex for me to understand. I need time to
> understand it.
>
Given that this feature seems destined to reach Emacs core in the near
future, I strongly recommend making time for this sooner vs exploring
alternatives before investing that time.
I think you may find that the documentation for use-package is quite
helpful, with plan language narratives and many usage examples. I'm
not attempting to compare the leaf to use-package here- use-package
has been around for many years and quite a numberr of users have
documented their successes (and frustrations) with it. Even if you
feel strongly that leaf will be preferable for you, I recommend
starting with the main README file for use-package[0]; from what I've
seen the leaf syntax will in many cases the syntax will be identical
and and many authors have contributed, directly to the documentation
and publishing their configurations using it, blogging, etc..
You can anonomously retrieve the use-package project (including the
README.md file where I recommend starting) without visiting any
website, using a command such as:
git clone https://github.com/jwiegley/use-package.git
The most important advantage from use-package for improving your
load-time will likely be the :defer keyword. This can be complicated
but fortunately use-package will generally "do the math" for us, such
that in most cases I'm able to write simple forms like:
(use-package name-of-a-package
:config
(forms-to-run-before-require)
(can-go-here)
:init
(forms-to-run-after-require)
(can-go-here))
All the best,
Corwin
next prev parent reply other threads:[~2020-11-02 14:37 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
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 [this message]
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='CAJf-WoT3vuihoCjbAcOWXrVd=sLhYXAqStKbqwJEsiTCBi7r0w@mail.gmail.com' \
--to=corwin@bru.st \
--cc=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).