From: Tim Landscheidt <tim@tim-landscheidt.de>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Install packages picked up from a list automatically.
Date: Fri, 25 Dec 2020 08:31:59 +0000 [thread overview]
Message-ID: <87k0t670cg.fsf@passepartout.tim-landscheidt.de> (raw)
In-Reply-To: <CAGP6PO+DXCR-qv=xxk=W19HZvT1jt5YKihLm-7gqaxppDYhfAw@mail.gmail.com> (Hongyi Zhao's message of "Thu, 24 Dec 2020 21:37:20 +0800")
Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> […]
> I'm a thorough beginner as for emacs lisp. Could you please give me
> some hints/notes/comments on the pros can cons of the above two
> mentioned methods? Thanks in advance.
Unwanted advice: I would not (try to) install packages as
part of your initialization. These might fail or install
incompatible versions that you did not expect. Even if they
succeed they require network connectivity and slow down
Emacs's start-up.
I would separate two phases:
1. Install Emacs, distribution-provided Emacs packages, your
.emacs and other initialization files, and (M)ELPA-pro-
vided Emacs packages, the latter either by copying them
from your own "cache" (if they do not depend on the ma-
chine's architecture) or installing them on the command
line. You can use tools like Ansible to automate this
process so that you can just point Ansible at a host and
it will do everything necessary (you could, of course,
also write such a script in Emacs Lisp :-)).
2. Use Emacs everyday with as few external dependencies as
possible. If Emacs starts up, it should do so quickly
and never have to wait for some other machine.
Tim
prev parent reply other threads:[~2020-12-25 8:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-24 13:37 Install packages picked up from a list automatically Hongyi Zhao
2020-12-25 8:31 ` Tim Landscheidt [this message]
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=87k0t670cg.fsf@passepartout.tim-landscheidt.de \
--to=tim@tim-landscheidt.de \
--cc=help-gnu-emacs@gnu.org \
--cc=hongyi.zhao@gmail.com \
/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).