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

File mode specification error: (void-variable keymap) #23

Closed
jthaman opened this issue Mar 7, 2021 · 1 comment
Closed

File mode specification error: (void-variable keymap) #23

jthaman opened this issue Mar 7, 2021 · 1 comment

Comments

@jthaman
Copy link

jthaman commented Mar 7, 2021

I'm getting this error from poly-R when I try to load it. I'm using the below configuration, which I slightly abbreviated by removing some custom functions.

(use-package polymode
  :defer t
  :ensure t)

(use-package poly-R
  :defer t
  :after polymode
  :ensure t)

(use-package poly-markdown
  :defer t
  :after polymode
  :mode
  ("\\.Rmd\\'" . poly-markdown+R-mode)
  :ensure t)

@jthaman
Copy link
Author

jthaman commented Mar 7, 2021

I can't make heads or tails of this, but here is the traceback from (require 'poly-R)

Debugger entered--Lisp error: (void-variable keymap)
  byte-code("\304\305!\210\306\307\310\311\"\211\205\17\0\211J\312\303!\210\313\314\10!\203\36\0\10\202Z\0\314\10!\203(\0\315\202P\0\316\11J!\203A\0\317\10\11..." [keymap parent polymode-minor-mode-map poly-noweb-mode-map make-variable-buffer-local poly-noweb-mode (("<" . poly-noweb-electric-<)) pm--config-name poly-latex-root-polymode must-exist makunbound (lambda (def-tmp-var) (defvar poly-noweb-mode-map def-tmp-var "Keymap for poly-noweb-mode.")) keymapp nil eieio-object-p pm--get-keylist\.keymap-from-parent append derived-mode-map-name eieio-oref -minor-mode easy-mmode-define-keymap :inherit poly-noweb-polymode (lambda (def-tmp-var) (defvar poly-noweb-polymode def-tmp-var "Configuration object for `poly-noweb-mode' polymod...")) clone :name "poly-noweb-polymode" :exporters (poly-noweb-latexmk-exporter poly-noweb-pdflatex-exporter poly-noweb-lualatex-exporter poly-noweb-xelatex-exporter) :innermodes (poly-noweb-auto-innermode poly-noweb-inline-innermode) :hostmode poly-noweb-latex-hostmode pm-polymode defalias #f(compiled-function (&optional arg) "Polymode for noweb.\n\n\\{poly-noweb-mode-map}" (interactive nil) #<bytecode -0xfd5dac76cfa44e>) add-minor-mode " PM"] 16)
  require(poly-noweb)
  eval-buffer(#<buffer  *load*> nil "/home/john/.emacs.d/elpa/poly-R-20210210.1053/poly..." nil t)  ; Reading at buffer position 1923
  load-with-code-conversion("/home/john/.emacs.d/elpa/poly-R-20210210.1053/poly..." "/home/john/.emacs.d/elpa/poly-R-20210210.1053/poly..." nil t)
  require(poly-R)
  eval((require 'poly-R) t)
  eval-expression((require 'poly-R) nil nil 127)
  funcall-interactively(eval-expression (require 'poly-R) nil nil 127)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

@jthaman jthaman closed this as completed Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant