From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: CEDET branch Date: Tue, 08 Sep 2009 22:23:33 -0400 Message-ID: <871vmgyhy2.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252463036 30161 80.91.229.12 (9 Sep 2009 02:23:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2009 02:23:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 09 04:23:49 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 1MlCqY-0003aw-P0 for ged-emacs-devel@m.gmane.org; Wed, 09 Sep 2009 04:23:47 +0200 Original-Received: from localhost ([127.0.0.1]:46076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlCqX-0002yW-RM for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2009 22:23:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlCqR-0002xa-8f for emacs-devel@gnu.org; Tue, 08 Sep 2009 22:23:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlCqM-0002xN-VB for emacs-devel@gnu.org; Tue, 08 Sep 2009 22:23:38 -0400 Original-Received: from [199.232.76.173] (port=54337 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlCqM-0002xK-Pt for emacs-devel@gnu.org; Tue, 08 Sep 2009 22:23:34 -0400 Original-Received: from pantheon-po45.its.yale.edu ([130.132.50.79]:34395) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlCqM-0006aL-GH for emacs-devel@gnu.org; Tue, 08 Sep 2009 22:23:34 -0400 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po45.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n892NXIR030913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 8 Sep 2009 22:23:33 -0400 Original-Received: by furry (Postfix, from userid 1000) id D7621C070; Tue, 8 Sep 2009 22:23:33 -0400 (EDT) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:115157 Archived-At: EIEIO and Semantic are now working in the CVS branch for the CEDET merge. The branch name is "cedet-branch", and the branch tag is CEDET_BASE (tagged a little more than a month ago from the trunk); you can check out the branch with a "-r cedet-branch" argument to the usual cvs update command. Although the two other major components of CEDET (EDE and Srecode) are still unmerged, and although there are still several rough edges, this is a good time to look at the branch if you're interested. Barring changes in strategy, EDE and Srecode would be handled similar to the way Semantic has been, so comments/opinions/criticisms are very welcome. I have not included Semantic's imenu and awk support (still waiting on papers). Also omitted is Senator, the package by David Ponce that alters a lot of basic Emacs commands to use Semantic parsing. I'm not sure what to do with Senator; we certainly can't include it as-is, because it makes heavy use of advice. Suggestions welcome. Regarding file placement: EIEIO, Eric's implementation of the CLOS, is in the lisp/emacs-lisp/ directory. All other CEDET files go in the lisp/cedet directory and its subdirectories. Although lisp/cedet is in the load-path, I deliberately excluded its subdirectories from the load-path; so, for instance, lisp/cedet/semantic/ and lisp/cedet/semantic/wisent/ are not on the load path. The reason for this is the "8+3 filenames hack" discussed previously on this list, at http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg01214.html For instance, the file semantic/semantic-analyze.el from the CEDET repository is now at lisp/cedet/semantic/analyze.el, and can be loaded with (require 'semantic/analyze) Most of the Semantic files contain autoloaded functions and class definitions. During "make autoloads", the autoload definitions are not put in the global autoloads file (lisp/loaddefs.el), but in lisp/cedet/semantic/loaddefs.el; this file is loaded when you do (require 'semantic). This required a few minor changes to the autoloads.el. (The reason not to use lisp/loaddefs.el is that there are lots and lots of CEDET autoload definitions; CEDET makes liberal use of them to avoid circular dependencies, whereas in Emacs we generally use autoloads for user commands.) 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. Another thing: please don't install non-CEDET-related changes on this branch, as that would greatly complicate merging to the trunk later.