From: David Engster <deng@randomsample.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: CEDET branch
Date: Wed, 09 Sep 2009 18:19:51 +0200 [thread overview]
Message-ID: <kz1vmg6qfs.fsf@engster.org> (raw)
In-Reply-To: <871vmgyhy2.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 08 Sep 2009 22:23:33 -0400")
[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]
Chong Yidong <cyd@stupidchicken.com> writes:
> 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.
Thank you for your work on merging CEDET; I can imagine it's no easy
task.
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.
* There's a "(require 'semantic-analyze)" in scope.el. It's trivial, but
I attached a patch anyway. :-)
* 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.
Regards,
David
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: scope-el-patch.diff --]
[-- Type: text/x-diff, Size: 735 bytes --]
Index: scope.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/cedet/semantic/Attic/scope.el,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 scope.el
--- scope.el 6 Sep 2009 21:22:06 -0000 1.1.2.4
+++ scope.el 9 Sep 2009 16:04:35 -0000
@@ -796,7 +796,7 @@
;;
(defmethod semantic-analyze-show ((context semantic-scope-cache))
"Insert CONTEXT into the current buffer in a nice way."
- (require 'semantic-analyze)
+ (require 'semantic/analyze)
(semantic-analyze-princ-sequence (oref context scopetypes) "-> ScopeTypes: " )
(semantic-analyze-princ-sequence (oref context parents) "-> Parents: " )
(semantic-analyze-princ-sequence (oref context scope) "-> Scope: " )
next prev parent reply other threads:[~2009-09-09 16:19 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 [this message]
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
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=kz1vmg6qfs.fsf@engster.org \
--to=deng@randomsample.de \
--cc=cyd@stupidchicken.com \
--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.