commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312%\210\313\314\315\316\311\306%\210\313\317\320\321\311\306%\210\322\323\324\325\326DD\327\330\331\332\333\311\306& \210\322\334\324\325\335DD\336\337\340\330\341\311\306& \210\322\342\324\325\343DD\344\330\345\337\346\311\306& \210\322\347\324\325\350DD\351\337\352\330\353\311\306& \210\322\354\324\325\355DD\356\330\357\311\306&\210\322\360\324\325\361DD\362\337\363\330\364\311\306& \210\322\365\324\325\366DD\367\330\370\311\306&\210\322\371\324\325\372DD\373\330\374\311\306&\210\322\375\324\325\376DD\377\330\201@ \311\306&\210\322\201A \324\325\201B DD\201C \330\325\311\306&\210\322\201D \324\325\201E DD\201F \330\353\311\306&\210\322\201G \324\325\201H DD\201I \330\353\337\352\311\306& \210\322\201J \324\325\201K DD\201L \330\201M \337\363\311\306& \210\322\201N \324\325\201O DD\201P \330\353\337\352\311\306& \210\322\201Q \324\325\201R DD\201S \337\352\330\353\311\306& \210\322\201T \324\325\201U DD\201V \330\201W \311\306&\210\322\201X \324\325\201Y DD\201Z \330\353\337\352\311\306& \210\322\201[ \324\325\201\\ DD\201] \337\352\330\353\311\306& \210\322\201^ \324\325\201_ DD\201` \337\352\330\353\311\306& \210\322\201a \324\325\201b DD\201c \337\352\330\353\311\306& \210\322\201d \324\325\201e DD\201f \330\357\311\306&\210\322\201g \324\325\201h DD\201i \330\201j \311\306&\210\322\201k \324\325\201l DD\201m \337\352\330\353\311\306& \210\322\201n \324\325\201o DD\201p \201q \201r \330\201s \311\306& \210\322\201t \324\325\201u DD\201v \330\325\311\306&\210\322\201w \324\325\201x DD\201y \330\325\311\306&\210\322\201z \324\325\201{ DD\201| \337\352\330\353\311\306& \210\322\201} \324\325\201~ DD\201 \201\200 \201\201 \330\201\202 \311\306& \210\322\201\203 \324\325\201\204 DD\201\205 \330\201\206 \311\306&\210\201\207 \201\210 \201\211 \307#\210\201\212 \211\203\305\211@\201\210 N\203\276\201\211 N\204\276\201\213 \201\211 \201\210 N#\210A\266\202\202\232\210\201\214 \201\210 \201\211 \201\215 #\210\322\201\211 \324\325\201\216 DD\201\217 \201\200 \201\220 \330\201\221 \311\306& \210\322\201\222 \324\325\201\223 DD\201\224 \330\325\311\306&\207" [require cl-lib ewoc compile etags custom-declare-group ggtags nil "GNU Global source code tagging system." :group tools custom-declare-face ggtags-highlight ((t (:underline t))) "Face used to highlight a valid tag at point." ggtags-global-line ((t (:inherit secondary-selection))) "Face used to highlight matched line in Global buffer." custom-declare-variable ggtags-executable-directory funcall function #[0 "\300\207" [nil] 1] "If non-nil the directory to search global executables." :type (choice (const :tag "Unset" nil) directory) :risky t ggtags-oversize-limit #[0 "\300\207" [10485760] 1] "The over size limit for the GTAGS file.\nWhen the size of the GTAGS file is below this limit, ggtags\nalways maintains up-to-date tags for the whole source tree by\nrunning `global -u'. For projects with GTAGS larger than this\nlimit, only files edited in Ggtags mode are updated (via `global\n--single-update')." :safe numberp (choice (const :tag "None" nil) (const :tag "Always" t) number) ggtags-include-pattern #[0 "\300\207" [("^\\s-*#\\s-*\\(?:include\\|import\\)\\s-*[\"<]\\(?:[./]*\\)?\\(.*?\\)[\">]" . 1)] 1] "Pattern used to detect #include files.\nValue can be (REGEXP . SUB) or a function with no arguments.\nREGEXP should match from the beginning of line." (choice (const :tag "Disable" nil) (cons regexp integer) function) stringp ggtags-use-project-gtagsconf #[0 "\300\207" [t] 1] "Non-nil to use GTAGSCONF file found at project root.\nFile .globalrc and gtags.conf are checked in order.\n\nNote: GNU Global v6.2.13 has the feature of using gtags.conf at\nproject root. Setting this variable to nil doesn't disable this\nfeature." booleanp boolean ggtags-project-duration #[0 "\300\207" [600] 1] "Seconds to keep information of a project in memory." number ggtags-process-environment #[0 "\300\207" [nil] 1] "Similar to `process-environment' with higher precedence.\nElements are run through `substitute-env-vars' before use.\nGTAGSROOT will always be expanded to current project root\ndirectory. This is intended for project-wise ggtags-specific\nprocess environment settings. Note on remote hosts (e.g. tramp)\ndirectory local variables is not enabled by default per\n`enable-remote-dir-locals' (which see)." ggtags-list-of-string-p (repeat string) ggtags-auto-jump-to-match #[0 "\300\207" [history] 1] "Strategy on how to jump to match: nil, first or history.\n\n nil: never automatically jump to any match;\n first: jump to the first match;\nhistory: jump to the match stored in search history." (choice (const :tag "First match" first) (const :tag "Search History" history) (const :tag "Never" nil)) ggtags-global-window-height #[0 "\300\207" [8] 1] "Number of lines for the *ggtags-global* popup window.\nIf nil, use Emacs default." (choice (const :tag "Default" nil) integer) ggtags-global-abbreviate-filename #[0 "\300\207" [40] 1] "Non-nil to display file names abbreviated e.g. \"/u/b/env\".\nIf an integer abbreviate only names longer than that number." (choice (const :tag "No" nil) (const :tag "Always" t) integer) ggtags-split-window-function #[0 "\207" [split-window-preferred-function] 1] "A function to control how ggtags pops up the auxiliary window." ggtags-use-idutils #[0 "\300\301!\205 \302\207" [executable-find "mkid" t] 2] "Non-nil to also generate the idutils DB." ggtags-use-sqlite3 #[0 "\300\207" [nil] 1] "Use sqlite3 for storage instead of Berkeley DB.\nThis feature requires GNU Global 6.3.3+ and is ignored if `gtags'\nisn't built with sqlite3 support." ggtags-extra-args #[0 "\300\207" [nil] 1] "Extra arguments to pass to `gtags' in `ggtags-create-tags'." (repeat string) ggtags-sort-by-nearness #[0 "\300\207" [nil] 1] "Sort tags by nearness to current directory.\nGNU Global 6.5+ required." ggtags-update-on-save #[0 "\300\207" [t] 1] "Non-nil to update tags for current buffer on saving." ggtags-global-output-format #[0 "\300\207" [grep] 1] "Global output format: path, ctags, ctags-x, grep or cscope." (choice (const path) (const ctags) (const ctags-x) (const grep) (const cscope)) ggtags-global-use-color #[0 "\300\207" [t] 1] "Non-nil to use color in output if supported by Global.\nNote: processing colored output takes noticeable time\nparticularly when the output is large." ggtags-global-ignore-case #[0 "\300\207" [nil] 1] "Non-nil if Global should ignore case in the search pattern." ggtags-global-treat-text #[0 "\300\207" [nil] 1] "Non-nil if Global should include matches from text files.\nThis affects `ggtags-find-file' and `ggtags-grep'." ggtags-global-search-libpath-for-reference #[0 "\300\207" [t] 1] "If non-nil global will search GTAGSLIBPATH for references.\nSearch is only continued in GTAGSLIBPATH if it finds no matches\nin current project." ggtags-global-large-output #[0 "\300\207" [1000] 1] "Number of lines in the Global buffer to indicate large output." ggtags-global-history-length #[0 "\207" [history-length] 1] "Maximum number of items to keep in `ggtags-global-search-history'." integer ggtags-enable-navigation-keys #[0 "\300\207" [t] 1] "If non-nil key bindings in `ggtags-navigation-map' are enabled." ggtags-find-tag-hook #[0 "\300\207" [nil] 1] "Hook run immediately after finding a tag." :options (recenter reposition-window) hook ggtags-get-definition-function #[0 "\300\207" [ggtags-get-definition-default] 1] "Function called by `ggtags-show-definition' to get definition.\nIt is passed a list of definition candidates of the form:\n\n (TEXT NAME FILE LINE)\n\nwhere TEXT is usually the source line of the definition.\n\nThe return value is passed to `ggtags-print-definition-function'." ggtags-print-definition-function #[0 "\300\207" [#[257 "\300\301\206 \302\"\207" [ggtags-echo "%s" "[definition not found]"] 4 "\n\n(fn S)"]] 1] "Function used by `ggtags-show-definition' to print definition." ggtags-mode-sticky #[0 "\300\207" [t] 1] "If non-nil enable Ggtags Mode in files visited." ggtags-mode-prefix-key #[0 "\300\207" [#1=""] 1 #1#] "Key binding used for `ggtags-mode-prefix-map'.\nUsers should change the value using `customize-variable' to\nproperly update `ggtags-mode-map'." :set #[514 "\302\300!\2031 \2031 \302!\205 J\211\203 \303\304#\210\210\211\2031 \302\301!\2031 \2031 \303 #\210\305\"\207" [ggtags-mode-map ggtags-mode-prefix-map boundp define-key nil set-default] 7 "\n\n(fn SYM VALUE)"] key-sequence ggtags-completing-read-function #[0 "\300\207" [nil] 1] "Ggtags specific `completing-read-function' (which see).\nNil means using the value of `completing-read-function'." (choice (const :tag "Use completing-read-function" nil) function) defvaralias ggtags-highlight-tag-delay ggtags-highlight-tag (saved-value saved-variable-comment) put make-obsolete-variable "0.8.11" #[0 "\300\207" [0.25] 1] "If non-nil time in seconds before highlighting tag at point.\nSet to nil to disable tag highlighting." #[514 "\300\301!\203\n \301!\210\302\"\207" [fboundp ggtags-setup-highlight-tag-at-point set-default] 5 "\n\n(fn SYM VALUE)"] (choice (const :tag "Disable" nil) number) ggtags-bounds-of-tag-function #[0 "\300\207" [#[0 "\300\301!\207" [bounds-of-thing-at-point symbol] 2]] 1] "Function to get the start and end positions of the tag at point."] 10) |
|
16 |
#@53 Stem of message to print when no matches are found. |
|
17 |
(defvar ggtags-global-error "match" (#$ . 9795)) |
|
18 |
(defconst ggtags-bug-url "https://github.com/leoliu/ggtags/issues") |
|
19 |
(defvar ggtags-global-last-buffer nil) |
|
20 |
(defvar ggtags-global-continuation nil) |
|
21 |
(defvar ggtags-current-tag-name nil) |
|
22 |
(defvar ggtags-highlight-tag-overlay nil) |
|
23 |
(defvar ggtags-highlight-tag-timer nil) |
|
24 |
#@27 |
|
25 |
|
|
26 |
(fn MESSAGE &rest BODY) |
|
27 |
(defalias 'ggtags-with-temp-message '(macro . #[385 "\300\301!\300\302!\303\304BDD\305\306\307B\310\311\206 \312\313\314\fEFEEE\207" [make-symbol "-init-time-" "-tmp-msg-" let ((float-time)) with-temp-message prog1 progn message "%sdone (%.2fs)" "" - (float-time)] 16 (#$ . 10168)])) |
|
28 |
(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put ggtags-with-temp-message edebug-form-spec t function-put lisp-indent-function 1] 4) |
|
29 |
#@81 Delay running `compilation-finish-functions' until after BODY. |
|
30 |
|
|
31 |
(fn &rest BODY) |
|
32 |
(defalias 'ggtags-delay-finish-functions '(macro . #[128 "\300\301!\300\302!\303\304BD\305\306\307\310\311\312\313BBE\314BBB\315\316B\317\320 E\321\322\323\324\fFEF\257\207" [make-symbol "-saved-" "-exit-args-" let (compilation-finish-functions) (setq-local compilation-finish-functions nil) add-hook 'compilation-finish-functions lambda (&rest args) setq (args) (nil t) unwind-protect progn setq-local compilation-finish-functions and apply #'run-hook-with-args 'compilation-finish-functions] 16 (#$ . 10644)])) |
|
33 |
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put ggtags-delay-finish-functions lisp-indent-function 0 put edebug-form-spec t] 5) |
|
34 |
#@19 |
|
35 |
|
|
36 |
(fn &rest BODY) |
|
37 |
(defalias 'ggtags-ensure-global-buffer '(macro . #[128 "\300\301\302\303BBE\207" [progn (or (and (buffer-live-p ggtags-global-last-buffer) (with-current-buffer ggtags-global-last-buffer (derived-mode-p 'ggtags-global-mode))) (error "No global buffer found")) with-current-buffer ggtags-global-last-buffer] 6 (#$ . 11400)])) |
|
38 |
(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put ggtags-ensure-global-buffer edebug-form-spec t function-put lisp-indent-function 0] 4) |
|
39 |
#@53 Return non-nil if XS is a list of strings. |
|
40 |
|
|
41 |
(fn XS) |
|
42 |
(defalias 'ggtags-list-of-string-p #[257 "\300\301\"\207" [cl-every stringp] 4 (#$ . 11901)]) |
|
43 |
#@13 |
|
44 |
|
|
45 |
(fn FILE) |
|
46 |
(defalias 'ggtags-ensure-localname #[257 "\211\205\f \300\301\"\206\f \211\207" [file-remote-p localname] 4 (#$ . 12054)]) |
|
47 |
#@67 Print formatted text to echo area. |
|
48 |
|
|
49 |
(fn FORMAT-STRING &rest ARGS) |
|
50 |
(defalias 'ggtags-echo #[385 "\301\302\303#)\207" [message-log-max nil apply message] 6 (#$ . 12196)]) |
|
51 |
#@56 Move to line number LINE in current buffer. |
|
52 |
|
|
53 |
(fn LINE) |
|
54 |
(defalias 'ggtags-forward-to-line #[257 "\211\250\203 \211\300Y\204 \301\302\303\304E\"\210\214~\210eb\210\211Sy)\207" [1 signal wrong-type-argument (integer 1) line] 6 (#$ . 12374)]) |
|
55 |
#@43 Quit selected window and kill its buffer. |
|
56 |
(defalias 'ggtags-kill-window #[0 "\300\301!\207" [quit-window t] 2 (#$ . 12622) nil]) |
|
57 |
#@13 |
|
58 |
|
|
59 |
(fn NAME) |
|
60 |
(defalias 'ggtags-program-path #[257 "\203 |