unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Adding Package Repositories in Gnu Emacs 24.4
@ 2015-04-14 13:45 Bourgoin, Mario
  2015-04-15  1:00 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Bourgoin, Mario @ 2015-04-14 13:45 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

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



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.655.1429024881.904.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2015-04-19 23:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 13:45 Adding Package Repositories in Gnu Emacs 24.4 Bourgoin, Mario
2015-04-15  1:00 ` Stefan Monnier
2015-04-15 22:42   ` Bourgoin, Mario
     [not found] <mailman.655.1429024881.904.help-gnu-emacs@gnu.org>
2015-04-14 16:39 ` Emanuel Berg
2015-04-19 23:24 ` gnuist006
2015-04-19 23:37   ` Emanuel Berg

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