all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: David Engster <deng@randomsample.de>
Cc: emacs-devel@gnu.org
Subject: Re: CEDET branch
Date: Thu, 10 Sep 2009 21:22:42 -0400	[thread overview]
Message-ID: <8763bquvfh.fsf@stupidchicken.com> (raw)
In-Reply-To: <kz1vmg6qfs.fsf@engster.org> (David Engster's message of "Wed, 09 Sep 2009 18:19:51 +0200")

David Engster <deng@randomsample.de> 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?




  reply	other threads:[~2009-09-11  1:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09  2:23 CEDET branch Chong Yidong
2009-09-09 16:19 ` David Engster
2009-09-11  1:22   ` Chong Yidong [this message]
2009-09-11  2:56     ` Stefan Monnier
2009-09-11 12:21       ` Jason Rumney
2009-09-11 10:41     ` David Engster
2009-09-13 16:19       ` Chong Yidong
2009-09-12 12:15     ` Eric M. Ludlam
2009-09-12 18:56       ` David Engster
2009-09-12 20:20         ` Eric M. Ludlam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8763bquvfh.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=deng@randomsample.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.