We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Debugger entered--Lisp error: (void-variable alchemist-mode-map)
IIUC the reason is defining the menu before alchemist-mode-map is initialised.
Maybe a (defvar alchemist-mode-map nil) before solves it.
Resp. start with the map, here an example from python.el
(defvar python-mode-map (let ((map (make-sparse-keymap))) ;; Movement (define-key map [remap backward-sentence] 'python-nav-backward-block) (define-key map [remap forward-sentence] 'python-nav-forward-block) (define-key map [remap backward-up-list] 'python-nav-backward-up-list) (define-key map "\C-c\C-j" 'imenu) ;; Indent specific (define-key map "\177" 'python-indent-dedent-line-backspace) (define-key map (kbd "") 'python-indent-dedent-line) (define-key map "\C-c<" 'python-indent-shift-left) (define-key map "\C-c>" 'python-indent-shift-right) ...
The text was updated successfully, but these errors were encountered:
Cool -- was this fixed by #65?
Sorry, something went wrong.
Yes! I could sware I added the "closes" somewhere.
This issue can be closed.
On Wednesday, April 15, 2015, Thomas Moulia notifications@github.com wrote:
Cool -- was this fixed by #65 #65? — Reply to this email directly or view it on GitHub #63 (comment).
Cool -- was this fixed by #65 #65?
— Reply to this email directly or view it on GitHub #63 (comment).
No branches or pull requests
Debugger entered--Lisp error: (void-variable alchemist-mode-map)
IIUC the reason is defining the menu before alchemist-mode-map is initialised.
Maybe a (defvar alchemist-mode-map nil) before solves it.
Resp. start with the map, here an example from python.el
(defvar python-mode-map
(let ((map (make-sparse-keymap)))
;; Movement
(define-key map [remap backward-sentence] 'python-nav-backward-block)
(define-key map [remap forward-sentence] 'python-nav-forward-block)
(define-key map [remap backward-up-list] 'python-nav-backward-up-list)
(define-key map "\C-c\C-j" 'imenu)
;; Indent specific
(define-key map "\177" 'python-indent-dedent-line-backspace)
(define-key map (kbd "") 'python-indent-dedent-line)
(define-key map "\C-c<" 'python-indent-shift-left)
(define-key map "\C-c>" 'python-indent-shift-right)
...
The text was updated successfully, but these errors were encountered: