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: Re: load-path weirdness for package installs Date: Wed, 28 Jan 2015 09:37:30 +0530 Message-ID: <87twzbk0ot.fsf@gmail.com> References: <87y4oojfkq.fsf@gmail.com> <83fvawp041.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422418089 23692 80.91.229.3 (28 Jan 2015 04:08:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2015 04:08:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 05:08: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 1YGJvD-00040z-Px for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2015 05:08:07 +0100 Original-Received: from localhost ([::1]:51208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGJvD-0000uK-1C for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2015 23:08:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGJv1-0000uD-98 for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 23:07:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGJuv-0005Gi-I8 for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 23:07:55 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGJuv-0005GQ-BQ for help-gnu-emacs@gnu.org; Tue, 27 Jan 2015 23:07:49 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YGJus-0003dW-0Q for help-gnu-emacs@gnu.org; Wed, 28 Jan 2015 05:07:46 +0100 Original-Received: from 122.167.217.165 ([122.167.217.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jan 2015 05:07:45 +0100 Original-Received: from nsivaram.net by 122.167.217.165 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jan 2015 05:07:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 68 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 122.167.217.165 User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:3MSGb/EmZ7SUkBPWxVyaS2QbTMo= 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:102326 Archived-At: On Tue, Jan 27 2015,Eli Zaretskii wrote: >> From: Sivaram Neelakantan >> Date: Tue, 27 Jan 2015 23:01:17 +0530 >> [snipped 7 lines] >> (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. Warning (initialization): An error occurred while loading `c:/Users/ADMIN/AppData/Roaming/.emacs': File error: Cannot open load file, no such file or directory, mic-paren mic-paren is available as can be seen from the load paths(elided) ("c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/all-1.0/" ... "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/mic-paren-3.8/" "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/nlinum-1.5/" "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/pkg-info-0.5/" "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/epl-0.7/" "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/popup-0.5.2/" "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/rect+-1.0.7/" "c:/Users/ADMIN/AppData/Roaming/.emacs.d/elpa/smartparens-1.6.3/" ... "c:/gnu/emacs-24.4/share/emacs/24.4/lisp/calc" "c:/gnu/emacs-24.4/share/emacs/24.4/lisp/obsolete") With the above, I don't know why it doesn't load. the files in the directory are mic-paren-autoloads.el mic-paren-pkg.el mic-paren-pkg.elc mic-paren.el mic-paren.elc > > 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? Sorry, wasn't clear. I meant, it happens for specific packages and not that the same packages fails sometimes and loads sometimes. sivaram --