all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: emacs-devel@gnu.org
Cc: "Eric M. Ludlam" <eric@siege-engine.com>
Subject: CEDET update
Date: Mon, 21 Sep 2009 21:39:46 -0400	[thread overview]
Message-ID: <874oqv3ggt.fsf@stupidchicken.com> (raw)

The `cedet-branch' branch now contains all the major components of
CEDET: EIEIO, the Semantic parser, Srecode, and EDE.  The latter two are
not tested extensively yet.

If you have not taken a look at this branch, now would be a good time,
as I plan to migrate this code to the trunk soonish.  As most of the
code is now in place, please feel free to suggest patches and changes to
that branch.

Here are some remaining problems on which opinions are welcome:

1. How to activate CEDET?  In the upstream code, just loading the CEDET
   libraries changes your Emacs environment, e.g. it adds mode hooks
   that start the Semantic parser whenever you visit a parser-supported
   file.  A built-in Emacs package cannot behave like this, so in this
   part of the code we must diverge from upstream.

   I have added a minor mode called semantic-mode to deal with this
   problem for Semantic (which is the main offender).  All the Semantic
   parser mode hooks are moved from top-level into this minor mode.

   This minor mode also toggles some of the minor modes that come with
   Semantic.  The affected modes are in the `semantic-default-submodes'
   variable.  So customizing this variable takes the place of the
   hairy methods (involving names like semantic-load-turn-everything-on,
   semantic-load-enable-code-helpers, etc.) used upstream, which again
   are not suitable for a built-in package.

2. I would like to make it possible to enable the different parts of
   CEDET using the menu-bar.  However, CEDET offers too many knobs to
   fit in any of our existing menus, so it probably needs its own
   top-level menu.  One possibility is to add a "toggle CEDET" menu item
   to the Tools menu, which adds or removes a "CEDET" top-level menu.
   But this is not "standard menu-bar behavior"-ish.  Thoughts?

3. Semantic contains a package called Senator, which modifies many of
   the standard Emacs commands to use the parser information.  For the
   built-in version of Semantic, we should probably fold some of this
   functionality into the rest of Emacs.  As an example, I made a change
   to the `complete-symbol' function (bindings.el) so that if Semantic
   is running, it will call semantic-complete-symbol (a modified version
   of senator-complete-symbol that uses standard completion functions).
   I think `find-tag' can be dealt with similarly.  The question is,
   what do we do with Senator ?  Should we keep a compatibility package,
   drop it, or what?  Again, opinions welcome.




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

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22  1:39 Chong Yidong [this message]
2009-09-22  1:48 ` CEDET update Nick Roberts
2009-09-22  2:53   ` Chong Yidong
2009-09-22  3:13     ` Nick Roberts
2009-09-22  5:04       ` Chong Yidong
2009-09-23 10:29       ` AW: " Berndl, Klaus
2009-09-23 11:05         ` Nick Roberts
2009-09-23 16:00         ` Chong Yidong
2009-09-24  3:28           ` tree-buffer.el [was Re: AW: CEDET update] Glenn Morris
2009-09-24  7:50             ` AW: " Berndl, Klaus
2009-09-22 11:24     ` CEDET update Eric M. Ludlam
2009-09-22 15:30 ` Dan Nicolaescu
2009-09-23  9:08   ` Juri Linkov
2009-09-23 10:20     ` David Kastrup
2009-09-23 11:43       ` 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=874oqv3ggt.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.com \
    /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.