all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Bourgoin, Mario" <Mario.Bourgoin@emc.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: Adding Package Repositories in Gnu Emacs 24.4
Date: Wed, 15 Apr 2015 22:42:30 +0000	[thread overview]
Message-ID: <06DCFAE4103E2B43BC5E448DCC4334CC0172E5EA@MX107CL01.corp.emc.com> (raw)
In-Reply-To: <jwvwq1enr83.fsf-monnier+gmane.emacs.help@gnu.org>

Thank you for replying.

> If it doesn't "just work", please report it as a bug.

It does work, for which I'm glad. So I recommended it on melpa.org as an alternative to that they said to do, because their approach led to me having AUCTeX problems. But one of the melpa collaborators said that no, that doesn't work for all Emacs bundles.

> None of those calls pays attention to package-archives, so if there's a problem it must be elsewhere.

My AUCTeX problem had nothing to do with package-archives, except as a solution to my problem. Callingl package-initialize in my .emacs was very much the way I saw the problem. (I deleted all local initializations, re-installed Vincent Goulet's Emacs bundle, Tassilo Horn, an admin on the AUCTeX project, wrote to me on bug-auctex that "Indeed, the auctex initializer of the elpa package uses some hack which I actually don't understand."

--
Mario Bourgoin
Senior Data Scientist - Hopkinton
EMC CTD Symmetrix uCode
(508) 249-1297 Direct


-----Original Message-----
From: help-gnu-emacs-bounces+mario.bourgoin=emc.com@gnu.org [mailto:help-gnu-emacs-bounces+mario.bourgoin=emc.com@gnu.org] On Behalf Of Stefan Monnier
Sent: Tuesday, April 14, 2015 9:01 PM
To: help-gnu-emacs@gnu.org
Subject: Re: Adding Package Repositories in Gnu Emacs 24.4

> How can the custom system be reliably used to add package repositories 
> to Gnu Emacs 24.4 (and later)?

If it doesn't "just work", please report it as a bug.
There are indeed problems when using Custom for some of package.el's customization variables, but for `package-archives' I am not aware of any special problems.

> (package-initialize)
[...]
> (require 'some-package)
> (some-package-whatever-mode t)

None of those calls pays attention to package-archives, so if there's a problem it must be elsewhere.

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

This probably had nothing to do with your setting of package-archives.
And without knowing more about how your older installation fo AUCTeX is added to load-path, there's not much we can say.


        Stefan





  reply	other threads:[~2015-04-15 22:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [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

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=06DCFAE4103E2B43BC5E448DCC4334CC0172E5EA@MX107CL01.corp.emc.com \
    --to=mario.bourgoin@emc.com \
    --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.
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.