[CEDET-devel] making the shipped version of CEDET work

I used to have cedet from bazaar but now, since I'm using emacs 24
everywhere, I thought I could just use the shipped one..
However I can't make it work as the previous one, this is all I would
like to have more or less:
(defun ca-next-tag ()
(interactive)
(semantic-refresh-tags-safe)
(senator-next-tag))
(defun ca-activate-more-semantic-bindings ()
"add some other nice bindings to modes supported by semantic"
(interactive)
(local-set-key (kbd "M-n") 'ca-next-tag)
(local-set-key (kbd "M-p") 'senator-previous-tag)
(local-set-key "\C-cq" 'semantic-ia-show-doc)
;; TODO: the senator stuff should be enabled only where senator
actually works!!
(local-set-key [f6] 'senator-fold-tag-toggle)
;; narrows to the actual function or class analyzed
;; C-x n w to widen again
(local-set-key "\C-xnn" 'semantic-narrow-to-tag)
(local-set-key (kbd "M-.") 'semantic-complete-jump)
(local-set-key (kbd "M-?") 'semantic-ia-fast-jump))
The problem is that all the buffers don't support it now (and bovinate
returns nil in fact), and I don't find the right grammar files in the
wisent..
Is it just not supposed to work then or should I do something else?
----------------------------------------------------------
cedet: 1.0 nil ok
eieio: 1.3 nil ok
semantic: 2.0 nil ok
srecode: 1.0 nil ok
ede: 1.0 nil ok
speedbar: 1.0 nil ok

Thread view

I used to have cedet from bazaar but now, since I'm using emacs 24
everywhere, I thought I could just use the shipped one..
However I can't make it work as the previous one, this is all I would
like to have more or less:
(defun ca-next-tag ()
(interactive)
(semantic-refresh-tags-safe)
(senator-next-tag))
(defun ca-activate-more-semantic-bindings ()
"add some other nice bindings to modes supported by semantic"
(interactive)
(local-set-key (kbd "M-n") 'ca-next-tag)
(local-set-key (kbd "M-p") 'senator-previous-tag)
(local-set-key "\C-cq" 'semantic-ia-show-doc)
;; TODO: the senator stuff should be enabled only where senator
actually works!!
(local-set-key [f6] 'senator-fold-tag-toggle)
;; narrows to the actual function or class analyzed
;; C-x n w to widen again
(local-set-key "\C-xnn" 'semantic-narrow-to-tag)
(local-set-key (kbd "M-.") 'semantic-complete-jump)
(local-set-key (kbd "M-?") 'semantic-ia-fast-jump))
The problem is that all the buffers don't support it now (and bovinate
returns nil in fact), and I don't find the right grammar files in the
wisent..
Is it just not supposed to work then or should I do something else?
----------------------------------------------------------
cedet: 1.0 nil ok
eieio: 1.3 nil ok
semantic: 2.0 nil ok
srecode: 1.0 nil ok
ede: 1.0 nil ok
speedbar: 1.0 nil ok

Hi Andrea,
The CEDET in emacs 24 is still an older pre 1.0 version, as I
understand it anyway. I haven't gotten around to upgrading.
In Emacs, not all modes are supported that are supported from bzr.
In particular, anything in contrib or that had unknown authors is
skipped. In particular, Emacs Lisp mode is not there. See the contents
of semantic-new-buffer-setup-functions for the list of explicitly
supported modes to see if it matches your expectation.
Lastly, I think a lot of autoloads were removed, and that might
affect your ability to just use the fcns without adding a (require
'semantic/senator) for the needed functions.
Eric
On 08/22/2012 06:17 AM, andrea crotti wrote:
> I used to have cedet from bazaar but now, since I'm using emacs 24
> everywhere, I thought I could just use the shipped one..
>
>
> However I can't make it work as the previous one, this is all I would
> like to have more or less:
>
> (defun ca-next-tag ()
> (interactive)
> (semantic-refresh-tags-safe)
> (senator-next-tag))
>
> (defun ca-activate-more-semantic-bindings ()
> "add some other nice bindings to modes supported by semantic"
> (interactive)
> (local-set-key (kbd "M-n") 'ca-next-tag)
> (local-set-key (kbd "M-p") 'senator-previous-tag)
> (local-set-key "\C-cq" 'semantic-ia-show-doc)
> ;; TODO: the senator stuff should be enabled only where senator
> actually works!!
> (local-set-key [f6] 'senator-fold-tag-toggle)
> ;; narrows to the actual function or class analyzed
> ;; C-x n w to widen again
> (local-set-key "\C-xnn" 'semantic-narrow-to-tag)
> (local-set-key (kbd "M-.") 'semantic-complete-jump)
> (local-set-key (kbd "M-?") 'semantic-ia-fast-jump))
>
>
> The problem is that all the buffers don't support it now (and bovinate
> returns nil in fact), and I don't find the right grammar files in the
> wisent..
> Is it just not supposed to work then or should I do something else?
>
> ----------------------------------------------------------
> cedet: 1.0 nil ok
> eieio: 1.3 nil ok
> semantic: 2.0 nil ok
> srecode: 1.0 nil ok
> ede: 1.0 nil ok
> speedbar: 1.0 nil ok
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Cedet-devel mailing list
> Cedet-devel@...
> https://lists.sourceforge.net/lists/listinfo/cedet-devel
>

I found another solution, which is to use the git clone as a submodule.
But now with the same configuration that used to work before I get the
following error, which I'm not quite sure what is it about..
Debugger entered--Lisp error: (error "Don't know how to make a
localized variable an alias")
defvaralias(python-buffer python-shell-internal-buffer nil)
byte-code("\302\303\304\305#\210\306\303\304\307#\210\310\311\312\305#\210\313\305\211\2038