help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: load-path weirdness for package installs


From: Sivaram Neelakantan
Subject: Re: load-path weirdness for package installs
Date: Wed, 28 Jan 2015 09:37:30 +0530
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.4 (windows-nt)

On Tue, Jan 27 2015,Eli Zaretskii wrote:

>> From: Sivaram Neelakantan <nsivaram.net@gmail.com>
>> 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
 -- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]