From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: load-path weirdness for package installs Date: Tue, 27 Jan 2015 20:08:46 +0200 Message-ID: <83fvawp041.fsf@gnu.org> References: <87y4oojfkq.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422382162 28524 80.91.229.3 (27 Jan 2015 18:09:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 18:09:22 +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 Jan 27 19:09:18 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 1YGAZh-00054E-BV for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 19:09:17 +0100 Original-Received: from localhost ([::1]:49023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGAZg-0004wZ-ON for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 13:09:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGAZT-0004vT-6u for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 13:09:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGAZO-0001uA-40 for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 13:09:03 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:60059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGAZN-0001tu-Sx for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 13:08:58 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NIU00J00KTPJJ00@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 20:07:05 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIU00HECKZSLT20@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 20:07:05 +0200 (IST) In-reply-to: <87y4oojfkq.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 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:102313 Archived-At: > From: Sivaram Neelakantan > Date: Tue, 27 Jan 2015 23:01:17 +0530 > > I've started to use the Emacs package manager for all my package > installs that go into .Emacs.d. However every once in a while, a > package fails to load and I have to explicitly hardcode the path to > the elpa directory. > > I have no idea why it happens. Case in point > > (push "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/mic-paren-3.8" load-path) > (require 'mic-paren) ; loading > (paren-activate) ; activating > > C-h v load-path shows that the path is already there (elided the list > a bit) > > ("c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/all-1.0/" "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/auctex-11.88.1/"... "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/mic-paren-3.8/" ... "c:/gnu/elisp/org-mode/lisp/" "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/mic-paren-3.8" ...) > > This is on a win 7 Emacs build. And the issue also appears on debian > wheezy backport of emacs24.4 Show a backtrace when it fails, then perhaps someone might have an idea. So far you just described a strange failure, but show no evidence that can be used to try to figure out what might go wrong. Btw, does "once in a while" mean that this fails with some specific packages, or does it mean that the same package sometimes loads and sometimes doesn't?