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
Unbound variable: *GLOBAL-MAP*, Class named APPLICATION-MODE not found #67
Comments
Hi, I am sorry for the problems you are having! I hope we can figure it out together! Firstly, I would just like to confirm, is your configuration being loaded at all? The config system has been updated to XDG specifications and should reside at |
Thank you, i think the problem was with the binary, i had downloaded from the site, if i run from source i get no errors. Now, i know this is another issue but can i ask why is my mode not working? (in-package :next)
(defvar *evil-mode-map* (make-hash-table :test 'equalp))
(define-key *evil-mode-map* (kbd "k") 'scroll-up)
(define-key *evil-mode-map* (kbd "j") 'scroll-down)
(defclass evil-mode (mode) ())
(defun evil-mode ()
(make-instance 'evil-mode
:name "Evil-mode"
:keymap *evil-mode-map*))
(define-key *global-map* (kbd "Escape") 'evil-mode)
(define-key *global-map* (kbd "S-e") 'evil-mode) Neither does Escape or S-e activates the mode |
You need to call |
Yeah, this is an issue, I wanted to make something akin to auto-mode-alist for nEXT (https://www.emacswiki.org/emacs/AutoModeAlist), but that is further down the line, first have to complete the tasks in release 0.08 which will make nEXT much easier to extend |
I'm just playing around, am i missing something?
My ~/.next.d/init.lisp
document-mode-map doesnt work either
The text was updated successfully, but these errors were encountered: