Re: [CEDET-devel] Activating semantic in Emacs 23.1.91 Pretest
Brought to you by:
zappo
From: Berndl, K. <kla...@ca...> - 2010-02-20 13:14:45
|
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 [er...@si...] Gesendet: Freitag, 19. Februar 2010 17:40 An: Berndl, Klaus Cc: ecb...@li...; ced...@li...; ced...@li... 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 > |