Mercurial > emacs
comparison lisp/cedet/semantic.el @ 105325:42404460bd67
Doc/message fixes.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 01 Oct 2009 02:39:07 +0000 |
parents | bbd7017a25d9 |
children | 7f4c7f5c0eba |
comparison
equal
deleted
inserted
replaced
105324:2701a9aa1147 | 105325:42404460bd67 |
---|---|
1 ;;; semantic.el --- Semantic buffer evaluator. | 1 ;;; semantic.el --- Semantic buffer evaluator. |
2 | 2 |
3 ;;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 3 ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
4 ;;; 2007, 2008, 2009 Free Software Foundation, Inc. | 4 ;; 2008, 2009 Free Software Foundation, Inc. |
5 | 5 |
6 ;; Author: Eric M. Ludlam <zappo@gnu.org> | 6 ;; Author: Eric M. Ludlam <zappo@gnu.org> |
7 ;; Keywords: syntax | 7 ;; Keywords: syntax |
8 | 8 |
9 ;; This file is part of GNU Emacs. | 9 ;; This file is part of GNU Emacs. |
524 'semantic-working-type) | 524 'semantic-working-type) |
525 | 525 |
526 (defvar semantic-minimum-working-buffer-size (* 1024 5) | 526 (defvar semantic-minimum-working-buffer-size (* 1024 5) |
527 "*The minimum size of a buffer before working messages are displayed. | 527 "*The minimum size of a buffer before working messages are displayed. |
528 Buffers smaller than will parse silently. | 528 Buffers smaller than will parse silently. |
529 Bufferse larger than this will display the working progress bar.") | 529 Buffers larger than this will display the working progress bar.") |
530 | 530 |
531 (defsubst semantic-parser-working-message (&optional arg) | 531 (defsubst semantic-parser-working-message (&optional arg) |
532 "Return the message string displayed while parsing. | 532 "Return the message string displayed while parsing. |
533 If optional argument ARG is non-nil it is appended to the message | 533 If optional argument ARG is non-nil it is appended to the message |
534 string." | 534 string." |
547 "Fetch semantic tags from the current buffer. | 547 "Fetch semantic tags from the current buffer. |
548 If the buffer cache is up to date, return that. | 548 If the buffer cache is up to date, return that. |
549 If the buffer cache is out of date, attempt an incremental reparse. | 549 If the buffer cache is out of date, attempt an incremental reparse. |
550 If the buffer has not been parsed before, or if the incremental reparse | 550 If the buffer has not been parsed before, or if the incremental reparse |
551 fails, then parse the entire buffer. | 551 fails, then parse the entire buffer. |
552 If a lexcial error had been previously discovered and the buffer | 552 If a lexical error had been previously discovered and the buffer |
553 was marked unparseable, then do nothing, and return the cache." | 553 was marked unparseable, then do nothing, and return the cache." |
554 (and | 554 (and |
555 ;; Is this a semantic enabled buffer? | 555 ;; Is this a semantic enabled buffer? |
556 (semantic-active-p) | 556 (semantic-active-p) |
557 ;; Application hooks say the buffer is safe for parsing | 557 ;; Application hooks say the buffer is safe for parsing |
993 global-semantic-idle-completions-mode | 993 global-semantic-idle-completions-mode |
994 global-semantic-idle-scheduler-mode | 994 global-semantic-idle-scheduler-mode |
995 global-semanticdb-minor-mode | 995 global-semanticdb-minor-mode |
996 global-semantic-idle-summary-mode | 996 global-semantic-idle-summary-mode |
997 global-semantic-mru-bookmark-mode) | 997 global-semantic-mru-bookmark-mode) |
998 "List of auxilliary minor modes in the Semantic package.") | 998 "List of auxiliary minor modes in the Semantic package.") |
999 | 999 |
1000 ;;;###autoload | 1000 ;;;###autoload |
1001 (defcustom semantic-default-submodes | 1001 (defcustom semantic-default-submodes |
1002 '(global-semantic-idle-scheduler-mode global-semanticdb-minor-mode) | 1002 '(global-semantic-idle-scheduler-mode global-semanticdb-minor-mode) |
1003 "List of auxilliary Semantic minor modes enabled by `semantic-mode'. | 1003 "List of auxiliary Semantic minor modes enabled by `semantic-mode'. |
1004 The possible elements of this list include the following: | 1004 The possible elements of this list include the following: |
1005 | 1005 |
1006 `semantic-highlight-func-mode' - Highlight the current tag. | 1006 `semantic-highlight-func-mode' - Highlight the current tag. |
1007 `semantic-decoration-mode' - Decorate tags based on various attributes. | 1007 `semantic-decoration-mode' - Decorate tags based on various attributes. |
1008 `semantic-stickyfunc-mode' - Track current function in the header-line. | 1008 `semantic-stickyfunc-mode' - Track current function in the header-line. |