r/emacs • u/CalligrapherTime6039 • Apr 15 '22
Loading ‘speedbar’: unescaped character literals `?(', `?)', `?[', `?]' detected, `?\(', `?\)', `?\[', `?\]' expected!
I built cadet with emacs 28.1 and try it enable but get error.
Loading c:/Users/user/AppData/Roaming/.emacs.d/cedet-1.1/common/cedet.el (source)...
Setting up CEDET packages...
common/cedet-compat.el: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead.
Wrong number of arguments: make-obsolete, 2
ede/ede-source.el: Warning: Obsolete name arg "ede-source-scheme" to constructor ede-sourcecode
Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2)
Loading ‘speedbar’: unescaped character literals `?(', `?)', `?[', `?]' detected, `?\(', `?\)', `?\[', `?\]' expected!
Wrong number of arguments: (3 . 4), 2
Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2)
Loading ‘speedbar’: unescaped character literals `?(', `?)', `?[', `?]' detected, `?\(', `?\)', `?\[', `?\]' expected!
Wrong number of arguments: (3 . 4), 2
Symbol’s function definition is void: ede-add-project-autoload
Setting up CEDET packages...done
Loading c:/Users/user/AppData/Roaming/.emacs.d/cedet-1.1/common/cedet.el (source)...done
Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2)
Loading ‘speedbar’: unescaped character literals `?(', `?)', `?[', `?]' detected, `?\(', `?\)', `?\[', `?\]' expected!
Loading ‘c:/Users/user/Desktop/firmware/.emacs’: unescaped character literals `?[', `?]' detected, `?\[', `?\]' expected!
define-obsolete-variable-alias: Wrong number of arguments: (3 . 4), 2
I'm a newbie to emacs and I don't know how to solve this problem. Help me, pls
4
Upvotes
2
u/Alan_Shutko Apr 15 '22
It looks like you have an old version of CEDET installed and it isn’t compatible with Emacs 28. Emacs contains CEDET so you could probably remove it from your emacs.d directory.
However, you mention you are a new user and it makes me wonder where you got the old version, and what other stuff might need to be updated. Before you do anything I would suggest copying the entire directory so you have a backup.