unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* CEDET update
@ 2009-09-22  1:39 Chong Yidong
  2009-09-22  1:48 ` Nick Roberts
  2009-09-22 15:30 ` Dan Nicolaescu
  0 siblings, 2 replies; 15+ messages in thread
From: Chong Yidong @ 2009-09-22  1:39 UTC (permalink / raw)
  To: emacs-devel; +Cc: Eric M. Ludlam

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.




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-09-24  7:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22  1:39 CEDET update Chong Yidong
2009-09-22  1:48 ` 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).