From: Juri Linkov <juri@jurta.org>
To: Christoph <cschol2112@googlemail.com>
Cc: tromey@redhat.com, emacs-devel@gnu.org
Subject: Re: document package.el
Date: Fri, 27 Aug 2010 00:27:32 +0100 [thread overview]
Message-ID: <87lj7t3qj7.fsf@mail.jurta.org> (raw)
In-Reply-To: <4C5CBA32.9000109@gmail.com> (Christoph's message of "Fri, 06 Aug 2010 19:43:14 -0600")
> I am wondering, is there a way to give package.el a list of packages to go
> download from ELPA and install? I would also want it to use this list to
> check for new versions of all packages in the list. Either on startup or on
> command (M-x package-upgrade). Also, on a new installation of Emacs I would
> just tell it "Go get the packages in the list" and it would recreate my
> package configuration on that machine. All I need in version control is the
> list as part of my init.el, instead of putting the entire elpa/ directory
> under version control and deploying it to the new machine.
I guess we need something like `require',
e.g. (package-require FEATURE &optional FILENAME NOERROR).
So you could put in your .emacs:
(package-require 'company)
(package-require 'js2-mode)
(package-require 'rainbow-mode)
and it will take care of installing and activating
your preferred packages on a new installation.
next prev parent reply other threads:[~2010-08-26 23:27 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-06 22:42 document package.el Tom Tromey
2010-08-06 23:48 ` Phil Hagelberg
2010-08-09 16:22 ` Tom Tromey
2010-08-07 1:43 ` Christoph
2010-08-07 8:57 ` Geralt
2010-08-09 16:23 ` Tom Tromey
2010-08-26 23:27 ` Juri Linkov [this message]
2010-08-26 23:50 ` Stefan Monnier
2010-08-27 3:14 ` Christoph
2010-08-27 5:51 ` Uday S Reddy
2010-08-27 3:12 ` Christoph
2010-08-27 7:07 ` Uday S Reddy
2010-08-27 21:40 ` Phil Hagelberg
2010-08-28 17:34 ` Tom Tromey
2010-08-27 6:43 ` Uday S Reddy
2010-08-27 15:51 ` Tom Tromey
2010-08-27 16:17 ` Chong Yidong
2010-08-27 21:43 ` Richard Stallman
2010-08-27 22:58 ` Christoph
2010-08-28 7:25 ` Uday S Reddy
2010-08-07 7:47 ` Eli Zaretskii
2010-08-08 22:39 ` Chong Yidong
2010-08-09 16:24 ` Tom Tromey
2010-08-21 18:22 ` Tom Tromey
2010-08-21 18:51 ` Eli Zaretskii
2010-08-22 1:40 ` Tom Tromey
2010-08-08 23:06 ` Chong Yidong
2010-08-09 21:13 ` Tom Tromey
2010-08-21 18:37 ` Tom Tromey
2010-08-25 17:24 ` Chong Yidong
2010-08-25 17:34 ` Tom Tromey
2010-08-25 17:35 ` Chong Yidong
2010-08-17 14:37 ` Uday S Reddy
2010-08-17 15:57 ` Tom Tromey
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lj7t3qj7.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=cschol2112@googlemail.com \
--cc=emacs-devel@gnu.org \
--cc=tromey@redhat.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.