Re: Activating semantic in Emacs 23.1.91 Pretest

"Berndl, Klaus" <[email protected]> Sat, 20 Feb 2010 13:16:54 +0100
Newsgroups gmane.emacs.cedet,gmane.emacs.semantic,gmane.emacs.code-browser
Message-ID <7697A57B1AD9104F993CDF6A5B69430C08D9E42C88@CORPMAIL08.corp.capgemini.com>
Hi Eric,

thanks....

I detected the new variable `semantic-new-buffer-setup-functions' which is only available in the Emacs-version of cedet, not in your CVS-head.
In this variable emacs-lisp-mode is not added (don't know why not), so emas-lisp-mode is not ready for semantic-parsing by default...
But to add the function `semantic-elisp-default-setup' to this variable it seems i must load semantic/bovine/el.el... is this true?

Two further questions:
1. If using CVS-cedet: When semantic-el.el is loaded (and so emacs-lisp code ready for semantic) if i start Emacs (23.1 without shipped cedet!) with emacs -Q and only load cedet.el (just loading this files seems to load semantic-el.el but i can not see when and why)

2. Currently there seem to exist two completely different activation methods: one for your CVS-cedet and one for the Emacs-shipped cedet. This is ugly and annoying...sorry Eric, for this hard wording...;-) . Do you have plans to "marriage" these two to one single activation-method independ if CVS-cedet is used or Emacs-shipped cedet is used?

Thanks for your help
Klaus
________________________________________
Von: Eric M. Ludlam [[email protected]]
Gesendet: Freitag, 19. Februar 2010 17:40
An: Berndl, Klaus
Cc: [email protected]; [email protected]; [email protected]
Betreff: Re: [CEDET-devel] Activating semantic in Emacs 23.1.91 Pretest

Hi Klaus,

I haven't tried this either.  It is my understanding that it goes like
this, however:

1. emacs -q
2. (semantic-mode)
3. Open some file.

I think semantic-mode turns everything on, but doesn't force
pre-existing buffers to be enabled.

Eric

On 02/19/2010 11:15 AM, Berndl, Klaus wrote:
> Hi,
> anybody out there who can tell me how to activate semantic in Emacs 23.1.91?
> I have installed the pretest version of this emacs fror the sake to make
> ECB compatible with this ona and its included cedet-suite.
> 1. Suppose i have started Emacs without any setup (emacs -q)
> 2. Opening an elisp-file
> 3. M-: (semantic-mode)
> 4. Now semantic should be active (globally or only for this file?) - But
> wehn i do M-: (semantic-active-p) i get always nil. I would expect to
> get t...
> Can anybody help me..what i'm doing wrong?
> Regards,
> Klaus
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev