Hi,
You may want to try this:
M-x locate-library semantic-util-modes RET
M-x locate-library semantic-util RET
and make sure they both point to where you expect. It sounds to me
like you have an old version of semantic-util, and the new version of
semantic-util-modes.
Also, you may want to use `semantic-load-turn-useful-things-on' which
is what I generally use. I don't know if that would fix the problem
or not though.
Eric
>>> Kenneth Simpson <ken@...> seems to think that:
>Hi - when I load semantic-14
>
> (add-to-list 'load-path "/home/ken/.xemacs/semantic")
> (setq semantic-load-turn-everything-on t)
> (require 'semantic-load)
>
>it generates the following error
>
>
> (1) (initialization/error) An error has occurred while loading
>~/.emacs:
>
> Symbol's function definition is void: semantic-map-buffers
>
> To ensure normal operation, you should investigate the cause of the
>error
> in your initialization file and remove it. Use the `-debug-init'
>option
> XEmacs to view a complete error backtrace.
>
>Running
>
> xemacs -debug-init
>
>produces the enclosed output:
>
>
>
>
>--
>
>The fault, dear Brutus, is not in our stars...
>
> - Shakespeare
>Signaling: (void-function semantic-map-buffers)
> semantic-map-buffers(#<compiled-function nil "...(4)" [mode 1] 2>)
> semantic-toggle-minor-mode-globally(semantic-show-dirty-mode 1)
> global-semantic-show-dirty-mode(1)
> (progn (global-semantic-show-dirty-mode 1))
>)
> (if semantic-load-turn-everything-on (progn (global-semantic-show-dirty-mode 1)))
>)
> (when semantic-load-turn-everything-on (global-semantic-show-dirty-mode 1))
>)
> (progn (if (and semantic-load-turn-everything-on ...) (add-hook ... ...)) (when (and ... ...) (add-hook ... ...)) (when semantic-load-turn-everything-on (global-semantic-show-dirty-mode 1)) (global-senator-minor-mode 1) (global-semantic-show-unmatched-syntax-mode 1) (global-semantic-auto-parse-mode 1) (global-semanticdb-minor-mode 1) (global-semantic-summary-mode 1))
>)
> (if (or semantic-load-turn-everything-on semantic-load-turn-useful-things-on) (progn (if ... ...) (when ... ...) (when semantic-load-turn-everything-on ...) (global-senator-minor-mode 1) (global-semantic-show-unmatched-syntax-mode 1) (global-semantic-auto-parse-mode 1) (global-semanticdb-minor-mode 1) (global-semantic-summary-mode 1)))
>)
> (when (or semantic-load-turn-everything-on semantic-load-turn-useful-things-on) (if (and semantic-load-turn-everything-on ...) (add-hook ... ...)) (when (and ... ...) (add-hook ... ...)) (when semantic-load-turn-everything-on (global-semantic-show-dirty-mode 1)) (global-senator-minor-mode 1) (global-semantic-show-unmatched-syntax-mode 1) (global-semantic-auto-parse-mode 1) (global-semanticdb-minor-mode 1) (global-semantic-summary-mode 1))
>)
> load-internal("semantic-load" nil t nil nil nil)
> load("semantic-load" nil t nil)
> require(semantic-load)
> load-internal("~/.emacs" t t t nil nil)
> load("~/.emacs" t t t)
> load-user-init-file("")
> load-init-file()
> command-line()
> normal-top-level()
>
|