Function: semantic-describe-buffer
semantic-describe-buffer is an interactive and byte-compiled function
defined in util.el.gz.
Signature
(semantic-describe-buffer)
Documentation
Describe the semantic environment for the current buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/util.el.gz
(defun semantic-describe-buffer ()
"Describe the semantic environment for the current buffer."
(interactive)
(let ((buff (current-buffer))
)
(with-output-to-temp-buffer (help-buffer)
(help-setup-xref (list #'semantic-describe-buffer)
(called-interactively-p 'interactive))
(with-current-buffer standard-output
(princ "Semantic Configuration in ")
(princ (buffer-name buff))
(princ "\n\n")
(princ "Buffer specific configuration items:\n")
(let ((vars '(major-mode
semantic-case-fold
semantic-tag-expand-function
semantic-parser-name
semantic-parse-tree-state
semantic-lex-analyzer
semantic-lex-reset-functions
semantic-lex-syntax-modifications
)))
(dolist (V vars)
(semantic-describe-buffer-var-helper V buff)))
(princ "\nGeneral configuration items:\n")
(let ((vars '(semantic-inhibit-functions
semantic-init-hook
semantic-init-db-hook
semantic-unmatched-syntax-hook
semantic--before-fetch-tags-hook
semantic-after-toplevel-cache-change-hook
semantic-before-toplevel-cache-flush-hook
semantic-dump-parse
semantic-type-relation-separator-character
semantic-command-separation-character
semantic-new-buffer-fcn-was-run
)))
(dolist (V vars)
(semantic-describe-buffer-var-helper V buff)))
(princ "\n\n")
(mode-local-describe-bindings-2 buff)
)))
)