Thread: [cedet-semantic] Semantic giving Invalid Function: semantic-mrub-update when trying to set mark wit
Brought to you by:
zappo
From: Collin D. <dcd...@gm...> - 2013-03-13 22:19:13
|
Hi all, Lately when I try to mark a block of text to copy/paste, when I hit ctl+space, there is an error that says Invalid Function: semantic-mrub-update. Sometimes the mark will set if I keep pressing ctl+space, sometimes not. either way - it appears someting isn't working. My config: (setq default-frame-alist '((background-color . "#003344") (foreground-color . "white") (cursor-color . "red"))) (set-foreground-color "white") (set-background-color "black") (set-cursor-color "red") (display-time) (add-to-list 'load-path "~/.emacsel/") ;;The path where you store your *.el files (load "revive") (autoload 'save-current-configuration "revive" "Save status" t) (autoload 'resume "revive" "Resume Emacs" t) (autoload 'wipe "revive" "Wipe Emacs" t) ;;Keyboard shortcuts (define-key ctl-x-map "S" 'save-current-configuration) (define-key ctl-x-map "F" 'resume) (define-key ctl-x-map "K" 'wipe) (add-hook 'lisp-mode-hook (lambda () (slime-mode t))) (add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t))) (setq inferior-lisp-program "clisp") (yas/initialize) (yas/load-directory "/usr/share/emacs/etc/yasnippet/snippets") (global-ede-mode t) (semantic-load-enable-excessive-code-helpers) (setq auto-mode-alist (cons'("\\.cc$" . c++-mode) auto-mode-alist)) (setq auto-mode-alist (cons'("\\.hpp" . c++-mode) auto-mode-alist)) (setq c-default-style '((c++-mode . "stroustrup") (c-mode . "stroustrup"))) (defun my-c-mode-hook() (c-set-offset 'access-label '/) (c-set-offset 'topmost-intro '0) ) (add-hook 'c-mode-hook 'my-c-mode-hook) (add-hook 'c++-mode-hook 'my-c-mode-hook) This is enough to show the problem. I am using cedet-1.1. I am unable to downgrade to 1.0.1 because I get a build error. Any ideas - is this a bug / is there a known bug? Thanks! |
From: Eric M. L. <er...@si...> - 2013-03-14 00:31:07
|
On 03/13/2013 06:19 PM, Collin Day wrote: > Hi all, > > Lately when I try to mark a block of text to copy/paste, when I hit > ctl+space, there is an error that says Invalid Function: > semantic-mrub-update. Sometimes the mark will set if I keep pressing > ctl+space, sometimes not. either way - it appears someting isn't working. > > My config: > (semantic-load-enable-excessive-code-helpers) Hi, You need to have something like: (load-file "~/cedet-VERSION/common/cedet.el") before calling any other features from CEDET. This will override items in Emacs core. I'll guess you have a mix of CEDET versions running, and they are getting confused. See the CEDET 1.1 INSTALL file for an example .emacs file. Good Luck Eric |