From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: CEDET branch Date: Wed, 09 Sep 2009 18:19:51 +0200 Message-ID: References: <871vmgyhy2.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1252516698 24657 80.91.229.12 (9 Sep 2009 17:18:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2009 17:18:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 09 19:18:11 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MlQo7-0007R0-3g for ged-emacs-devel@m.gmane.org; Wed, 09 Sep 2009 19:18:11 +0200 Original-Received: from localhost ([127.0.0.1]:54883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlQo6-0002Yv-Co for ged-emacs-devel@m.gmane.org; Wed, 09 Sep 2009 13:18:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlPtq-0002Zp-Jd for emacs-devel@gnu.org; Wed, 09 Sep 2009 12:20:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlPtp-0002ZE-Lp for emacs-devel@gnu.org; Wed, 09 Sep 2009 12:20:02 -0400 Original-Received: from [199.232.76.173] (port=40342 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlPtp-0002Z2-EU for emacs-devel@gnu.org; Wed, 09 Sep 2009 12:20:01 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:45874) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlPtp-0005Qu-09 for emacs-devel@gnu.org; Wed, 09 Sep 2009 12:20:01 -0400 Original-Received: from kafka.physik3.gwdg.de ([134.76.92.48] helo=kafka) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1MlPth-0007Qg-8U; Wed, 09 Sep 2009 18:19:53 +0200 In-Reply-To: <871vmgyhy2.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 08 Sep 2009 22:23:33 -0400") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.96 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115167 Archived-At: --=-=-= Chong Yidong 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 task. 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 use (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. Regards, David --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=scope-el-patch.diff Index: scope.el =================================================================== RCS file: /sources/emacs/emacs/lisp/cedet/semantic/Attic/scope.el,v retrieving revision 1.1.2.4 diff -u -r1.1.2.4 scope.el --- scope.el 6 Sep 2009 21:22:06 -0000 1.1.2.4 +++ 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: " ) --=-=-=--