?
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/apropos.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:11 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/apropos.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\312\313\304\314\306\303\315\316&\210\317\320\321\322\306\303\323\324&\210\317\325\326\327\306\303\323\324&\210\317\330\331\332\306\303\323\324&\210\317\333\334\335\306\303\323\324&\210\317\336\337\340\306\303\323\324&\210\317\341\342\343\306\303\323\324&\210\312\344\345\346\306\303\323\324&\210\312\347\304\350\306\303\315\351&\210\312\352\353\354\306\303\315\355&\207" [require button custom-declare-group apropos nil "Apropos commands for users and programmers." :group help :prefix "apropos" custom-declare-variable apropos-do-all "Non nil means apropos commands will search more extensively.\nThis may be slower. This option affects the following commands:\n\n`apropos-variable' will search all variables, not just user variables.\n`apropos-command' will also search non-interactive functions.\n`apropos' will search all symbols, not just functions, variables, faces,\nand those with property lists.\n`apropos-value' will also search in property lists and functions.\n`apropos-documentation' will search all documentation strings, not just\nthose in the etc/DOC documentation file.\n\nThis option only controls the default behavior. Each of the above\ncommands also has an optional argument to request a more extensive search.\n\nAdditionally, this option makes the function `apropos-library'\ninclude key-binding information in its output." :type boolean custom-declare-face apropos-symbol ((t (:inherit bold))) "Face for the symbol name in Apropos output." :version "24.3" apropos-keybinding ((t (:inherit underline))) "Face for lists of keybinding in Apropos output." apropos-property ((t (:inherit font-lock-builtin-face))) "Face for property name in apropos output, or nil for none." apropos-function-button ((t (:inherit (font-lock-function-name-face button)))) "Button face indicating a function, macro, or command in Apropos." apropos-variable-button ((t (:inherit (font-lock-variable-name-face button)))) "Button face indicating a variable in Apropos." apropos-misc-button ((t (:inherit (font-lock-constant-face button)))) "Button face indicating a miscellaneous object type in Apropos." apropos-match-face 'match "Face for matching text in Apropos documentation/value, or nil for none.\nThis applies when you look for matches in the documentation or variable value\nfor the pattern; the part that matches gets displayed in this font." apropos-sort-by-scores "Non-nil means sort matches by scores; best match is shown first.\nThis applies to all `apropos' commands except `apropos-documentation'.\nIf value is `verbose', the computed score is shown for each match." (choice (const :tag "off" nil) (const :tag "on" t) (const :tag "show scores" verbose)) apropos-documentation-sort-by-scores t "Non-nil means sort matches by scores; best match is shown first.\nThis applies to `apropos-documentation' only.\nIf value is `verbose', the computed score is shown for each match." (choice (const :tag "off" nil) (const :tag "on" t) (const :tag "show scores" verbose))] 8) #@30 Keymap used in Apropos mode. (defvar apropos-mode-map (byte-code "\303!\304 \n\"\210\305 \306\307#\210 )\207" [button-buffer-map map special-mode-map copy-keymap set-keymap-parent define-key " " apropos-follow] 4) (#$ . 3605)) #@34 Hook run when mode is turned on. (defvar apropos-mode-hook nil (#$ . 3840)) #@37 Apropos pattern as entered by user. (defvar apropos-pattern nil (#$ . 3922)) #@48 Apropos pattern passed through `regexp-quote'. (defvar apropos-pattern-quoted nil (#$ . 4005)) #@65 Current list of apropos words extracted from `apropos-pattern'. (defvar apropos-words nil (#$ . 4106)) #@37 Current list of words and synonyms. (defvar apropos-all-words nil (#$ . 4215)) #@37 Regexp used in current apropos run. (defvar apropos-regexp nil (#$ . 4300)) #@36 Regexp matching apropos-all-words. (defvar apropos-all-words-regexp nil (#$ . 4382)) #@78 List of elc files already scanned in current run of `apropos-documentation'. (defvar apropos-files-scanned nil (#$ . 4473)) #@522 Alist of symbols already found in current apropos run. Each element has the form (SYMBOL SCORE FUN-DOC VAR-DOC PLIST WIDGET-DOC FACE-DOC CUS-GROUP-DOC) where SYMBOL is the symbol name, SCORE is its relevance score (a number), FUN-DOC is the function docstring, VAR-DOC is the variable docstring, PLIST is the list of the symbols names in the property list, WIDGET-DOC is the widget docstring, FACE-DOC is the face docstring, and CUS-GROUP-DOC is the custom group docstring. Each docstring is either nil or a string. (defvar apropos-accumulator nil (#$ . 4604)) #@47 Current item in or for `apropos-accumulator'. (defvar apropos-item nil (#$ . 5176)) #@166 List of synonyms known by apropos. Each element is a list of words where the first word is the standard Emacs term, and the rest of the words are alternative terms. (defvar apropos-synonyms '(("find" "open" "edit") ("kill" "cut") ("yank" "paste") ("region" "selection")) (#$ . 5267)) (define-button-type 'apropos-symbol 'face 'apropos-symbol 'help-echo "mouse-2, RET: Display more help on this symbol" 'follow-link t 'action 'apropos-symbol-button-display-help) #@62 Display further help for the `apropos-symbol' button BUTTON. (defalias 'apropos-symbol-button-display-help #[(button) "\304\305!!\206 \306\307\310!\"\311 \203 \312\313\"\206 \312\302\"\314\n!\203? \315 r\316\216\317\320\321\n!!!\210\nb\210\322\323!+\202B \n!+\207" [button use-mouse-action action save-selected-window--state apropos-next-label-button button-start error "There is nothing to follow for `%s'" button-label nil button-get mouse-action markerp internal--before-save-selected-window ((internal--after-save-selected-window save-selected-window--state)) select-window display-buffer marker-buffer recenter 0] 4 (#$ . 5735)]) (byte-code "\300\301\302\303\304\305\306\307\310\311\312\313\314\315& \210\300\316\302\317\304\320\306\307\310\321\312\313\314\322& \210\300\323\302\324\304\325\306\307\310\326\312\313\314\327& \210\300\330\302\331\304\332\306\333\310\334\312\313\314\335& \210\300\336\302\337\304\340\306\341\310\342\312\313\314\343& \210\300\344\302\345\304\346\306\347\310\350\312\313\314\351& \210\300\352\302\353\304\354\306\347\310\355\312\313\314\356& \210\300\357\302\360\304\361\306\347\310\362\312\313\314\363& \210\300\364\310\365\312\313\314\366&\207" [define-button-type apropos-function apropos-label "Function" apropos-short-label "f" face apropos-function-button help-echo "mouse-2, RET: Display more help on this function" follow-link t action #[(button) "\301\302\303\"!\207" [button describe-function button-get apropos-symbol] 4] apropos-macro "Macro" "m" "mouse-2, RET: Display more help on this macro" #[(button) "\301\302\303\"!\207" [button describe-function button-get apropos-symbol] 4] apropos-command "Command" "c" "mouse-2, RET: Display more help on this command" #[(button) "\301\302\303\"!\207" [button describe-function button-get apropos-symbol] 4] apropos-variable "Variable" "v" apropos-variable-button "mouse-2, RET: Display more help on this variable" #[(button) "\301\302\303\"!\207" [button describe-variable button-get apropos-symbol] 4] apropos-face "Face" "F" (font-lock-variable-name-face button) "mouse-2, RET: Display more help on this face" #[(button) "\301\302\303\"!\207" [button describe-face button-get apropos-symbol] 4] apropos-group "Group" "g" apropos-misc-button "mouse-2, RET: Display more help on this group" #[(button) "\301\302\303\"!\207" [button customize-group-other-window button-get apropos-symbol] 4] apropos-widget "Widget" "w" "mouse-2, RET: Display more help on this widget" #[(button) "\301\302\303\"!\207" [button widget-browse-other-window button-get apropos-symbol] 4] apropos-plist "Properties" "p" "mouse-2, RET: Display more help on this plist" #[(button) "\301\302\303\"!\207" [button apropos-describe-plist button-get apropos-symbol] 4] apropos-library "mouse-2, RET: Display more help on this library" #[(button) "\301\302\303\"!\207" [button apropos-library button-get apropos-symbol] 4]] 14) #@174 Return the next apropos label button after POS, or nil if there's none. Will also return nil if more than one `apropos-symbol' button is encountered before finding a label. (defalias 'apropos-next-label-button #[(pos) "\305\306\"\307 \205 \310 \311\" \205 \310 \304\" \203J \204J \f\312=\203+ \n\204J \f\312=\2033 \306\305\313 !!\211\203 \310 \311\"\310 \304\"\202 \205O ,\207" [pos button already-hit-symbol label type next-button t nil button-get apropos-label apropos-symbol button-start] 4 (#$ . 8654)]) #@53 Make regexp matching any two of the words in WORDS. (defalias 'apropos-words-to-regexp #[(words wild) "\302\303\304\305#\306A\203 \302\303\304\305#\306R\202 \307R\207" [words wild "\\(" mapconcat identity "\\|" "\\)" ""] 9 (#$ . 9184)]) #@285 Read an apropos pattern, either a word list or a regexp. Returns the user pattern, either a list of words which are matched literally, or a string which is used as a regexp to search for. SUBJECT is a string that is included in the prompt to identify what kind of objects to search. (defalias 'apropos-read-pattern #[(subject) "\302\303\304Q!\305 ! \230\203 \306 \307\310#\202 )\207" [subject pattern read-string "Search for " " (word list or regexp): " regexp-quote split-string "[ ]+" t] 4 (#$ . 9434)]) #@258 Rewrite a list of words to a regexp matching all permutations. If PATTERN is a string, that means it is already a regexp. This updates variables `apropos-pattern', `apropos-pattern-quoted', `apropos-regexp', `apropos-words', and `apropos-all-words-regexp'. (defalias 'apropos-parse-pattern #[(pattern) "\306\211\n:\203\207 \n\307\310\n\311#\312\f!\306\211\203w @\211\211\203c @\235\203Z \307\310@\313#@A\235\203S \306\211\2020 A\211\2043 B B+A\211\204 *\314 \315\"\314\316\"\211)\207\312\n!\n\n\n\211\207" [apropos-words apropos-all-words pattern words apropos-pattern apropos-pattern-quoted nil mapconcat identity " " regexp-quote "\\|" apropos-words-to-regexp ".+" ".*?" word --dolist-tail-- apropos-synonyms a s syn apropos-all-words-regexp apropos-regexp] 5 (#$ . 9954)]) #@111 Return apropos scores for string STR matching WORDS. Value is a list of offsets of the words into the string. (defalias 'apropos-calc-scores #[(str words) "\306\211\n\203. \n\306\211\203' \f@\307 \"\211\203 B\fA\211\204 \306 *\202; \307 \"\205; \310\224\310\225D*\207" [i scores words word --dolist-tail-- str nil string-match 0 apropos-pattern] 4 (#$ . 10806)]) #@38 Return apropos score for string STR. (defalias 'apropos-score-str #[(str) "\2032 G\211\306\245[\307\"\310\211\203- @\311\n\312 \fZ\312_ \245# A\211\204 \310\n,\207\313\207" [str l score apropos-all-words s --dolist-tail-- 10 apropos-calc-scores nil + 1000 0] 6 (#$ . 11191)]) #@52 Return apropos score for documentation string DOC. (defalias 'apropos-score-doc #[(doc) "G\211\306V\203@ \306\307\"\203 \310\311\f\"\312\211 \2039 @\313\n\314 Z\314_ \245# A\211 \204 \312\n+\202A \306)\207" [doc l score apropos-pattern-quoted apropos-all-words s 0 string-match 10000 apropos-calc-scores nil + 50 --dolist-tail--] 6 (#$ . 11487)]) #@34 Return apropos score for SYMBOL. (defalias 'apropos-score-symbol #[(symbol &optional weight) "\306!\307G\310\"\311\211\203, @\312\n\313 Z \fZ\313_ \245# A\211\204 \311\n \2065 \314_,\207" [symbol l score apropos-words s --dolist-tail-- symbol-name 0 apropos-calc-scores nil + 60 3 weight] 6 (#$ . 11859)]) #@172 Return t if STR is a genuine hit. This may fail if only one of the keywords is matched more than once. This requires that at least 2 keywords (unless only one was given). (defalias 'apropos-true-hit #[(str words) "?\206 ?\206 A?\206 \302 \"G\303V\207" [str words apropos-calc-scores 1] 3 (#$ . 12188)]) #@67 Return t if SYMBOL is not really matched by the current keywords. (defalias 'apropos-false-hit-symbol #[(symbol) "\302\303! \"?\207" [symbol apropos-words apropos-true-hit symbol-name] 3 (#$ . 12504)]) #@64 Return t if STR is not really matched by the current keywords. (defalias 'apropos-false-hit-str #[(str) "\302 \"?\207" [str apropos-words apropos-true-hit] 3 (#$ . 12713)]) #@60 Return t if DOC is really matched by the current keywords. (defalias 'apropos-true-hit-doc #[(doc) "\302 \"\207" [doc apropos-all-words apropos-true-hit] 3 (#$ . 12893)]) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [apropos-mode-hook variable-documentation put purecopy "Hook run when entering Apropos mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp apropos-mode-map definition-name apropos-mode] 5) (defvar apropos-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" [apropos-mode-map variable-documentation put purecopy "Keymap for `apropos-mode'." boundp apropos-mode-syntax-table definition-name apropos-mode] 5) (defvar apropos-mode-syntax-table (make-syntax-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [apropos-mode-syntax-table variable-documentation put purecopy "Syntax table for `apropos-mode'." apropos-mode-abbrev-table definition-name apropos-mode] 5) (defvar apropos-mode-abbrev-table (progn (define-abbrev-table 'apropos-mode-abbrev-table nil) apropos-mode-abbrev-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [apropos-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `apropos-mode'." apropos-mode derived-mode-parent special-mode] 5) #@248 Major mode for following hyperlinks in output of apropos commands. \{apropos-mode-map} In addition to any hooks its parent mode `special-mode' might have run, this mode runs the hook `apropos-mode-hook', as the final step during initialization. (defalias 'apropos-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204' \316\317 \"\210\320\f!\211\2036 \321 =\203<