Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load with emacs-live-packs after removal of info.el #1

Open
neverfox opened this issue May 20, 2015 · 7 comments
Open

Cannot load with emacs-live-packs after removal of info.el #1

neverfox opened this issue May 20, 2015 · 7 comments

Comments

@neverfox
Copy link

After the commit that removed info.el, I can no longer load this through emacs-live:

==> Loading Emacs Live Pack: ~/.emacs-live-packs/install-packages-pack/
Error - could not find info.el file for pack with location: ~/.emacs-live-packs/install-packages-pack/
Error - no pack name found for pack. Please add to pack's info.el
Error - no pack version found for pack. Please add to packs's info.el
Error - no pack description found for pack. Please add to pack's info.el
@ardumont
Copy link
Owner

Hello,

After the commit that removed info.el, I can no longer load this through emacs-live:

==> Loading Emacs Live Pack: ~/.emacs-live-packs/install-packages-pack/
Error - could not find info.el file for pack with location: ~/.emacs-live-packs/install-packages-pack/
Error - no pack name found for pack. Please add to pack's info.el
Error - no pack version found for pack. Please add to packs's info.el
Error - no pack description found for pack. Please add to pack's info.el

It's more an ardumont/emacs-live-packs issue.

I no longer use it. I use ardumont/prelude-packs and the loading is different.

And at some point, my live-packs stopped following the emacs-live conventions (removing the info.el for one).

Still, I might be able to fix this, providing you will update the ardumont/emacs-live-packs repository.

Cheers,

@ardumont
Copy link
Owner

Ok, this should be ok now.

Update emacs-live-packs repository and submodules (it is now able to load live-packs and other packs with names like pack-name/pack-name.el as per my simple conventions).

And restart emacs-live.

Cheers,

@neverfox
Copy link
Author

Got it. Thanks. So what led you to switch to Prelude? I'm using Emacs mostly for Clojure and started right away with emacs-live. It still feels the most solid in that domain but I also don't like that it seems hard to extend beyond what's included without issues (e.g. using package.el).

@ardumont
Copy link
Owner

Got it. Thanks.

Great!

So what led you to switch to Prelude?

A trial.
And it stuck without me noticing.

Even though I had some work to agnostify my lisp packs from emacs-live
(just a matter of loading elisp files).
It was quite an interesting experience :D

I'm using Emacs mostly for Clojure and started right away with
emacs-live. It still feels the most solid in that domain but I also don't
like that it seems hard to extend beyond what's included without issues
(e.g. using package.el).

I use emacs for almost anything now, not only clojure (at first it was).
Except for browsing, still using firefox.

(btw, I think prelude must be quite good for clojure too since @bbatsov,
prelude's author, is one of the actual maintainers of cider.)

Also, for the limitation you mention, prelude uses package.el so no worries
about that.

Cheers,

tony / @ardumont

On Wed, May 20, 2015 at 5:40 PM, Roman Pearah notifications@github.com
wrote:

Got it. Thanks. So what led you to switch to Prelude? I'm using Emacs
mostly for Clojure and started right away with emacs-live. It still feels
the most solid in that domain but I also don't like that it seems hard to
extend beyond what's included without issues (e.g. using package.el).


Reply to this email directly or view it on GitHub
#1 (comment)
.

@bbatsov
Copy link

bbatsov commented May 20, 2015

(btw, I think prelude must be quite good for clojure too since @bbatsov,
prelude's author, is one of the actual maintainers of cider.)

And pretty much every Clojure-related Emacs package that exists. :-)

@neverfox
Copy link
Author

What I get now is (fresh emacs-live and emacs-live-packs):

Warning (initialization): An error occurred while loading `/Users/neverfox/.emacs.d/init.el':

error: package.el is not yet initialized!

@ardumont
Copy link
Owner

ok.

Add this to your .emacs-live.el before the actual loading of
emacs-live-packs's function call.

(require 'package)
(package-initialize)

...

(emacs-live-packs/add-live-packs "~/.emacs-live-packs/"
                                 '("install-packages-pack"
...
                                   "pres-pack"))

As emacs-live does not use package.el, this could happen.
And prelude does use it.

(I did not see it when testing because the dash and names package are
already installed on my side. Sorry about that.)

Cheers,

tony / @ardumont

On Wed, May 20, 2015 at 11:16 PM, Roman Pearah notifications@github.com
wrote:

What I get now is (fresh emacs-live and emacs-live-packs):

Warning (initialization): An error occurred while loading `/Users/neverfox/.emacs.d/init.el':

error: package.el is not yet initialized!


Reply to this email directly or view it on GitHub
#1 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants