* load-path weirdness for package installs
@ 2015-01-27 17:31 Sivaram Neelakantan
2015-01-27 18:08 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Sivaram Neelakantan @ 2015-01-27 17:31 UTC (permalink / raw)
To: help-gnu-emacs
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
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: load-path weirdness for package installs
2015-01-27 17:31 load-path weirdness for package installs Sivaram Neelakantan
@ 2015-01-27 18:08 ` Eli Zaretskii
2015-01-28 4:07 ` Sivaram Neelakantan
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2015-01-27 18:08 UTC (permalink / raw)
To: help-gnu-emacs
> From: Sivaram Neelakantan <nsivaram.net@gmail.com>
> 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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: load-path weirdness for package installs
2015-01-27 18:08 ` Eli Zaretskii
@ 2015-01-28 4:07 ` Sivaram Neelakantan
2015-01-28 19:24 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Sivaram Neelakantan @ 2015-01-28 4:07 UTC (permalink / raw)
To: help-gnu-emacs
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
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: load-path weirdness for package installs
2015-01-28 4:07 ` Sivaram Neelakantan
@ 2015-01-28 19:24 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2015-01-28 19:24 UTC (permalink / raw)
To: help-gnu-emacs
> From: Sivaram Neelakantan <nsivaram.net@gmail.com>
> Date: Wed, 28 Jan 2015 09:37:30 +0530
>
> 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
Please show the code in your .emacs that tries to load mic-paren.
Also, what does the below produce?
M-x locate-library RET mic-parent RET
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-28 19:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-27 17:31 load-path weirdness for package installs Sivaram Neelakantan
2015-01-27 18:08 ` Eli Zaretskii
2015-01-28 4:07 ` Sivaram Neelakantan
2015-01-28 19:24 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).