From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bourgoin, Mario" Newsgroups: gmane.emacs.help Subject: Adding Package Repositories in Gnu Emacs 24.4 Date: Tue, 14 Apr 2015 13:45:05 +0000 Message-ID: <06DCFAE4103E2B43BC5E448DCC4334CC0172E2B0@MX107CL01.corp.emc.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1429024931 17437 80.91.229.3 (14 Apr 2015 15:22:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2015 15:22:11 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 17:21:54 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yi2ev-0001SP-KP for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 17:21:53 +0200 Original-Received: from localhost ([::1]:56426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi2ev-0005tl-0S for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 11:21:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi19k-0006OX-3g for help-gnu-emacs@gnu.org; Tue, 14 Apr 2015 09:45:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yi19d-0002Qt-4u for help-gnu-emacs@gnu.org; Tue, 14 Apr 2015 09:45:36 -0400 Original-Received: from mailuogwdur.emc.com ([128.221.224.79]:31295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi19c-0002O7-UU for help-gnu-emacs@gnu.org; Tue, 14 Apr 2015 09:45:29 -0400 Original-Received: from maildlpprd52.lss.emc.com (maildlpprd52.lss.emc.com [10.106.48.156]) by mailuogwprd51.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id t3EDjQeC022944 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 14 Apr 2015 09:45:26 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com t3EDjQeC022944 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1429019127; bh=81stuOfaoJVM1Rjgq8zUyjqDbm8=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=SqBggwmqyKbI0GjPvsM8eBzPn4lSaQ2x5/bxRwBNcb6zfpJ7UIsiZyvrXZrRggJ2Q uwVS905hNf79X0ZCkjUXHdERDIkH1KgGHjX50xwDsIFa7PZb09oBGoyyk8AViouarA eNKSIxmn5HgBTQg0keq3zsRWM/BdlVc+BFgkOMEg= X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com t3EDjQeC022944 Original-Received: from mailusrhubprd52.lss.emc.com (mailusrhubprd52.lss.emc.com [10.106.48.25]) by maildlpprd52.lss.emc.com (RSA Interceptor) for ; Tue, 14 Apr 2015 09:45:27 -0400 Original-Received: from mxhub03.corp.emc.com (mxhub03.corp.emc.com [10.254.141.105]) by mailusrhubprd52.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id t3EDj6Aw011946 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 14 Apr 2015 09:45:08 -0400 Original-Received: from MXHUB106.corp.emc.com (10.253.58.23) by mxhub03.corp.emc.com (10.254.141.105) with Microsoft SMTP Server (TLS) id 8.3.327.1; Tue, 14 Apr 2015 09:45:06 -0400 Original-Received: from MX107CL01.corp.emc.com ([169.254.7.39]) by MXHUB106.corp.emc.com ([10.253.58.23]) with mapi id 14.03.0224.002; Tue, 14 Apr 2015 09:45:05 -0400 Thread-Topic: Adding Package Repositories in Gnu Emacs 24.4 Thread-Index: AdB2tnAo0CvCykyySXy0p4IyGRdxvQ== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.238.6.54] X-Sentrion-Hostname: mailusrhubprd52.lss.emc.com X-RSA-Classifications: public X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 128.221.224.79 X-Mailman-Approved-At: Tue, 14 Apr 2015 11:21:20 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103713 Archived-At: How can the custom system be reliably used to add package repositories to G= nu Emacs 24.4 (and later)? Since in 24.4, "package-archives" may be custom= ized, 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 ins= talled 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 init= ialization 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 wa= s 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 con= figuration bundle? Mario Bourgoin Senior Data Scientist - Hopkinton EMC CTD Symmetrix uCode (508) 249-1297 Direct