Mercurial > emacs
comparison lisp/cedet/semantic/symref.el @ 104446:df08b7ab0ba0
lisp/cedet/semantic/analyze.el: Add local vars for autoloading.
(semantic-analyze-current-context): Autoload.
lisp/cedet/semantic/ctxt.el: Add local vars for autoloading.
Don't eval-when-compile semantic/db
(semantic-ctxt-current-mode): Autoload.
(semantic-up-context): Require semantic/find.
lisp/cedet/semantic/find.el (semantic-current-tag-parent)
(semantic-find-tags-by-scope-protection): Autoload.
lisp/cedet/semantic/format.el (semantic-format-tag-prototype)
(semantic-format-tag-summarize): Autoload.
lisp/cedet/semantic/idle.el: Declare external functions.
(semantic-idle-work-for-one-buffer, semantic-idle-work-core-handler):
Require semantic/db-mode.
(semantic-idle-work-core-handler): Synch to upstream.
(semantic-idle-scheduler-refresh-tags): Require semantic/decorate/mode.
(semantic-idle-summary-find-current-symbol-tag): Require semantic/db-find.
(semantic-idle-summary-current-symbol-info-context): Require
semantic/analyze.
(semantic-idle-summary-maybe-highlight, semantic-idle-tag-highlight):
Require pulse.
(semantic-idle-completion-list-default): Require semantic/complete.
lisp/cedet/semantic/lex-spp.el: Require semantic.
(semantic-lex-spp-analyzer-push-tokens-for-symbol): Synch to upstream.
(semantic-lex-spp-first-token-arg-list): Use split-string.
lisp/cedet/semantic/lex.el: Declare semantic-elapsed-time.
Add local vars for autoloading.
(semantic-lex-test): Require semantic.
(semantic-lex): Autoload.
(semantic-flex): Use semantic-lex-keyword-p to avoid compiler warning.
lisp/cedet/semantic/sb.el: Require semantic/sort.
Declare semanticdb-minor-mode-p.
(semantic-sb-fetch-tag-table): Require semantic/db-mode.
lisp/cedet/semantic/scope.el: eval-when-compile semantic/find.
Declare external functions.
(semantic-analyze-scope-nested-tags-default): Require semantic/analyze.
(semantic-analyze-show): Require semantic/analyze.
(semantic-calculate-scope): Require semantic/db-typecache.
lisp/cedet/semantic/sort.el: Add local vars for autoloading.
Declare semanticdb-find-tags-external-children-of-type.
(semantic-flatten-tags-table, semantic-tag-external-member-parent):
Autoload.
(semantic-tag-external-member-children-default): Require semantic/db-find.
lisp/cedet/semantic/symref.el: Require semantic.
Declare data-debug-new-buffer and data-debug-insert-object-slots.
(semantic-symref-data-debug-last-result): Require eieio-datadebug.
lisp/cedet/semantic/tag-file.el: Declare external functions.
(semantic-go-to-tag): Call semanticdb-table-child-p only if
semantic/db is loaded.
(semantic-dependency-tag-file): Require semantic/dep.
lisp/cedet/semantic/tag-ls.el: Require semantic.
Add local variables for autoloading.
(semantic-tag-prototype-p): Autoload.
lisp/cedet/semantic/tag-write.el: Require semantic.
lisp/cedet/semantic/tag.el: Update external function declarations and
requirements, removing autoloaded functions.
Add local vars for autoloading.
(semantic-tag-components): Autoload.
lisp/cedet/semantic/texi.el: Declare lookup-words.
eval-when-compile semantic/find.
lisp/cedet/semantic/util.el: Update file header.
lisp/cedet/semantic/analyze/complete.el: Add local variables for autoloading.
(semantic-analyze-possible-completions, semantic-analyze-type-constants):
Autoload.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 03 Sep 2009 03:58:13 +0000 |
parents | 24150c0540ae |
children | d66016869489 |
comparison
equal
deleted
inserted
replaced
104445:43eb1ff3a976 | 104446:df08b7ab0ba0 |
---|---|
62 ;; and implement the methods. The baseclass provides support for | 62 ;; and implement the methods. The baseclass provides support for |
63 ;; managing external processes that produce parsable output. | 63 ;; managing external processes that produce parsable output. |
64 ;; | 64 ;; |
65 ;; Your tool should then create an instance of `semantic-symref-result'. | 65 ;; Your tool should then create an instance of `semantic-symref-result'. |
66 | 66 |
67 (require 'semantic/fw) | 67 (require 'semantic) |
68 ;; (require 'ede) | 68 ;; (require 'ede) |
69 (eval-when-compile (require 'data-debug) | 69 |
70 (require 'eieio-datadebug)) | 70 (declare-function data-debug-new-buffer "data-debug") |
71 (declare-function data-debug-insert-object-slots "eieio-datadebug") | |
71 | 72 |
72 ;;; Code: | 73 ;;; Code: |
73 (defvar semantic-symref-tool 'detect | 74 (defvar semantic-symref-tool 'detect |
74 "*The active symbol reference tool name. | 75 "*The active symbol reference tool name. |
75 The tool symbol can be 'detect, or a symbol that is the name of | 76 The tool symbol can be 'detect, or a symbol that is the name of |
132 "The last calculated symref result.") | 133 "The last calculated symref result.") |
133 | 134 |
134 (defun semantic-symref-data-debug-last-result () | 135 (defun semantic-symref-data-debug-last-result () |
135 "Run the last symref data result in Data Debug." | 136 "Run the last symref data result in Data Debug." |
136 (interactive) | 137 (interactive) |
138 (require 'eieio-datadebug) | |
137 (if semantic-symref-last-result | 139 (if semantic-symref-last-result |
138 (progn | 140 (progn |
139 (data-debug-new-buffer "*Symbol Reference ADEBUG*") | 141 (data-debug-new-buffer "*Symbol Reference ADEBUG*") |
140 (data-debug-insert-object-slots semantic-symref-last-result "]")) | 142 (data-debug-insert-object-slots semantic-symref-last-result "]")) |
141 (message "Empty results."))) | 143 (message "Empty results."))) |