From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sivaram Neelakantan Newsgroups: gmane.emacs.help Subject: load-path weirdness for package installs Date: Tue, 27 Jan 2015 23:01:17 +0530 Message-ID: <87y4oojfkq.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422379928 16931 80.91.229.3 (27 Jan 2015 17:32:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 17:32:08 +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 18:32:08 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 1YG9zh-0005MT-In for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 18:32:05 +0100 Original-Received: from localhost ([::1]:48854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG9zf-0001ol-A5 for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 12:32:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG9zF-0001kJ-93 for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 12:31:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG9zA-0003km-PU for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 12:31:37 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:46003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG9zA-0003kf-D4 for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 12:31:32 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YG9z6-0004XF-D6 for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 18:31:28 +0100 Original-Received: from 122.167.107.155 ([122.167.107.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 18:31:28 +0100 Original-Received: from nsivaram.net by 122.167.107.155 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 18:31:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 122.167.107.155 User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:acQ9W5TwvFPxBlNHpydWJLuzQXo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:102310 Archived-At: 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 sivaram --