unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: toogley <toogley@mailbox.org>
To: help-gnu-emacs@gnu.org
Subject: difficulties with installing lispy and its dependencies via el-get
Date: Tue, 2 Aug 2016 11:04:17 +0200	[thread overview]
Message-ID: <20160802090417.d2h4ojceq3rr7syu@laptop> (raw)

hello,

i tried to install the lispy package via 


  (package-initialize)
  (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
  (setq el-get-sources
          (:name lispy
                 :type melpa
                 ;;:pkgname "abo-abo/lispy"
                 )
          ))
  (setq my/packages (append '(lispy)))
  (el-get 'sync my/packages)


=> Which produces the error "Error (el-get): while installing lispy: Unknown recipe type: :melpa"


When i change my init.el to:

  (setq el-get-sources
          (:name lispy
                 :type github
                 :pkgname "abo-abo/lispy"
                 )
          ))
  (setq my/packages (append '(lispy)))
  (el-get 'sync my/packages)

=> Which successfully installs lispy, but after setting "(lispy-mode 1)", I
receive the error "Cannot open load file: No such file or directory, avy", which

I can resolve if i manually set the dependencies of lispy like that:

  (setq el-get-sources
        '((:name org
                 :type git
                 :url "git://orgmode.org/org-mode.git"
                 )
          (:name lispy
                 :type github
                 :pkgname "abo-abo/lispy"
                 )
          (:name avy
                 :type github
                 :pkgname "abo-abo/avy"
                 )
          (:name iedit
                 :type github
                 :pkgname "abo-abo/iedit"
                 )
          (:name swiper
                 :type github
                 :pkgname "abo-abo/swiper"
                 )
          (:name hydra
                 :type github
                 :pkgname "abo-abo/hydra"
                 )
          ))
  (setq my/packages (append '(lispy avy iedit swiper hydra)))
  (el-get 'sync my/packages)


=> But that produces "Symbol’s function definition is void: defhydra" if i want
to set (lispy-mode 1)


What can I do to resolve this issue?

regards,
toogley



                 reply	other threads:[~2016-08-02  9:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160802090417.d2h4ojceq3rr7syu@laptop \
    --to=toogley@mailbox.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).