comparison lisp/cedet/semantic/complete.el @ 104444:2bf481006ba4

lisp/Makefile.in: Ignore CEDET subdirectories when making subdirs.el. lisp/emacs-lisp/autoload.el (generated-autoload-feature): New var. (autoload-rubric): Use it. lisp/cedet/semantic/adebug.el (data-debug-insert-find-results-button): Require db-find. lisp/cedet/semantic/analyze.el: Require semantic/tag. Don't declare autoloaded functions. lisp/cedet/semantic/chart.el: Don't declare autoloaded functions. lisp/cedet/semantic/complete.el: eval-when-compile semantic/find for macro. (semantic-collector-calculate-completions-raw): Require semantic/db-find. lisp/cedet/semantic/ctxt.el (semantic-up-context): Require semantic/find. Don't require it at top-level. lisp/cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-dump): Require data-debug. Don't require it at top-level. Don't require semantic/sort. lisp/cedet/semantic/db-find.el: Add local vars for autoloading. Don't require semantic/tag-file and semantic/sort. (semanticdb-find-default-throttle, semanticdb-find-result-length) (semanticdb-find-result-nth, semanticdb-find-result-nth-in-buffer) (semanticdb-find-tags-by-name, semanticdb-find-tags-for-completion) (semanticdb-find-translate-path, semanticdb-find-table-for-include): Autoload. lisp/cedet/semantic/db-ref.el: Require semantic and semantic/tag. (semanticdb-ref-test): Require data-debug. Don't require it at top-level. lisp/cedet/semantic/db-typecache.el: Require semantic and semantic/tag. Declare semantic-sort-tags-by-name-then-type-increasing and semantic-scope-tag-clone-with-scope. eval-when-compile semantic/find for semantic-find-tags-by-* macros. Add local vars for autoloading. (semanticdb-typecache-find): Autoload. lisp/cedet/semantic/db.el: Add local vars for autoloading. (semanticdb-current-database, semanticdb-current-table) (semanticdb-file-table-object): Autoload. lisp/cedet/semantic/decorate.el: Don't requirements for autoloaded functions. lisp/cedet/semantic/doc.el: Add local vars for autoloading. (semantic-documentation-for-tag): Autoload. lisp/cedet/semantic/edit.el: Drop requirements for autoloaded functions. lisp/cedet/semantic/find.el: Add local vars for autoloading. (semantic-current-tag, semantic-find-tag-by-overlay) (semantic-find-first-tag-by-name): Autoload. lisp/cedet/semantic/format.el: Add local vars for autoloading. (semantic-format-tag-name, semantic-format-tag-custom-list) (semantic-format-tag-functions): Autoload. lisp/cedet/semantic/fw.el: Require semantic/loaddefs. lisp/cedet/semantic/html.el (semantic-html-recursive-combobulate-list): Use assoc-string instead of assoc-case. lisp/cedet/semantic/ia.el (semantic-ia-insert-tag): Move up to avoid compiler error. (semantic-ia-complete-symbol-menu): Require imenu. (semantic-ia-fast-jump): Require semantic/decorate/include. lisp/cedet/semantic/idle.el: Require semantic and semantic/tag. Declare semanticdb-typecache-refresh-for-buffer and eldoc-message. eval-when-compile semantic/find for semantic-find-tags-by-name macro. lisp/cedet/semantic/sort.el: Add local vars for autoloading. (semantic-flatten-tags-table, semantic-tag-external-member-parent): Autoload. lisp/cedet/semantic/tag-file.el: Add local vars for autoloading. (semantic-go-to-tag, semantic-dependency-tag-file): Autoload. lisp/cedet/semantic/tag-ls.el: Add local vars for autoloading. (semantic-tag-prototype-p): Autoload. lisp/cedet/semantic/tag.el: Don't declare autoloaded functions. lisp/cedet/semantic/analyze/complete.el: Add local variables for autoloading. (semantic-analyze-possible-completions): Autoload. lisp/cedet/semantic/analyze/fcn.el: Require mode-local.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 02 Sep 2009 04:37:10 +0000
parents b22b44e953cb
children 724ff52eda98
comparison
equal deleted inserted replaced
104443:a6c7463e3f20 104444:2bf481006ba4
107 ;; `semantic-complete-inline-tag-engine' will complete text in 107 ;; `semantic-complete-inline-tag-engine' will complete text in
108 ;; a buffer. 108 ;; a buffer.
109 109
110 (require 'eieio) 110 (require 'eieio)
111 (require 'eieio-opt) 111 (require 'eieio-opt)
112 (require 'semantic/tag-file) 112 (require 'semantic)
113 (require 'semantic/analyze) 113 (require 'semantic/analyze)
114 (require 'semantic/ctxt)
115 (require 'semantic/decorate)
114 (require 'semantic/format) 116 (require 'semantic/format)
115 (require 'semantic/ctxt) 117 (require 'semantic/tag)
116 ;; Keep semanticdb optional. 118
117 ;; (eval-when-compile 119 (eval-when-compile
118 ;; (require 'semantic/db) 120 ;; For the semantic-find-tags-for-completion macro.
119 ;; (require 'semantic/db-find)) 121 (require 'semantic/find))
120 (require 'semantic/decorate)
121 (require 'semantic/analyze/complete)
122
123 122
124 (eval-when-compile 123 (eval-when-compile
125 (condition-case nil 124 (condition-case nil
126 ;; Tooltip not available in older emacsen. 125 ;; Tooltip not available in older emacsen.
127 (require 'tooltip) 126 (require 'tooltip)
1209 ;;; Brutish Project search 1208 ;;; Brutish Project search
1210 (defclass semantic-collector-project-brutish (semantic-collector-project-abstract) 1209 (defclass semantic-collector-project-brutish (semantic-collector-project-abstract)
1211 () 1210 ()
1212 "Completion engine for tags in a project.") 1211 "Completion engine for tags in a project.")
1213 1212
1213 (declare-function semanticdb-brute-deep-find-tags-for-completion
1214 "semantic/db-find")
1215
1214 (defmethod semantic-collector-calculate-completions-raw 1216 (defmethod semantic-collector-calculate-completions-raw
1215 ((obj semantic-collector-project-brutish) prefix completionlist) 1217 ((obj semantic-collector-project-brutish) prefix completionlist)
1216 "Calculate the completions for prefix from completionlist." 1218 "Calculate the completions for prefix from completionlist."
1219 (require 'semantic/db-find)
1217 (semanticdb-brute-deep-find-tags-for-completion prefix (oref obj path))) 1220 (semanticdb-brute-deep-find-tags-for-completion prefix (oref obj path)))
1218 1221
1219 (defclass semantic-collector-analyze-completions (semantic-collector-abstract) 1222 (defclass semantic-collector-analyze-completions (semantic-collector-abstract)
1220 ((context :initarg :context 1223 ((context :initarg :context
1221 :type semantic-analyze-context 1224 :type semantic-analyze-context