[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CEDET branch

From: David Engster
Subject: Re: CEDET branch
Date: Wed, 09 Sep 2009 18:19:51 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.96 (gnu/linux)

Chong Yidong <address@hidden> writes:
> The basic Semantic unit tests work, but if you come across any problem,
> please let me know.  In particular, some of the necessary autoloads
> present in the original CEDET package may have been omitted when
> transitioning to the new setup.

Thank you for your work on merging CEDET; I can imagine it's no easy

While playing around with the new branch, a few things popped up:

* I am wondering how the basic CEDET setup should work now, since
  semantic-load.el is not in the branch. In cedet.el, I read I should

   (setq semantic-load-turn-useful-things-on t)
   (require 'cedet)

  However, this does not enable the semanticdb database, which has still
  to be activated through

   (global-semanticdb-minor-mode 1)  ,

  otherwise not much will work.

* There's a "(require 'semantic-analyze)" in scope.el. It's trivial, but
  I attached a patch anyway. :-)

* I guess most of the search macros in semantic/find.el will need
  autoloads, most notably the ones under "Top level searches" and
  probably also the ones under "Deep searches". At the moment, I get an
  error that `semantic-find-tags-by-class' isn't defined.


Index: scope.el
RCS file: /sources/emacs/emacs/lisp/cedet/semantic/Attic/scope.el,v
retrieving revision
diff -u -r1.1.2.4 scope.el
--- scope.el    6 Sep 2009 21:22:06 -0000
+++ scope.el    9 Sep 2009 16:04:35 -0000
@@ -796,7 +796,7 @@
 (defmethod semantic-analyze-show ((context semantic-scope-cache))
   "Insert CONTEXT into the current buffer in a nice way."
-  (require 'semantic-analyze)
+  (require 'semantic/analyze)
   (semantic-analyze-princ-sequence (oref context scopetypes) "-> ScopeTypes: " 
   (semantic-analyze-princ-sequence (oref context parents) "-> Parents: " )
   (semantic-analyze-princ-sequence (oref context scope) "-> Scope: " )

reply via email to

[Prev in Thread] Current Thread [Next in Thread]