?
Current Path : /usr/share/emacs/24.3/lisp/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/speedbar.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:31 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/speedbar.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@34 The current version of speedbar. (defvar speedbar-version "1.0" (#$ . 551)) #@184 This version of speedbar is incompatible with this version. Due to massive API changes (removing the use of the word PATH) this version is not backward compatible to 0.14 or earlier. (defvar speedbar-incompatible-version "0.14beta4" (#$ . 634)) (byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\310\312\310\313& \210\304\314\306\315\316\317\310\305\310\320& \210\304\321\306\322\316\317\310\305&\207" [require easymenu dframe sb-image custom-declare-group speedbar nil "File and tag browser frame." :group etags tools convenience speedbar-faces "Faces used in speedbar." :prefix "speedbar-" faces speedbar-vc "Version control display in speedbar."] 10) #@776 List of named expansion elements for filling the speedbar frame. These expansion lists are only valid for regular files. Special modes still get to override this list on a mode-by-mode basis. This list of lists is of the form (NAME MENU KEYMAP FN1 FN2 ...). NAME is a string representing the types of things to be displayed. MENU is an easymenu structure used when in this mode. KEYMAP is a local keymap to install over the regular speedbar keymap. FN1 ... are functions that will be called in order. These functions will always get the default directory to use passed in as the first parameter, and a 0 as the second parameter. The 0 indicates the uppermost indentation level. They must assume that the cursor is at the position where they start inserting buttons. (defvar speedbar-initial-expansion-mode-alist '(("buffers" speedbar-buffer-easymenu-definition speedbar-buffers-key-map speedbar-buffer-buttons) ("quick buffers" speedbar-buffer-easymenu-definition speedbar-buffers-key-map speedbar-buffer-buttons-temp) ("files" speedbar-easymenu-definition-special speedbar-file-key-map speedbar-directory-buttons speedbar-default-directory-list)) (#$ . 1321)) #@190 A symbol name representing the expansion list to use. The expansion list `speedbar-initial-expansion-mode-alist' contains the names and associated functions to use for buttons in speedbar. (defvar speedbar-initial-expansion-list-name "files" (#$ . 2498)) #@156 Save the last expansion list method. This is used for returning to a previous expansion list method when the user is done with the current expansion list. (defvar speedbar-previously-used-expansion-list-name "files" (#$ . 2760)) #@574 List of functions to periodically call stealthily. This list is of the form: '( ("NAME" FUNCTION ...) ...) where NAME is the name of the major display mode these functions are for, and the remaining elements FUNCTION are functions to call in order. Each function must return nil if interrupted, or t if completed. Stealthy functions which have a single operation should always return t. Functions which take a long time should maintain a state (where they are in their speedbar related calculations) and permit interruption. See `speedbar-check-vc' as a good example. (defvar speedbar-stealthy-function-list '(("files" speedbar-update-current-file speedbar-check-read-only speedbar-check-vc speedbar-check-objects)) (#$ . 2996)) #@647 List of function tables to use for different major display modes. It is not necessary to define any functions for a specialized mode. This just provides a simple way of adding lots of customizations. Each sublist is of the form: ("NAME" (FUNCTIONSYMBOL . REPLACEMENTFUNCTION) ...) Where NAME is the name of the specialized mode. The rest of the list is a set of dotted pairs of the form FUNCTIONSYMBOL, which is the name of a function you would like to replace, and REPLACEMENTFUNCTION, which is a function you can call instead. Not all functions can be replaced this way. Replaceable functions must provide that functionality individually. (defvar speedbar-mode-functions-list '(("files" (speedbar-item-info . speedbar-files-item-info) (speedbar-line-directory . speedbar-files-line-directory)) ("buffers" (speedbar-item-info . speedbar-buffers-item-info) (speedbar-line-directory . speedbar-buffers-line-directory)) ("quick buffers" (speedbar-item-info . speedbar-buffers-item-info) (speedbar-line-directory . speedbar-buffers-line-directory))) (#$ . 3737)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\313&\207" [custom-declare-variable speedbar-mode-specific-contents-flag t "Non-nil means speedbar will show special mode contents.\nThis permits some modes to create customized contents for the speedbar\nframe." :group speedbar :type boolean speedbar-query-confirmation-method 'all "Query control for file operations.\nThe 'always flag means to always query before file operations.\nThe 'none-but-delete flag means to not query before any file\noperations, except before a file deletion." (radio (const :tag "Always Query before some file operations." all) (const :tag "Never Query before file operations, except for deletions." none-but-delete))] 8) #@284 Default function list for creating specialized button lists. This list is set by modes that wish to have special speedbar displays. The list is of function names. Each function is called with one parameter BUFFER, the originating buffer. The current buffer is the speedbar buffer. (defvar speedbar-special-mode-expansion-list nil (#$ . 5540)) #@180 Default keymap used when identifying a specialized display mode. This keymap is local to each buffer that wants to define special keybindings effective when its display is shown. (defvar speedbar-special-mode-key-map nil (#$ . 5892)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\307&\210\300\313\314\315\304\305\306\307&\210\300\316\317\320\304\305\306\307\321\322& \210\300\323\311\324\304\305\306\307&\210\300\325\311\326\304\305\306\307&\210\300\327\311\330\304\305\306\331&\207" [custom-declare-variable speedbar-before-visiting-file-hook '(push-mark) "Hooks run before speedbar visits a file in the selected frame.\nThe default buffer is the buffer in the selected window in the attached frame." :group speedbar :type hook speedbar-visiting-file-hook nil "Hooks run when speedbar visits a file in the selected frame." speedbar-before-visiting-tag-hook '(push-mark) "Hooks run before speedbar visits a tag in the selected frame.\nThe default buffer is the buffer in the selected window in the attached frame." speedbar-visiting-tag-hook '(speedbar-highlight-one-tag-line) "Hooks run when speedbar visits a tag in the selected frame." :options (speedbar-highlight-one-tag-line speedbar-recenter-to-top speedbar-recenter) speedbar-load-hook "Hooks run when speedbar is loaded." speedbar-reconfigure-keymaps-hook "Hooks run when the keymaps are regenerated." speedbar-show-unknown-files "Non-nil show files we can't expand with a ? in the expand button.\nA nil value means don't show the file in the list." boolean] 10) (defvar speedbar-update-speed dframe-update-speed) (make-obsolete-variable 'speedbar-update-speed 'dframe-update-speed "speedbar 1.0pre3 (Emacs 23.1)") (defvar speedbar-navigating-speed dframe-update-speed) (byte-code "\300\301\302\303#\210\304\305\306\307\310\311\312\313&\210\304\314\315\316\310\311\312\317&\210\304\320\321\322\323\324\310\311\312\325& \207" [make-obsolete-variable speedbar-navigating-speed dframe-update-speed "speedbar 1.0pre3 (Emacs 23.1)" custom-declare-variable speedbar-frame-parameters '((minibuffer) (width . 20) (border-width . 0) (menu-bar-lines . 0) (tool-bar-lines . 0) (unsplittable . t) (left-fringe . 0)) "Parameters to use when creating the speedbar frame in Emacs.\nAny parameter supported by a frame may be added. The parameter `height'\nwill be initialized to the height of the frame speedbar is\nattached to and added to this list before the new frame is initialized." :group speedbar :type (repeat (cons :format "%v" (symbol :tag "Parameter") (sexp :tag "Value"))) speedbar-frame-plist '(minibuffer nil width 20 border-width 0 internal-border-width 0 unsplittable t default-toolbar-visible-p nil has-modeline-p nil menubar-visible-p nil default-gutter-visible-p nil) "Parameters to use when creating the speedbar frame in XEmacs.\nParameters not listed here which will be added automatically are\n`height' which will be initialized to the height of the frame speedbar\nis attached to." (repeat (group :inline t (symbol :tag "Property") (sexp :tag "Value"))) speedbar-use-imenu-flag (fboundp 'imenu) "Non-nil means use imenu for file parsing, nil to use etags.\nXEmacs prior to 20.4 doesn't support imenu, therefore the default is to\nuse etags instead. Etags support is not as robust as imenu support." :tag "Use Imenu for tags" boolean] 10) #@516 Set to a list of functions which will return and insert a list of tags. Each element is of the form ( FETCH . INSERT ) where FETCH is a function which takes one parameter (the file to tag) and returns a list of tags. The tag list can be of any form as long as the corresponding insert method can handle it. If it returns t, then an error occurred, and the next fetch routine is tried. INSERT is a function which takes an INDENTation level, and a LIST of tags to insert. It will then create the speedbar buttons. (defvar speedbar-dynamic-tags-function-list '((speedbar-fetch-dynamic-imenu . speedbar-insert-imenu-list) (speedbar-fetch-dynamic-etags . speedbar-insert-etags-list)) (#$ . 9247)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\307&\210\300\313\314\315\304\305\306\316&\210\300\317\320\321\304\305\306\307&\210\300\322\323\324\304\305\306\325\326\327& \210\300\330\331\332\304\305\306\333&\210\300\334\335\336\304\305\306\333&\210\300\337\340\341\304\305\306\333&\210\300\342\343\344\304\305\306\345&\210\300\346\347\350\304\305\306\307&\210\300\351\352\353\304\305\306\333&\210\300\354\320\355\304\305\306\307&\210\300\356\320\357\304\305\306\325&\210\300\360\361\362\304\305\306\325&\210\300\363\320\364\304\305\306\325&\210\300\365\320\366\304\305\306\325&\210\300\367\320\370\304\305\306\325&\210\300\371\352\372\304\305\306\333&\207" [custom-declare-variable speedbar-use-tool-tips-flag (fboundp 'tooltip-mode) "Non-nil means to use tool tips if they are available.\nWhen tooltips are not available, mouse-tracking and minibuffer\ndisplay is used instead." :group speedbar :type boolean speedbar-track-mouse-flag (not speedbar-use-tool-tips-flag) "Non-nil means to display info about the line under the mouse." speedbar-default-position 'left-right "Default position of the speedbar frame.\nPossible values are 'left, 'right or 'left-right.\nIf value is 'left-right, the most suitable location is\ndetermined automatically." (radio (const :tag "Automatic" left-right) (const :tag "Left" left) (const :tag "Right" right)) speedbar-sort-tags nil "If non-nil, sort tags in the speedbar display. *Obsolete*.\nUse `semantic-tag-hierarchy-method' instead." speedbar-tag-hierarchy-method '(speedbar-prefix-group-tag-hierarchy speedbar-trim-words-tag-hierarchy) "List of hooks which speedbar will use to organize tags into groups.\nGroups are defined as expandable meta-tags. Imenu supports\nsuch things in some languages, such as separating variables from\nfunctions. Each hook takes one argument LST, and may destructively\ncreate a new list of the same form. LST is a list of elements of the\nform:\n (ELT1 ELT2 ... ELTn)\nwhere each ELT is of the form\n (TAG-NAME-STRING . NUMBER-OR-MARKER)\nor\n (GROUP-NAME-STRING ELT1 ELT2... ELTn)" hook :options (speedbar-prefix-group-tag-hierarchy speedbar-trim-words-tag-hierarchy speedbar-simple-group-tag-hierarchy speedbar-sort-tag-hierarchy) speedbar-tag-group-name-minimum-length 4 "The minimum length of a prefix group name before expanding.\nThus, if the `speedbar-tag-hierarchy-method' includes `prefix-group'\nand one such groups common characters is less than this number of\ncharacters, then the group name will be changed to the form of:\n worda to wordb\ninstead of just\n word\nThis way we won't get silly looking listings." integer speedbar-tag-split-minimum-length 20 "Minimum length before we stop trying to create sub-lists in tags.\nThis is used by all tag-hierarchy methods that break large lists into\nsub-lists." speedbar-tag-regroup-maximum-length 10 "Maximum length of submenus that are regrouped.\nIf the regrouping option is used, then if two or more short subgroups\nare next to each other, then they are combined until this number of\nitems is reached." speedbar-directory-button-trim-method 'span "Indicates how the directory button will be displayed.\nPossible values are:\n 'span - span large directories over multiple lines.\n 'trim - trim large directories to only show the last few.\n nil - no trimming." (radio (const :tag "Span large directories over multiple lines." span) (const :tag "Trim large directories to only show the last few." trim) (const :tag "No trimming." nil)) speedbar-smart-directory-expand-flag t "Non-nil means speedbar should use smart expansion.\nSmart expansion only affects when speedbar wants to display a\ndirectory for a file in the attached frame. When smart expansion is\nenabled, new directories which are children of a displayed directory\nare expanded in the current framework. If nil, then the current\nhierarchy would be replaced with the new directory." speedbar-indentation-width 1 "When sub-nodes are expanded, the number of spaces used for indentation." speedbar-hide-button-brackets-flag "Non-nil means speedbar will hide the brackets around the + or -." speedbar-before-popup-hook "Hooks called before popping up the speedbar frame." speedbar-after-create-hook '(speedbar-frame-reposition-smartly) "Hooks called after popping up the speedbar frame." speedbar-before-delete-hook "Hooks called before deleting the speedbar frame." speedbar-mode-hook "Hook run after creating a speedbar buffer." speedbar-timer-hook "Hooks called after running the speedbar timer function." speedbar-verbosity-level "Verbosity level of the speedbar.\n0 means say nothing.\n1 means medium level verbosity.\n2 and higher are higher levels of verbosity."] 10) #@56 String separating file text from indicator characters. (defvar speedbar-indicator-separator " " (#$ . 14682)) #@136 Non-nil check all files in speedbar to see if they have been checked out. Any file checked out is marked with `speedbar-vc-indicator'. (custom-declare-variable 'speedbar-vc-do-check t '(#$ . 14799) :group 'speedbar-vc :type 'boolean) #@198 Text used to mark files which are currently checked out. Other version control systems can be added by examining the function `speedbar-vc-directory-enable-hook' and `speedbar-vc-in-control-hook'. (defvar speedbar-vc-indicator "*" (#$ . 15040)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\302\311\304\305\306\307&\207" [custom-declare-variable speedbar-vc-directory-enable-hook nil "Return non-nil if the current directory should be checked for Version Control.\nFunctions in this hook must accept one parameter which is the directory\nbeing checked." :group speedbar-vc :type hook speedbar-vc-in-control-hook "Return non-nil if the specified file is under Version Control.\nFunctions in this hook must accept two parameters. The DIRECTORY of the\ncurrent file, and the FILENAME of the file being checked."] 8) #@72 Local variable maintaining the current version control check position. (defvar speedbar-vc-to-do-point nil (#$ . 15874)) #@184 Non-nil check all files in speedbar to see if they have an object file. Any file checked out is marked with `speedbar-obj-indicator', and the marking is based on `speedbar-obj-alist' (custom-declare-variable 'speedbar-obj-do-check t '(#$ . 16002) :group 'speedbar-vc :type 'boolean) #@72 Local variable maintaining the current version control check position. (defvar speedbar-obj-to-do-point nil (#$ . 16291)) #@208 Text used to mark files that have a corresponding hidden object file. The car is for an up-to-date object. The cdr is for an out of date object. The expression `speedbar-obj-alist' defines who gets tagged. (defvar speedbar-obj-indicator '("#" . "!") (#$ . 16420)) #@69 Alist of file extensions, and their corresponding object file type. (defvar speedbar-obj-alist '(("\\.\\([cpC]\\|cpp\\|cc\\|cxx\\)$" . ".o") ("\\.el$" . ".elc") ("\\.java$" . ".class") ("\\.f\\(or\\|90\\|77\\)?$" . ".o") ("\\.tex$" . ".dvi") ("\\.texi$" . ".info")) (#$ . 16691)) #@66 Local variable maintaining the current read only check position. (defvar speedbar-ro-to-do-point nil (#$ . 16977)) #@60 Indicator to append onto a line if that item is Read Only. (defvar speedbar-object-read-only-indicator "%" (#$ . 17098)) #@104 Regular expression used when identifying files. Permits stripping of indicator characters from a line. (defvar speedbar-indicator-regex (byte-code "\304!\305\304 !\306\304\n@!\306\304\nA!\306\304!\307\260\n\207" [speedbar-indicator-separator speedbar-vc-indicator speedbar-obj-indicator speedbar-object-read-only-indicator regexp-quote "\\(" "\\|" "\\)*"] 10) (#$ . 17226)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\313&\207" [custom-declare-variable speedbar-scanner-reset-hook nil "Hook called whenever generic scanners are reset.\nSet this to implement your own scanning / rescan safe functions with\nstate data." :group speedbar :type hook speedbar-ignored-modes '(fundamental-mode) "List of major modes which speedbar will not switch directories for." (choice (const nil) (repeat :tag "List of modes" (symbol :tag "Major mode")))] 8) #@201 Takes EXTLIST, a list of extensions and transforms it into regexp. All the preceding `.' are stripped for an optimized expression starting with `.' followed by extensions, followed by full-filenames. (defalias 'speedbar-extension-list-to-regex #[(extlist) "\303\211\n\203: \304\n@!\305U\203% \211\203 \306\202 \307\n@\310\303OQ\2023 \211\203. \306\202/ \307\n@Q\nA\211\204 \311 \203F \312 \313Q\202G \307 \203S \203S \306\202T \307\203_ \311\314Q\202` \307\315\260*\207" [regex2 regex1 extlist nil string-to-char 46 "\\|" "" 1 "\\(" "\\(\\.\\(" "\\)\\)" "\\)" "\\)$"] 7 (#$ . 18112)]) #@363 Regular expression matching directories speedbar will not switch to. Created from `speedbar-ignored-directory-expressions' with the function `speedbar-extension-list-to-regex' (a misnamed function in this case.) Use the function `speedbar-add-ignored-directory-regexp', or customize the variable `speedbar-ignored-directory-expressions' to modify this variable. (defvar speedbar-ignored-directory-regexp nil (#$ . 18718)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\210\312\304\313\314\315\316\317\320\321\322& \210\312\323\324\325\315\316\317\326&\210\312\327\330\331\315\316\317\326&\207" [prop --dolist-tail-- defvaralias speedbar-ignored-path-expressions speedbar-ignored-directory-expressions nil (saved-value saved-variable-comment) put make-obsolete-variable "22.1" custom-declare-variable '("[/\\]logs?[/\\]\\'") "List of regular expressions matching directories speedbar will ignore.\nThey should included directories which are notoriously very large\nand take a long time to load in. Use the function\n`speedbar-add-ignored-directory-regexp' to add new items to this list after\nspeedbar is loaded. You may place anything you like in this list\nbefore speedbar has been loaded." :group speedbar :type (repeat (regexp :tag "Directory Regexp")) :set #[(_sym val) "\303!\211\207" [val speedbar-ignored-directory-expressions speedbar-ignored-directory-regexp speedbar-extension-list-to-regex] 2] speedbar-directory-unshown-regexp "^\\(\\..*\\)\\'" "Regular expression matching directories not to show in speedbar.\nThey should include commonly existing directories which are not\nuseful. It is no longer necessary to include version-control\ndirectories here; see `vc-directory-exclusion-list'." string speedbar-file-unshown-regexp (let ((nstr #1="") (noext completion-ignored-extensions)) (while noext (setq nstr (concat nstr (regexp-quote (car noext)) "\\'" (if (cdr noext) "\\|" #1#)) noext (cdr noext))) (concat nstr "\\|#[^#]+#$\\|\\.\\.?\\'\\|\\.#")) "Regexp matching files we don't want displayed in a speedbar buffer.\nIt is generated from the variable `completion-ignored-extensions'."] 11) #@168 Regular expression matching files we know how to expand. Created from `speedbar-supported-extension-expressions' with the function `speedbar-extension-list-to-regex'. (defvar speedbar-file-regexp nil (#$ . 20928)) (byte-code "\302\300\303\304\305\306\307\310\311\312& \210\313!\302\207" [speedbar-supported-extension-expressions speedbar-file-regexp custom-declare-variable (append '(".[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?" ".tex\\(i\\(nfo\\)?\\)?" ".el" ".emacs" ".l" ".lsp" ".p" ".java" ".js" ".f\\(90\\|77\\|or\\)?") (if speedbar-use-imenu-flag '(".ad[abs]" ".p[lm]" ".tcl" ".m" ".scm" ".pm" ".py" ".g" ".s?html" ".ma?k" "[Mm]akefile\\(\\.in\\)?"))) "List of regular expressions which will match files supported by tagging.\nDo not prefix the `.' char with a double \\ to quote it, as the period\nwill be stripped by a simplified optimizer when compiled into a\nsingular expression. This variable will be turned into\n`speedbar-file-regexp' for use with speedbar. You should use the\nfunction `speedbar-add-supported-extension' to add a new extension at\nruntime, or use the configuration dialog to set it in your init file.\nIf you add an extension to this list, and it does not appear, you may\nneed to also modify `completion-ignored-extension' which will also help\nfile completion." :group speedbar :type (repeat (regexp :tag "Extension Regexp")) :set #[(_sym val) "\303!\211\207" [val speedbar-supported-extension-expressions speedbar-file-regexp speedbar-extension-list-to-regex] 2] speedbar-extension-list-to-regex] 10) #@286 Add EXTENSION as a new supported extension for speedbar tagging. This should start with a `.' if it is not a complete file name, and the dot should NOT be quoted in with \. Other regular expression matchers are allowed however. EXTENSION may be a single string or a list of strings. (defalias 'speedbar-add-supported-extension #[(extension) "<\204 C\203 @ \235\204 @ BA\211\204\f \303 !\211\207" [extension speedbar-supported-extension-expressions speedbar-file-regexp speedbar-extension-list-to-regex] 3 (#$ . 22473) "sExtension: "]) #@212 Add DIRECTORY-EXPRESSION as a new ignored directory for speedbar tracking. This function will modify `speedbar-ignored-directory-regexp' and add DIRECTORY-EXPRESSION to `speedbar-ignored-directory-expressions'. (defalias 'speedbar-add-ignored-directory-regexp #[(directory-expression) "<\204 C\203 @ \235\204 @ BA\211\204\f \303 !\211\207" [directory-expression speedbar-ignored-directory-expressions speedbar-ignored-directory-regexp speedbar-extension-list-to-regex] 3 (#$ . 23030) "sDirectory regex: "]) (byte-code "\304\305!\204 \306!\306\n!\305\307\310\311\312\313\314\315\316\317\320\321&\207" [speedbar-supported-extension-expressions speedbar-file-regexp speedbar-ignored-directory-expressions speedbar-ignored-directory-regexp fboundp custom-declare-variable speedbar-extension-list-to-regex speedbar-update-flag dframe-have-timer-flag "Non-nil means to automatically update the display.\nWhen this is nil then speedbar will not follow the attached frame's directory.\nIf you want to change this while speedbar is active, either use\n\\[customize] or call \\<speedbar-mode-map> `\\[speedbar-toggle-updates]'." :group speedbar :initialize custom-initialize-default :set #[(sym val) " L\210\302 \207" [sym val speedbar-toggle-updates] 2] :type boolean] 12) #@50 Permanently disable changing of the update flag. (defvar speedbar-update-flag-disable nil (#$ . 24319)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\207" [prop --dolist-tail-- defvaralias speedbar-syntax-table speedbar-mode-syntax-table nil (saved-value saved-variable-comment) put make-obsolete-variable "24.1"] 6) #@36 Syntax-table used on the speedbar. (defvar speedbar-mode-syntax-table (byte-code "\301 \302\303\304#\210\302\305\304#\210\302\306\304#\210\302\307\304#\210\302\310\304#\210\302\311\304#\210\302\312\304#\210\302\313\304#\210)\207" [st make-syntax-table modify-syntax-entry 39 " " 34 40 41 123 125 91 93] 4) (#$ . 24728)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\207" [prop --dolist-tail-- defvaralias speedbar-key-map speedbar-mode-map nil (saved-value saved-variable-comment) put make-obsolete-variable "24.1"] 6) #@33 Keymap used in speedbar buffer. (defvar speedbar-mode-map (byte-code "\301 \302\303\"\210\304\305\306#\210\304\307\310#\210\304\311\312#\210\304\313\314#\210\304\315\316#\210\304\317\320#\210\304\321\322#\210\304\323\324#\210\304\325\326#\210\304\327\330#\210\304\331\332#\210\333!\210)\207" [map make-keymap suppress-keymap t define-key "t" speedbar-toggle-updates "g" speedbar-refresh "n" speedbar-next "p" speedbar-prev "\356" speedbar-restricted-next "\360" speedbar-restricted-prev "\216" speedbar-forward-list "\220" speedbar-backward-list "r" #[nil "\301!\207" [speedbar-previously-used-expansion-list-name speedbar-change-initial-expansion-list] 2 nil nil] "b" #[nil "\300\301!\207" [speedbar-change-initial-expansion-list "quick buffers"] 2 nil nil] "f" #[nil "\300\301!\207" [speedbar-change-initial-expansion-list "files"] 2 nil nil] dframe-update-keymap] 4) (#$ . 25349)) #@155 Create a keymap for use with a speedbar major or minor display mode. This basically creates a sparse keymap, and makes its parent be `speedbar-mode-map'. (defalias 'speedbar-make-specialized-keymap #[nil "\302 \303 \"\210)\207" [k speedbar-mode-map make-sparse-keymap set-keymap-parent] 3 (#$ . 26256)]) #@59 Keymap used in speedbar buffer while files are displayed. (defvar speedbar-file-key-map (byte-code "\301 \302\303\304#\210\302\305\304#\210\302\306\307#\210\302\310\307#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210\302\333\334#\210\302\335\336#\210\302\337\340#\210\302\341\342#\210)\207" [map speedbar-make-specialized-keymap define-key "e" speedbar-edit-line " " "+" speedbar-expand-line "=" "-" speedbar-contract-line "[" speedbar-expand-line-descendants "]" speedbar-contract-line-descendants " " speedbar-toggle-line-expansion "U" speedbar-up-directory "I" speedbar-item-info "B" speedbar-item-byte-compile "L" speedbar-item-load "C" speedbar-item-copy "D" speedbar-item-delete "O" speedbar-item-object-delete "R" speedbar-item-rename "M" speedbar-create-directory] 4) (#$ . 26569)) #@33 Base part of the speedbar menu. (defvar speedbar-easymenu-definition-base (byte-code "\301\302\303\304!\204 \303\305!\205 \303\306!\203 \306 \202 \205 \307C\"\207" [window-system append ("Speedbar" ["Update" speedbar-refresh t] ["Auto Update" speedbar-toggle-updates :active (not speedbar-update-flag-disable) :style toggle :selected speedbar-update-flag]) fboundp defimage make-image-specifier display-graphic-p ["Use Images" speedbar-toggle-images :style toggle :selected speedbar-use-images]] 4) (#$ . 27494)) #@43 Additional menu items while in file-mode. (defvar speedbar-easymenu-definition-special '(["Edit Item On Line" speedbar-edit-line t] ["Show All Files" speedbar-toggle-show-all-files :style toggle :selected speedbar-show-unknown-files] ["Expand File Tags" speedbar-expand-line (save-excursion (beginning-of-line) (looking-at "[0-9]+: *.\\+. "))] ["Flush Cache & Expand" speedbar-flush-expand-line (save-excursion (beginning-of-line) (looking-at "[0-9]+: *.\\+. "))] ["Expand All Descendants" speedbar-expand-line-descendants (save-excursion (beginning-of-line) (looking-at "[0-9]+: *.\\+. "))] ["Contract File Tags" speedbar-contract-line (save-excursion (beginning-of-line) (looking-at "[0-9]+: *.-. "))] "----" ["File/Tag Information" speedbar-item-info t] ["Load Lisp File" speedbar-item-load (save-excursion (beginning-of-line) (looking-at "[0-9]+: *\\[[+-]\\] .+\\(\\.el\\)\\( \\|$\\)"))] ["Byte Compile File" speedbar-item-byte-compile (save-excursion (beginning-of-line) (looking-at "[0-9]+: *\\[[+-]\\] .+\\(\\.el\\)\\( \\|$\\)"))] ["Copy File" speedbar-item-copy (save-excursion (beginning-of-line) (looking-at "[0-9]+: *\\["))] ["Rename File" speedbar-item-rename (save-excursion (beginning-of-line) (looking-at "[0-9]+: *[[<]"))] ["Create Directory" speedbar-create-directory (save-excursion (beginning-of-line) (looking-at "[0-9]+: *[[<]"))] ["Delete File" speedbar-item-delete (save-excursion (beginning-of-line) (looking-at "[0-9]+: *[[<]"))] ["Delete Object" speedbar-item-object-delete (save-excursion (beginning-of-line) (looking-at "[0-9]+: *\\[[+-]\\] [^ \n]+ \\*?[!#]$"))]) (#$ . 28019)) #@55 Menu items appearing at the end of the speedbar menu. (defvar speedbar-easymenu-definition-trailer (byte-code "\300\301\302!\205 \303\304!\205 \305C\306\307D\"\207" [append featurep custom fboundp custom-declare-variable ["Customize..." speedbar-customize t] ["Close" dframe-close-frame t] ["Quit" delete-frame t]] 4) (#$ . 29631)) #@113 Non-nil when speedbar is showing buttons specific to a special mode. In this case it is the originating buffer. (defvar speedbar-desired-buffer nil (#$ . 29972)) #@37 The buffer displaying the speedbar. (defvar speedbar-buffer nil (#$ . 30140)) #@32 The frame displaying speedbar. (defvar speedbar-frame nil (#$ . 30224)) #@65 The frame that was last created, then removed from the display. (defvar speedbar-cached-frame nil (#$ . 30302)) #@76 The last open directory is saved in its entirety for ultra-fast switching. (defvar speedbar-full-text-cache nil (#$ . 30420)) #@54 The last file which was selected in speedbar buffer. (defvar speedbar-last-selected-file nil (#$ . 30552)) #@75 Maintain list of directories simultaneously open in the current speedbar. (defvar speedbar-shown-directories nil (#$ . 30665)) #@198 An association list of directories and their contents. Each sublist was returned by `speedbar-file-lists'. This list is maintained to speed up the refresh rate when switching between directories. (defvar speedbar-directory-contents-alist nil (#$ . 30799)) #@67 Never set this by hand. Value is t when S-mouse activity occurs. (defvar speedbar-power-click nil (#$ . 31062)) (byte-code "\300\301\302\"\210\300\303\304\"\210\300\305\306\"\210\300\307\310\"\210\300\311\312\"\207" [defalias speedbar-make-overlay make-overlay speedbar-overlay-put overlay-put speedbar-delete-overlay delete-overlay speedbar-mode-line-update force-mode-line-update speedbar speedbar-frame-mode] 3) #@387 Enable or disable speedbar. Positive ARG means turn on, negative turn off. A nil ARG means toggle. Once the speedbar frame is activated, a buffer in `speedbar-mode' will be displayed. Currently, only one speedbar is supported at a time. `speedbar-before-popup-hook' is called before popping up the speedbar frame. `speedbar-before-delete-hook' is called before the frame is deleted. (defalias 'speedbar-frame-mode #[(&optional arg) "\306!\204 \212\307\310!\211q\210\311 \210)\312 \313\314\300\315\316\n\f &\n\210\204, \317\320!\210\2027 \321 \210\322 \210\317!\210\323\324!\210\325\323\326!\210\320\211\211\207" [speedbar-buffer arg speedbar-frame-parameters speedbar-before-delete-hook speedbar-before-popup-hook speedbar-after-create-hook buffer-live-p get-buffer-create " SPEEDBAR" speedbar-mode dframe-frame-mode speedbar-frame speedbar-cached-frame "Speedbar" speedbar-frame-mode speedbar-set-timer nil speedbar-reconfigure-keymaps speedbar-update-contents make-local-variable dframe-delete-frame-function speedbar-handle-delete-frame auto-hscroll-mode dframe-update-speed speedbar-last-selected-file] 12 (#$ . 31485) "P"]) #@65 Reposition the speedbar frame to be next to the attached frame. (defalias 'speedbar-frame-reposition-smartly #[nil "\303\304\"\204 \303\305\"\203 \306 \307 !\303\304\"A\303\305\"AB#\207\306 \307 !\n#\207" [speedbar-frame-parameters speedbar-frame speedbar-default-position assoc left top dframe-reposition-frame dframe-attached-frame] 7 (#$ . 32637)]) #@64 Return the frame to use for speedbar based on current context. (defalias 'speedbar-current-frame #[nil "\300\301\302\"\207" [dframe-current-frame speedbar-frame speedbar-mode] 3 (#$ . 33001)]) (put 'speedbar-current-frame 'byte-optimizer 'byte-compile-inline-expand) #@124 Handle a delete frame event E. If the deleted frame is the frame speedbar is attached to, we need to delete speedbar also. (defalias 'speedbar-handle-delete-frame #[(e) "\205 A@@\n=\205 \303!\207" [speedbar-frame e dframe-attached-frame delete-frame] 2 (#$ . 33275)]) #@189 Change frame focus to or from the speedbar frame. If the selected frame is not speedbar, then speedbar frame is selected. If the speedbar frame is active, then select the attached frame. (defalias 'speedbar-get-focus #[nil "\300 \210\301\302\303\304#\207" [speedbar-reset-scanners dframe-get-focus speedbar-frame speedbar-frame-mode #[nil "\301\302 )\207" [speedbar-update-flag t speedbar-timer-fn] 1]] 4 (#$ . 33555) nil]) #@87 Return the width of the speedbar frame in characters. Return nil if it doesn't exist. (defalias 'speedbar-frame-width #[nil "\301!\207" [speedbar-frame frame-width] 2 (#$ . 33987)]) (byte-code "\300\301\302\303#\210\304\305N\204 \300\304\305\306\307!#\210\310\311!\204 \300\311\312\313#\210\300\207" [put speedbar-frame-width byte-optimizer byte-compile-inline-expand speedbar-mode-hook variable-documentation purecopy "Hook run when entering Speedbar mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp speedbar-mode-map definition-name speedbar-mode] 5) (defvar speedbar-mode-map (make-sparse-keymap)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [speedbar-mode-map variable-documentation put purecopy "Keymap for `speedbar-mode'." boundp speedbar-mode-syntax-table definition-name speedbar-mode] 5) (defvar speedbar-mode-syntax-table (make-syntax-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [speedbar-mode-syntax-table variable-documentation put purecopy "Syntax table for `speedbar-mode'." speedbar-mode-abbrev-table definition-name speedbar-mode] 5) (defvar speedbar-mode-abbrev-table (progn (define-abbrev-table 'speedbar-mode-abbrev-table nil) speedbar-mode-abbrev-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [speedbar-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `speedbar-mode'." speedbar-mode derived-mode-parent nil] 5) #@2013 Major mode for managing a display of directories and tags. \<speedbar-mode-map> The first line represents the default directory of the speedbar frame. Each directory segment is a button which jumps speedbar's default directory to that directory. Buttons are activated by clicking `\[speedbar-click]'. In some situations using `\[dframe-power-click]' is a `power click' which will rescan cached items, or pop up new frames. Each line starting with <+> represents a directory. Click on the <+> to insert the directory listing into the current tree. Click on the <-> to retract that list. Click on the directory name to go to that directory as the default. Each line starting with [+] is a file. If the variable `speedbar-show-unknown-files' is t, the lines starting with [?] are files which don't have imenu support, but are not expressly ignored. Files are completely ignored if they match `speedbar-file-unshown-regexp' which is generated from `completion-ignored-extensions'. Files with a `*' character after their name are files checked out of a version control system. (Currently only RCS is supported.) New version control systems can be added by examining the documentation for `speedbar-this-file-in-vc' and `speedbar-vc-check-dir-p'. Files with a `#' or `!' character after them are source files that have an object file associated with them. The `!' indicates that the files is out of date. You can control what source/object associations exist through the variable `speedbar-obj-alist'. Click on the [+] to display a list of tags from that file. Click on the [-] to retract the list. Click on the file name to edit the file in the attached frame. If you open tags, you might find a node starting with {+}, which is a category of tags. Click the {+} to expand the category. Jump-able tags start with >. Click the name of the tag to go to that position in the selected file. \{speedbar-mode-map} This mode runs the hook `speedbar-mode-hook', as the final step during initialization. (defalias 'speedbar-mode #[nil "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210 \212\315\307\306\316!\210\317P\315\307\320 \210\203: \321\322\323 \324!)\"\210)\325\326!\207" [delay-mode-hooks major-mode mode-name speedbar-mode-map speedbar-mode-syntax-table speedbar-mode-abbrev-table make-local-variable t kill-all-local-variables speedbar-mode "Speedbar" use-local-map set-syntax-table nil frame-title-format "Speedbar " speedbar-set-mode-line-format speedbar-track-mouse speedbar-item-info speedbar-click speedbar-position-cursor-on-line run-mode-hooks speedbar-mode-hook local-abbrev-table font-lock-keywords truncate-lines speedbar-version case-fold-search buffer-read-only speedbar-track-mouse-flag dframe-track-mouse-function dframe-help-echo-function dframe-mouse-click-function dframe-mouse-position-function speedbar-buffer] 2 (#$ . 35579) nil]) #@127 Like `message', but for use in the speedbar frame. Argument FMT is the format string, and ARGS are the arguments for message. (defalias 'speedbar-message '(macro . #[(fmt &rest args) "\302 BB\207" [fmt args dframe-message] 3 (#$ . 38488)])) #@265 Like `y-or-n-p', but for use in the speedbar frame. Argument PROMPT is the prompt to use. Optional argument DELETING means this is a query that will delete something. The variable `speedbar-query-confirmation-method' can cause this to return true without a query. (defalias 'speedbar-y-or-n-p #[(prompt &optional deleting) "\204\n \303=\206 \304\n!\207" [deleting speedbar-query-confirmation-method prompt none-but-delete dframe-y-or-n-p] 2 (#$ . 38737)]) (put 'speedbar-y-or-n-p 'byte-optimizer 'byte-compile-inline-expand) #@45 Select the frame attached to this speedbar. (defalias 'speedbar-select-attached-frame #[nil "\300\301\302\303\"!\207" [dframe-select-attached-frame dframe-current-frame speedbar-frame speedbar-mode] 4 (#$ . 39271)]) (byte-code "\300\301\302\303#\210\304\305\306\"\210\304\307\310\"\207" [put speedbar-select-attached-frame byte-optimizer byte-compile-inline-expand defalias speedbar-with-attached-buffer dframe-with-attached-buffer speedbar-maybee-jump-to-attached-frame dframe-maybee-jump-to-attached-frame] 4) #@208 Set the format of the mode line based on the current speedbar environment. This gives visual indications of what is up. It EXPECTS the speedbar frame and window to be the currently active frame and window. (defalias 'speedbar-set-mode-line-format #[nil "\306\307\301\310\"!\205\252 \205\252 rq\210\311 !\206 \312\313\314 \203% \315\202&