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: Re: CEDET branch Date: Thu, 10 Sep 2009 21:22:42 -0400 Message-ID: <8763bquvfh.fsf@stupidchicken.com> References: <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 1252632185 2336 80.91.229.12 (11 Sep 2009 01:23:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2009 01:23:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 11 03:22:58 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 1Mluqn-0005E5-Ne for ged-emacs-devel@m.gmane.org; Fri, 11 Sep 2009 03:22:58 +0200 Original-Received: from localhost ([127.0.0.1]:42607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mluqm-0006qk-Uk for ged-emacs-devel@m.gmane.org; Thu, 10 Sep 2009 21:22:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mluqh-0006p2-DI for emacs-devel@gnu.org; Thu, 10 Sep 2009 21:22:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mluqc-0006gH-1d for emacs-devel@gnu.org; Thu, 10 Sep 2009 21:22:50 -0400 Original-Received: from [199.232.76.173] (port=53581 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mluqb-0006g6-Tm for emacs-devel@gnu.org; Thu, 10 Sep 2009 21:22:45 -0400 Original-Received: from pantheon-po32.its.yale.edu ([130.132.50.88]:33354) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mluqb-0001VM-Mq for emacs-devel@gnu.org; Thu, 10 Sep 2009 21:22:45 -0400 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po32.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n8B1MhL8021832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 10 Sep 2009 21:22:43 -0400 Original-Received: by furry (Postfix, from userid 1000) id EBA68C070; Thu, 10 Sep 2009 21:22:42 -0400 (EDT) In-Reply-To: (David Engster's message of "Wed, 09 Sep 2009 18:19:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) 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:115180 Archived-At: 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) in your init file, but a package that is included with Emacs should not have to be loaded this way. Rather, there should be a command (or set of commands) that are autoloaded (in the global Emacs loaddefs.el), and calling the command should load the package. > * There's a "(require 'semantic-analyze)" in scope.el. It's trivial, but > I attached a patch anyway. :-) Fixed, thanks. > * 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. The semantic-find-tags-by-class macro should be byte-compiled in-place by any file that requires it. Can you provide a recipe?