xahlee / xah-fly-keys

the most efficient keybinding for emacs
http://xahlee.info/emacs/misc/xah-fly-keys.html
485 stars 82 forks source link

Package ‘emacs-29’ is unavailable #161

Closed zadca123 closed 1 year ago

zadca123 commented 1 year ago

I have encountered on this error while installing this package on emacs 28.2 (debian 12) via use-package and M-x try with smilar results. I temporary """fixed""" it by copying working package directory (~/.emacs.d/elpa/xah-lee-keys-24.10.2023911080522) from working state on pc to my laptop where I have stumbled upon issues.

Debugger entered--Lisp error: (error "Package ‘emacs-29’ is unavailable")
  error("Package `%s-%s' is unavailable" emacs "29")
  package-compute-transaction((#s(package-desc :name xah-fly-keys :version (24 15 20231102161602) :summary "ergonomic modal keybinding minor mode." :reqs ((emacs (29))) :kind tar :archive "nongnu" :dir nil :extras ((:url . "http://xahlee.info/emacs/misc/xah-fly-keys.html") (:keywords "convenience" "emulations" "vim" "ergoemacs") (:maintainer "Xah Lee" . "xah@xahlee.org") (:commit . "9637e144a0a9349ce11f82cd61b413fb95de9659")) :signed nil)) ((emacs (29))) (#s(package-desc :name xah-fly-keys :version (24 15 20231102161602) :summary "ergonomic modal keybinding minor mode." :reqs ((emacs (29))) :kind tar :archive "nongnu" :dir nil :extras ((:url . "http://xahlee.info/emacs/misc/xah-fly-keys.html") (:keywords "convenience" "emulations" "vim" "ergoemacs") (:maintainer "Xah Lee" . "xah@xahlee.org") (:commit . "9637e144a0a9349ce11f82cd61b413fb95de9659")) :signed nil)))
  package-compute-transaction(nil ((xah-fly-keys)))
  package-install(xah-fly-keys)
  use-package-ensure-elpa(xah-fly-keys (t) nil)
  (progn (use-package-ensure-elpa 'xah-fly-keys '(t) 'nil) (defvar use-package--warning52 #'(lambda (keyword err) (let ((msg (format "%s/%s: %s" ... keyword ...))) (display-warning 'use-package msg :error)))) (condition-case err (progn (if (fboundp 'fill-paragraph) nil (autoload #'fill-paragraph "xah-fly-keys" nil t)) (if (fboundp 'delete-indentation) nil (autoload #'delete-indentation "xah-fly-keys" nil t)) (condition-case err (xah-fly-keys t) ((debug error) (funcall use-package--warning52 :init err))) (eval-after-load 'xah-fly-keys #'(lambda nil (condition-case err (progn ... ... ... t) (... ...)))) (progn (let* ((name [remap xah-reformat-lines]) (key (if ... name ...)) (kmap (or ... global-map)) (kdesc (cons ... ...)) (binding (lookup-key kmap key))) (let ((entry ...) (details ...)) (if entry (setcdr entry details) (add-to-list ... ...))) (define-key kmap key #'fill-paragraph)) (let* ((name "M-^") (key [134217822]) (kmap (or ... global-map)) (kdesc (cons ... ...)) (binding (lookup-key kmap key))) (let ((entry ...) (details ...)) (if entry (setcdr entry details) (add-to-list ... ...))) (define-key kmap key #'delete-indentation)))) ((debug error) (funcall use-package--warning52 :catch err))))
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  command-execute(eval-last-sexp)
xahlee commented 1 year ago

made an update, reverted back to just require emacs 27. thanks.