From: gnuist006@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Adding Package Repositories in Gnu Emacs 24.4
Date: Sun, 19 Apr 2015 16:24:05 -0700 (PDT) [thread overview]
Message-ID: <6640a486-a303-44f2-8f6e-061290c559a5@googlegroups.com> (raw)
In-Reply-To: <mailman.655.1429024881.904.help-gnu-emacs@gnu.org>
On Tuesday, April 14, 2015 at 8:21:25 AM UTC-7, Bourgoin, Mario wrote:
> How can the custom system be reliably used to add package repositories to Gnu Emacs 24.4 (and later)? Since in 24.4, "package-archives" may be customized, that seems the way to go.
>
> Apparently, that approach
> ... only works if the custom system controls package initialisation, which isn't the case in many of the popular configuration bundles.
> Steve Purcell
> https://github.com/milkypostman/melpa/issues/2674
> Steve wrote that people add the code:
> (require 'package)
> ...
> (add-to-list 'package-archives '(...))
> (package-initialize)
> ...
> to the Emacs initialization file so they can depend on "packages" being installed and initialized when later in the initialization file, they have
> (require 'some-package)
> (some-package-whatever-mode t)
> My problem with this was that running "package-initialize" in my Emacs initialization file resulted in a recently-installed version of AUCTeX (11.88.4) being shadowed by an older built-in version of AUCTeX on load-path. (I was using Vincent Goulet's installer emacs-24.4-modified-1.exe from
> http://vgoulet.act.ulaval.ca/en/emacs/windows
> and that problem may be due to AUCTeX initialization.)
>
> So is there one best approach to use, or am I at the mercy of the Emacs configuration bundle?
>
> Mario Bourgoin
> Senior Data Scientist - Hopkinton
> EMC CTD Symmetrix uCode
> (508) 249-1297 Direct
I think your spacing is a little off in this stanza with dotted-pairs
If so, just put something like this in an init file,
then add repositories as dotted pair list items as you
go along:
(setq package-archives
'(( "elpa" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/") ))
It should be
If so, just put something like this in an init file,
then add repositories as dotted pair list items as you
go along:
(setq package-archives
'(( "elpa" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")) )
if at all.
Bolega
next prev parent reply other threads:[~2015-04-19 23:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.655.1429024881.904.help-gnu-emacs@gnu.org>
2015-04-14 16:39 ` Adding Package Repositories in Gnu Emacs 24.4 Emanuel Berg
2015-04-19 23:24 ` gnuist006 [this message]
2015-04-19 23:37 ` Emanuel Berg
2015-04-14 13:45 Bourgoin, Mario
2015-04-15 1:00 ` Stefan Monnier
2015-04-15 22:42 ` Bourgoin, Mario
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=6640a486-a303-44f2-8f6e-061290c559a5@googlegroups.com \
--to=gnuist006@gmail.com \
--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.
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.