changeset 104486:1ca7a97e0322

lisp/cedet/semantic/symref.el: Revert last change. lisp/cedet/semantic/symref/cscope.el: lisp/cedet/semantic/symref/global.el: lisp/cedet/semantic/symref/grep.el: lisp/cedet/semantic/symref/idutils.el: Add local vars for autoloading. Autoload tool classes.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 07 Sep 2009 18:00:19 +0000
parents e59328b6f117
children 5fabb7947fa5
files lisp/cedet/semantic/symref.el lisp/cedet/semantic/symref/cscope.el lisp/cedet/semantic/symref/global.el lisp/cedet/semantic/symref/grep.el lisp/cedet/semantic/symref/idutils.el
diffstat 5 files changed, 28 insertions(+), 42 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cedet/semantic/symref.el	Mon Sep 07 17:59:16 2009 +0000
+++ b/lisp/cedet/semantic/symref.el	Mon Sep 07 18:00:19 2009 +0000
@@ -492,47 +492,6 @@
   "Base tool output parser is not implemented."
   (error "Symref tool objects must implement `semantic-symref-parse-tool-output-one-line'"))
 
-
-;;; Autoload subclasses for semantic-symref-tool-baseclass:
-
-(eieio-defclass-autoload
- 'semantic-symref-tool-cscope '(semantic-symref-tool-baseclass)
- "semantic/symref/cscope"
- "A symref tool implementation using CScope.
-The CScope command can be used to generate lists of tags in a way
-similar to that of `grep'.  This tool will parse the output to generate
-the hit list.
-
-See the function `cedet-cscope-search' for more details.")
-
-(eieio-defclass-autoload
- 'semantic-symref-tool-global '(semantic-symref-tool-baseclass)
- "semantic/symref/global"
- "A symref tool implementation using GNU Global.
-The GNU Global command can be used to generate lists of tags in a way
-similar to that of `grep'.  This tool will parse the output to generate
-the hit list.
-
-See the function `cedet-gnu-global-search' for more details.")
-
-(eieio-defclass-autoload
- 'semantic-symref-tool-grep '(semantic-symref-tool-baseclass)
- "semantic/symref/grep"
- "A symref tool implementation using grep.
-This tool uses EDE to find he root of the project, then executes
-find-grep in the project.  The output is parsed for hits
-and those hits returned.")
-
-(eieio-defclass-autoload
- 'semantic-symref-tool-idutils '(semantic-symref-tool-baseclass)
- "semantic/symref/idutils"
-  "A symref tool implementation using ID Utils.
-The udutils command set can be used to generate lists of tags in a way
-similar to that of `grep'.  This tool will parse the output to generate
-the hit list.
-
-See the function `cedet-idutils-search' for more details.")
-
 (provide 'semantic/symref)
 
 ;; Local variables:
--- a/lisp/cedet/semantic/symref/cscope.el	Mon Sep 07 17:59:16 2009 +0000
+++ b/lisp/cedet/semantic/symref/cscope.el	Mon Sep 07 18:00:19 2009 +0000
@@ -31,6 +31,7 @@
 (declare-function ede-project-root-directory "ede/files")
 
 ;;; Code:
+;;;###autoload
 (defclass semantic-symref-tool-cscope (semantic-symref-tool-baseclass)
   (
    )
@@ -85,4 +86,10 @@
 
 (provide 'semantic/symref/cscope)
 
+;; Local variables:
+;; generated-autoload-file: "../loaddefs.el"
+;; generated-autoload-feature: semantic/loaddefs
+;; generated-autoload-load-name: "semantic/symref/cscope"
+;; End:
+
 ;;; semantic/symref/cscope.el ends here
--- a/lisp/cedet/semantic/symref/global.el	Mon Sep 07 17:59:16 2009 +0000
+++ b/lisp/cedet/semantic/symref/global.el	Mon Sep 07 18:00:19 2009 +0000
@@ -29,6 +29,7 @@
 (require 'semantic/symref)
 
 ;;; Code:
+;;;###autoload
 (defclass semantic-symref-tool-global (semantic-symref-tool-baseclass)
   (
    )
@@ -66,4 +67,10 @@
 
 (provide 'semantic/symref/global)
 
+;; Local variables:
+;; generated-autoload-file: "../loaddefs.el"
+;; generated-autoload-feature: semantic/loaddefs
+;; generated-autoload-load-name: "semantic/symref/global"
+;; End:
+
 ;;; semantic/symref/global.el ends here
--- a/lisp/cedet/semantic/symref/grep.el	Mon Sep 07 17:59:16 2009 +0000
+++ b/lisp/cedet/semantic/symref/grep.el	Mon Sep 07 18:00:19 2009 +0000
@@ -37,7 +37,7 @@
 ;;; Code:
 
 ;;; GREP
-
+;;;###autoload
 (defclass semantic-symref-tool-grep (semantic-symref-tool-baseclass)
   (
    )
@@ -193,4 +193,10 @@
 
 (provide 'semantic/symref/grep)
 
+;; Local variables:
+;; generated-autoload-file: "../loaddefs.el"
+;; generated-autoload-feature: semantic/loaddefs
+;; generated-autoload-load-name: "semantic/symref/grep"
+;; End:
+
 ;;; semantic/symref/grep.el ends here
--- a/lisp/cedet/semantic/symref/idutils.el	Mon Sep 07 17:59:16 2009 +0000
+++ b/lisp/cedet/semantic/symref/idutils.el	Mon Sep 07 18:00:19 2009 +0000
@@ -29,6 +29,7 @@
 (require 'semantic/symref)
 
 ;;; Code:
+;;;###autoload
 (defclass semantic-symref-tool-idutils (semantic-symref-tool-baseclass)
   (
    )
@@ -68,4 +69,10 @@
 
 (provide 'semantic/symref/idutils)
 
+;; Local variables:
+;; generated-autoload-file: "../loaddefs.el"
+;; generated-autoload-feature: semantic/loaddefs
+;; generated-autoload-load-name: "semantic/symref/idutils"
+;; End:
+
 ;;; semantic/symref/idutils.el ends here