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: RE: Adding Package Repositories in Gnu Emacs 24.4 Date: Wed, 15 Apr 2015 22:42:30 +0000 Message-ID: <06DCFAE4103E2B43BC5E448DCC4334CC0172E5EA@MX107CL01.corp.emc.com> References: <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 1429138135 12154 80.91.229.3 (15 Apr 2015 22:48:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Apr 2015 22:48:55 +0000 (UTC) To: Stefan Monnier , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 00:48:45 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 1YiW6t-0005aN-KV for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2015 00:48:43 +0200 Original-Received: from localhost ([::1]:34428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiW6t-0003S3-4D for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Apr 2015 18:48:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiW1K-0006Qp-Gk for help-gnu-emacs@gnu.org; Wed, 15 Apr 2015 18:42:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiW1H-0005uC-9V for help-gnu-emacs@gnu.org; Wed, 15 Apr 2015 18:42:58 -0400 Original-Received: from mailuogwhop.emc.com ([168.159.213.141]:49755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiW1H-0005to-5V for help-gnu-emacs@gnu.org; Wed, 15 Apr 2015 18:42:55 -0400 Original-Received: from maildlpprd02.lss.emc.com (maildlpprd02.lss.emc.com [10.253.24.34]) by mailuogwprd03.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id t3FMgqmB015101 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 15 Apr 2015 18:42:53 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd03.lss.emc.com t3FMgqmB015101 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1429137773; bh=UuvlxTy1bUucJvroiBeNePFXL0M=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=ieTffupyYO/r5LrEu5pHmQkO8HMfGm0PlpPZ/PhnW1acRF7ZS6sGgwcFEWGicNvOP /+GJCqe2OjrdWzRa7FmMYvdSG0f+dAAKW0nJVmVTykkUvECUFalq5pRXbFWRdK8nkk vG45ZFloMzKY+jvxVYTOuSqwVlj3r1fUZ4yWgT0k= X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd03.lss.emc.com t3FMgqmB015101 Original-Received: from mailusrhubprd02.lss.emc.com (mailusrhubprd02.lss.emc.com [10.253.24.20]) by maildlpprd02.lss.emc.com (RSA Interceptor); Wed, 15 Apr 2015 18:42:04 -0400 Original-Received: from mxhub32.corp.emc.com (mxhub32.corp.emc.com [128.222.70.172]) by mailusrhubprd02.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id t3FMgVN4020571 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 15 Apr 2015 18:42:31 -0400 Original-Received: from MXHUB205.corp.emc.com (10.253.68.31) by mxhub32.corp.emc.com (128.222.70.172) with Microsoft SMTP Server (TLS) id 8.3.327.1; Wed, 15 Apr 2015 18:42:30 -0400 Original-Received: from MX107CL01.corp.emc.com ([169.254.7.39]) by MXHUB205.corp.emc.com ([10.253.68.31]) with mapi id 14.03.0224.002; Wed, 15 Apr 2015 18:42:30 -0400 Thread-Topic: Adding Package Repositories in Gnu Emacs 24.4 Thread-Index: AdB2tnAo0CvCykyySXy0p4IyGRdxvQAYUPBGACyNGWA= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.250.62.178] X-Sentrion-Hostname: mailusrhubprd02.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: 168.159.213.141 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:103755 Archived-At: 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 al= ternative 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 does= n't work for all Emacs bundles. > None of those calls pays attention to package-archives, so if there's a p= roblem it must be elsewhere. My AUCTeX problem had nothing to do with package-archives, except as a solu= tion to my problem. Callingl package-initialize in my .emacs was very much = the way I saw the problem. (I deleted all local initializations, re-install= ed Vincent Goulet's Emacs bundle, Tassilo Horn, an admin on the AUCTeX proj= ect, 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=3Demc.com@gnu.org [mailto:help-= gnu-emacs-bounces+mario.bourgoin=3Demc.com@gnu.org] On Behalf Of Stefan Mon= nier 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=20 > 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 custom= ization 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 pro= blem it must be elsewhere. > My problem with this was that running "package-initialize" in my Emacs=20 > initialization file resulted in a recently-installed version of AUCTeX > (11.88.4) being shadowed by an older built-in version of AUCTeX on=20 > load-path. (I was using Vincent Goulet's installer=20 > emacs-24.4-modified-1.exe from=20 > 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 add= ed to load-path, there's not much we can say. Stefan