-
Notifications
You must be signed in to change notification settings - Fork 42
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
load arduino-mode error #14
Comments
Thanks report this. There's probably some changes in cc-mode in Emacs 25 that I need to account for. I'll try to look into it in the next couple of days. |
@bookest Thanks. |
Just as a conflicting data point, I am not able to reproduce this error with the latest arduino-mode from melpa, arduino 1.8, arduino-mk 1.5-2 from ubuntu packages, and emacs 25.1. Everything seems to work fine for me. |
|
emacs-php/php-mode#243 looks related to that problem. |
Seems solved after updated and in new version Emacs. |
When I load arduino-mode with use-package
(use-package arduino-mode)
. I got this error:+BEGIN_EXAMPLE
(invalid-function (append '("HIGH" "LOW" "INPUT" "OUTPUT" "INPUT_PULLUP" "LED_BUILTIN" "true" "false") (c-get-lang-constant 'c-constant-kwds '(cc-langs))))
signal(invalid-function ((append '("HIGH" "LOW" "INPUT" "OUTPUT" "INPUT_PULLUP" "LED_BUILTIN" "true" "false") (c-get-lang-constant 'c-constant-kwds '(cc-langs)))))
c-get-lang-constant(c-matchers-2 (cc-fonts) arduino-mode)
(defconst arduino-font-lock-keywords-2 (c-get-lang-constant 'c-matchers-2 '(cc-fonts) 'arduino-mode) ("/home/stardiviner/.emacs.d/elpa/arduino-mode-20151017.2335/arduino-mode.elc" . 2383))
#(arduino-mode nil noerror)
ad-Advice-require(# arduino-mode nil noerror)
apply(ad-Advice-require # (arduino-mode nil noerror))
require(arduino-mode nil noerror)
(not (require 'arduino-mode nil 'noerror))
+END_EXAMPLE
When I use
(require 'arduino-mode)
, got this error:+BEGIN_EXAMPLE
c-get-lang-constant: ‘c-matchers-2’ got no (prior) value in arduino-mode (might be a cyclic reference)
+END_EXAMPLE
My Emacs version:
25.1.50.5
The text was updated successfully, but these errors were encountered: