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

is :chords supported? #56

Open
aspiers opened this issue May 20, 2018 · 0 comments
Open

is :chords supported? #56

aspiers opened this issue May 20, 2018 · 0 comments

Comments

@aspiers
Copy link
Collaborator

aspiers commented May 20, 2018

https://github.com/jwiegley/use-package#use-package-chords describes the :chords keyword, but when I try using this from req-package:

(req-package iy-go-to-char
  :require as-key-chord
  :chords (("zv" . iy-go-to-char)))

it fails horribly, since it thinks that :chords is a package to require:

Debugger entered--Lisp error: (error "Package ‘:chords-’ is unavailable")
  signal(error ("Package ‘:chords-’ is unavailable"))
  error("Package `%s-%s' is unavailable" :chords "")
  package-compute-transaction(nil ((:chords)))
  package-install(:chords)
  use-package-ensure-elpa(:chords (t) nil)
  (progn (use-package-ensure-elpa (quote :chords) (quote (t)) (quote nil)) (defvar use-package--warning103 (function (lambda (keyword err) (let ((msg (format "%s/%s: %s" ... keyword ...))) (display-warning (quote use-package) msg :error))))) (condition-case err (progn (condition-case err (progn) ((debug error) (funcall use-package--warning103 :init err))) (if (not (require (quote :chords) nil t)) (display-warning (quote use-package) (format "Cannot load %s" (quote :chords)) :error) (condition-case err (progn (progn (req-package-handle-loading ... ...) (req-package-loaded ...)) t) ((debug error) (funcall use-package--warning103 :config err))))) ((debug error) (funcall use-package--warning103 :catch err))))
  eval((progn (use-package-ensure-elpa (quote :chords) (quote (t)) (quote nil)) (defvar use-package--warning103 (function (lambda (keyword err) (let ((msg (format "%s/%s: %s" ... keyword ...))) (display-warning (quote use-package) msg :error))))) (condition-case err (progn (condition-case err (progn) ((debug error) (funcall use-package--warning103 :init err))) (if (not (require (quote :chords) nil t)) (display-warning (quote use-package) (format "Cannot load %s" (quote :chords)) :error) (condition-case err (progn (progn (req-package-handle-loading ... ...) (req-package-loaded ...)) t) ((debug error) (funcall use-package--warning103 :config err))))) ((debug error) (funcall use-package--warning103 :catch err)))))
  req-package-eval-form((use-package :chords :init (progn) :config (progn (req-package-handle-loading (quote (:chords nil)) (lambda nil nil)) (req-package-loaded (quote (:chords nil))))))
  #[nil "\301�!\207" [EVAL req-package-eval-form] 2]()
  req-package-handle-loading((:chords nil) #[nil "\301�!\207" [EVAL req-package-eval-form] 2])
  req-package-eval((:chords nil))
  #[(key value) "\302�	\303#\303\232\205��\304�\305	#\210\306�!\207" [key req-package-deps-left gethash 0 puthash -1 req-package-eval] 4]((:chords nil) 0)
  maphash(#[(key value) "\302�	\303#\303\232\205��\304�\305	#\210\306�!\207" [key req-package-deps-left gethash 0 puthash -1 req-package-eval] 4] #s(hash-table size 200 test equal rehash-size 1.5 rehash-threshold 0.8 data ((org2blog (org)) -1 (bs nil) -1 (switch-window nil) -1 (smex nil) -1 (flx-ido nil) -1 (company nil) -1 (rpm-spec-mode nil) -1 (apache-mode nil) -1 (xrdb-mode nil) -1 (markdown-mode+ nil) -1 (asciidoc nil) -1 (erin nil) -1 (mediawiki nil) -1 (key-chord nil) -1 (use-package-chords nil) -1 (projectile nil) -1 (as-word-motion nil) -1 (bn-kill-stuff nil) -1 (as-line-ops nil) -1 (as-key-chord nil) -1 (fill-common-prefix-region nil) -1 (set-any-var nil) -1 (tar-mode nil) -1 (auto-compression-mode nil) -1 (recentf nil) -1 (ffap nil) -1 (as-find-file-matching-regexp-hook nil) -1 (keywiz nil) -1 (org nil) -1 (guide-key nil) -1 (hideshow nil) -1 (hideshow-org nil) -1 (coffee-mode nil) -1 (paredit nil) -1 (macrostep nil) -1 (magit nil) -1 (magit-topgit nil) -1 (magit-annex nil) -1 (magit-gerrit nil) -1 (magithub nil) -1 (org-magit (org magit)) -1 (messages-are-flowing nil) -1 (midnight nil) -1 (mmm-mode nil) -1 (mwheel nil) -1 (bn-secondary-region nil) -1 (iy-go-to-char (as-key-chord :chords ("zv" . iy-go-to-char))) 2 (ace-jump-mode nil) -1 (idomenu nil) -1 (expand-region nil) -1 ...)))
  req-package-finish()
  eval-buffer(#<buffer  *load*> nil "/home/adam/.emacs" nil t)  ; Reading at buffer position 2022
  load-with-code-conversion("/home/adam/.emacs" "/home/adam/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "�\205\266�	\306=\203��\307�\310Q\202?�	\311=\204��\307�\312Q\202?�\313\307\314\315#\203*�\316\202?�\313\307\314\317#\203>�\320\321\322!D\nB�\323\202?�\316\324�\325�\324\211#\210�\324=\203e�\326\327\330\307�\331Q!\"\325�\324\211#\210�\324=\203d���\210�\203\247�\332�!\333\232\203\247�\334�!\211\335P\336�!\203\201�\211\202\214�\336�!\203\213��\202\214�\314\262��\203\245�\337��\"\203\243�\340\341��#\210\342\343!\210��\266�\f?\205\264�\314�\325\344\324\211#)\262�\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" initialization format-message "`_emacs' init file is deprecated, please use `.emacs'" "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7]()
  command-line()
  normal-top-level()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant