[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoload semantic error
From: |
Benjamin Gramlich |
Subject: |
autoload semantic error |
Date: |
Tue, 21 Aug 2007 17:44:42 +0000 |
Greetings,
I've encountered an error that no amount of searching has helped me
resolve. When I load a .c file normally I get this error:
File mode specification error: (error "Autoloading failed to define
function semantic-default-c-setup")
When I try parse a php buffer in MMM-mode, I get the same error. I've
turn on the toggle-debug-on-error, and was able to click on the
semantic-default-c-setup function. Which brought me to semantic-c.el in
the directory /usr/share/emacs/site-lisp/cedet/semantic/bovine. I have
cedet installed because I use the JDE.
Also, here is the function definition from semantic-c.el:
;;;###autoload
(defun semantic-default-c-setup ()
"Set up a buffer for semantic parsing of the C language."
(semantic-c-by--install-parser)
(setq semantic-lex-syntax-modifications '((?> ".")
(?< ".")
)
)
(setq semantic-lex-analyzer #'semantic-c-lexer)
(setq semantic-lex-spp-macro-symbol-obarray
(semantic-lex-make-spp-table semantic-lex-c-preprocessor-symbol-map))
(add-hook 'semantic-lex-reset-hooks 'semantic-lex-spp-reset-hook nil
t)
)
Thank you for your time,
Benjamin Gramlich
- Dired: configure displayed file/folder details, Will, 2007/08/17
- Re: Dired: configure displayed file/folder details, Eli Zaretskii, 2007/08/17
- Re: Dired: configure displayed file/folder details, poppyer, 2007/08/17
- Re: Dired: configure displayed file/folder details, Dieter Wilhelm, 2007/08/21
- RE: Dired: configure displayed file/folder details, Drew Adams, 2007/08/21
- autoload semantic error,
Benjamin Gramlich <=
- Message not available
- Re: autoload semantic error, pzehnder, 2007/08/22
- Re: autoload semantic error, Hadron, 2007/08/22
- Re: autoload semantic error, Benjamin Gramlich, 2007/08/22
- Re: autoload semantic error, Jason Rumney, 2007/08/22
- Re: Dired: configure displayed file/folder details, Stephen Berman, 2007/08/21
- Re: Dired: configure displayed file/folder details, Dieter Wilhelm, 2007/08/23
Message not available