unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* CEDET branch
@ 2009-09-09  2:23 Chong Yidong
  2009-09-09 16:19 ` David Engster
  0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2009-09-09  2:23 UTC (permalink / raw)
  To: emacs-devel

EIEIO and Semantic are now working in the CVS branch for the CEDET
merge.  The branch name is "cedet-branch", and the branch tag is
CEDET_BASE (tagged a little more than a month ago from the trunk); you
can check out the branch with a "-r cedet-branch" argument to the usual
cvs update command.

Although the two other major components of CEDET (EDE and Srecode) are
still unmerged, and although there are still several rough edges, this
is a good time to look at the branch if you're interested.  Barring
changes in strategy, EDE and Srecode would be handled similar to the way
Semantic has been, so comments/opinions/criticisms are very welcome.

I have not included Semantic's imenu and awk support (still waiting on
papers).  Also omitted is Senator, the package by David Ponce that
alters a lot of basic Emacs commands to use Semantic parsing.  I'm not
sure what to do with Senator; we certainly can't include it as-is,
because it makes heavy use of advice.  Suggestions welcome.


Regarding file placement: EIEIO, Eric's implementation of the CLOS, is
in the lisp/emacs-lisp/ directory.  All other CEDET files go in the
lisp/cedet directory and its subdirectories.  Although lisp/cedet is in
the load-path, I deliberately excluded its subdirectories from the
load-path; so, for instance, lisp/cedet/semantic/ and
lisp/cedet/semantic/wisent/ are not on the load path.  The reason for
this is the "8+3 filenames hack" discussed previously on this list, at

  http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg01214.html

For instance, the file semantic/semantic-analyze.el from the CEDET
repository is now at lisp/cedet/semantic/analyze.el, and can be loaded
with

  (require 'semantic/analyze)

Most of the Semantic files contain autoloaded functions and class
definitions.  During "make autoloads", the autoload definitions are not
put in the global autoloads file (lisp/loaddefs.el), but in
lisp/cedet/semantic/loaddefs.el; this file is loaded when you do
(require 'semantic).  This required a few minor changes to the
autoloads.el.

(The reason not to use lisp/loaddefs.el is that there are lots and lots
of CEDET autoload definitions; CEDET makes liberal use of them to avoid
circular dependencies, whereas in Emacs we generally use autoloads for
user commands.)

The basic Semantic unit tests work, but if you come across any problem,
please let me know.  In particular, some of the necessary autoloads
present in the original CEDET package may have been omitted when
transitioning to the new setup.

Another thing: please don't install non-CEDET-related changes on this
branch, as that would greatly complicate merging to the trunk later.




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

end of thread, other threads:[~2009-09-13 16:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09  2:23 CEDET branch Chong Yidong
2009-09-09 16:19 ` David Engster
2009-09-11  1:22   ` Chong Yidong
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

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).