From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: CEDET branch Date: Sat, 12 Sep 2009 08:15:29 -0400 Message-ID: <1252757729.4770.43.camel@projectile.siege-engine.com> References: <871vmgyhy2.fsf@stupidchicken.com> <8763bquvfh.fsf@stupidchicken.com> Reply-To: eric@siege-engine.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252757675 28837 80.91.229.12 (12 Sep 2009 12:14:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 12:14:35 +0000 (UTC) Cc: David Engster , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 12 14:14:28 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 1MmRUo-0007ew-R2 for ged-emacs-devel@m.gmane.org; Sat, 12 Sep 2009 14:14:27 +0200 Original-Received: from localhost ([127.0.0.1]:48287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmRUn-00013s-S1 for ged-emacs-devel@m.gmane.org; Sat, 12 Sep 2009 08:14:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmRUg-00012f-V4 for emacs-devel@gnu.org; Sat, 12 Sep 2009 08:14:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmRUg-00011W-2j for emacs-devel@gnu.org; Sat, 12 Sep 2009 08:14:18 -0400 Original-Received: from [199.232.76.173] (port=57408 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmRUf-00011N-Vu for emacs-devel@gnu.org; Sat, 12 Sep 2009 08:14:18 -0400 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net ([71.184.83.10]:51138 helo=projectile.siege-engine.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MmRUf-0004Qr-Lg for emacs-devel@gnu.org; Sat, 12 Sep 2009 08:14:17 -0400 Original-Received: from projectile.siege-engine.com (localhost [127.0.0.1]) by projectile.siege-engine.com (8.14.3/8.14.3/Debian-6) with ESMTP id n8CCFUho028385; Sat, 12 Sep 2009 08:15:30 -0400 Original-Received: (from zappo@localhost) by projectile.siege-engine.com (8.14.3/8.14.3/Submit) id n8CCFTlp028384; Sat, 12 Sep 2009 08:15:29 -0400 X-Authentication-Warning: projectile.siege-engine.com: zappo set sender to eric@siege-engine.com using -f In-Reply-To: <8763bquvfh.fsf@stupidchicken.com> X-Mailer: Evolution 2.26.1 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:115223 Archived-At: On Thu, 2009-09-10 at 21:22 -0400, Chong Yidong wrote: > David Engster writes: > > > 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. > > Thanks for spotting this. I'll work on a fix. > > I wonder, though, whether the merged version of CEDET should provide a > different method for activating CEDET. The out-of-tree version requires > you to put something like > > (setq semantic-load-turn-useful-things-on t) > (require 'cedet) > That commentary was apparently written a very long time ago. The semantic load feature set has command such as: (semantic-load-enable-minimum-features) (semantic-load-enable-code-helpers) (semantic-load-enable-gaudy-code-helpers) which are handy, or a user can turn on the misc features one at a time. The 'minimum features' is actually a list of two minor modes (semanticdb, and the idle scheduler), plus some code to load in caches which is only needed when trying to combine with ebrowse. The idea of a 'cedet' mode is something I'd been contemplating for a while. Even though CEDET is "one" collection of tools, each individual tool (ede, semantic, srecode, etc) is treated independently. Configuring cross-dependencies between these tools can be confusing, or so I guess from the questions I see. Having one master name (cedet) as an interface controlling all the parts so users don't need to see the individual names might be a boon for getting configurations working. The current name set is useful for development where being specific is needed. I updated the cedet.el comments to reflect the 'new way' of configuring things. Eric