-
Notifications
You must be signed in to change notification settings - Fork 151
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 install eglot #551
Comments
Try running |
I tried that command and after that evaluating (use-package eglot
:straight t
) and got this Debugger entered--Lisp error: (void-variable tab-prefix-map)
(define-key tab-prefix-map "p" (function project-other-tab-command))
eval((define-key tab-prefix-map "p" (function project-other-tab-command)))
straight--activate-package-autoloads((:type git :host github :repo "emacs-straight/project" :files ("*" (:exclude ".git")) :package "project" :local-repo "project"))
#f(compiled-function () #<bytecode 0x128489d>)()
straight--transaction-exec(use-package-\(:type\ git\ :host\ github\ :repo\ \"emacs-straight/project\"\ :files\ \(\"*\"\ \(:exclude\ \"\.git\"\)\)\ :package\ \"project\"\ :local-repo\ \"project\"\)-nil-nil :now #f(compiled-function () #<bytecode 0x128489d>))
straight-use-package(project nil nil "Building eglot")
straight--build-package((:type git :flavor melpa :host github :repo "joaotavora/eglot" :package "eglot" :local-repo "eglot") nil)
#f(compiled-function () #<bytecode 0x11e45c9>)()
straight--transaction-exec(use-package-\(:type\ git\ :flavor\ melpa\ :host\ github\ :repo\ \"joaotavora/eglot\"\ :package\ \"eglot\"\ :local-repo\ \"eglot\"\)-nil-nil :now #f(compiled-function () #<bytecode 0x11e45c9>))
straight-use-package(eglot)
(progn (straight-use-package (quote eglot)) (defvar use-package--warning5 (function (lambda (keyword err) (let ((msg (format "%s/%s: %s" ... keyword ...))) (display-warning (quote use-package) msg :error))))) (condition-case err (if (not (require (quote eglot) nil t)) (display-warning (quote use-package) (format "Cannot load %s" (quote eglot)) :error)) ((debug error) (funcall use-package--warning5 :catch err))))
eval((progn (straight-use-package (quote eglot)) (defvar use-package--warning5 (function (lambda (keyword err) (let ((msg ...)) (display-warning (quote use-package) msg :error))))) (condition-case err (if (not (require (quote eglot) nil t)) (display-warning (quote use-package) (format "Cannot load %s" (quote eglot)) :error)) ((debug error) (funcall use-package--warning5 :catch err)))) nil)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp) |
I experience same issue on OSX. Any thoughts about that? Maybe some workaround? |
This is a bug in Emacs, introduced by https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b63c5a7efc89c23230f53a346e29e72a9b4faafc, which causes ;; Package-Requires: ((emacs "26.3"))
;; This is a GNU ELPA :core package. Avoid using functionality that
;; not compatible with the version of Emacs recorded above. You should be able to work around the problem by adding |
Just chiming in to say I experienced this as well, but it works with the newly released Emacs 27.1 Would recommend upgrading if you want to use eglot or lsp anyway since it adds the native json code |
Stopped happening since I upgraded to 27.1 |
This thread is being closed automatically by Tidier because it is labeled with "waiting on response" and has not seen any activity for 90 days. But don't worry—if you have any information that might advance the discussion, leave a comment and I will be happy to reopen the thread :) |
Directions to reproduce
Starting with a clean init file
Error (emacs --debug-init)
Version information
The text was updated successfully, but these errors were encountered: