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

Error when loading emacs-avro file in emacs 24.4.50 #1

Open
marcel-becker opened this issue Dec 18, 2014 · 3 comments · May be fixed by #2
Open

Error when loading emacs-avro file in emacs 24.4.50 #1

marcel-becker opened this issue Dec 18, 2014 · 3 comments · May be fixed by #2

Comments

@marcel-becker
Copy link

Hi,

When I load avdl-mode.el in my emacs (24.4.50.1 running on Mac OS Yosemite) I get the following error:

Debugger entered--Lisp error: (error "c-class-decl-kwds' got no (prior) value in c++-mode (might be a cyclic reference)") signal(error ("c-class-decl-kwds' got no (prior) value in c++-mode (might be a cyclic reference)"))
byte-code("\303\304� #\210\305�!\210\306\n@\nA"\207" [sym mode err message "Eval error in the c-lang-defconst' for%s' in %s:" makunbound signal] 4)
c-get-lang-constant(c-matchers-2 (cc-fonts) avdl-mode)
(defconst avdl-font-lock-keywords-2 (c-get-lang-constant (quote c-matchers-2) (quote (cc-fonts)) (quote avdl-mode)) "Fast normal highlighting for AVDL mode.")
eval-buffer(#<buffer load> nil "/Users/marcelbecker/Dropbox/.emacs.d/emacs-avro/avdl-mode.el" nil t) ; Reading at buffer position 1654
load-with-code-conversion("/Users/marcelbecker/Dropbox/.emacs.d/emacs-avro/avdl-mode.el" "/Users/marcelbecker/Dropbox/.emacs.d/emacs-avro/avdl-mode.el" nil nil)
load("/Users/marcelbecker/Dropbox/.emacs.d/emacs-avro/avdl-mode.el" nil nil t)
load-file("/Dropbox/.emacs.d/emacs-avro/avdl-mode.el")
funcall-interactively(load-file "
/Dropbox/.emacs.d/emacs-avro/avdl-mode.el")
call-interactively(load-file record nil)
command-execute(load-file record)
execute-extended-command(nil "load-file")
funcall-interactively(execute-extended-command nil "load-file")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)

@qoshi
Copy link

qoshi commented Mar 10, 2016

reT_T

@Trevoke
Copy link

Trevoke commented Aug 30, 2016

I get the same errors on railwaymacs' emacs 25 on OSX:

Eval error in the ‘c-lang-defconst’ for ‘c-class-decl-kwds’ in avdl-mode:
Eval error in the ‘c-lang-defconst’ for ‘c-typeless-decl-kwds’ in avdl-mode: [2 times]
Eval error in the ‘c-lang-defconst’ for ‘c-keywords’ in avdl-mode:
Eval error in the ‘c-lang-defconst’ for ‘c-regular-keywords-regexp’ in avdl-mode:
Eval error in the ‘c-lang-defconst’ for ‘c-basic-matchers-before’ in avdl-mode:
Eval error in the ‘c-lang-defconst’ for ‘c-matchers-2’ in avdl-mode:
c-get-lang-constant: ‘c-class-decl-kwds’ got no (prior) value in c++-mode (might be a cyclic reference)

If there's no activity from the author on this, I might fork it and try to fix it.

@rlyacht
Copy link

rlyacht commented Jan 11, 2018

This would be extremely useful for me. I took a quick stab at fixing, but quickly got out of my depth. Has anyone got it working? I am using GNU Emacs 25.3.1 on cygwin

@david-m-m david-m-m linked a pull request Jun 5, 2018 that will close this issue
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

Successfully merging a pull request may close this issue.

4 participants