Current File : //proc/self/root/kunden/kunden/proc/thread-self/root/usr/share/emacs/27.2/lisp/apropos.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; 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\344&\210\317\345\346\347\306\303\323\324&\210\312\350\351\352\315\353\306\303\323\324& \210\312\354\304\355\306\303\315\356&\210\312\357\360\361\306\303\315\362&\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-user-option' will search all variables, not just user options.\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-user-option-button ((t (:inherit (font-lock-variable-name-face button)))) "Button face indicating a user option in Apropos." "24.4" 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." (choice (const nil) face) 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))] 10)
#@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) (#$ . 3677))
#@34 Hook run when mode is turned on.
(defvar apropos-mode-hook nil (#$ . 3912))
#@37 Apropos pattern as entered by user.
(defvar apropos-pattern nil (#$ . 3994))
#@48 Apropos pattern passed through `regexp-quote'.
(defvar apropos-pattern-quoted nil (#$ . 4077))
#@65 Current list of apropos words extracted from `apropos-pattern'.
(defvar apropos-words nil (#$ . 4178))
#@37 Current list of words and synonyms.
(defvar apropos-all-words nil (#$ . 4287))
#@37 Regexp used in current apropos run.
(defvar apropos-regexp nil (#$ . 4372))
#@38 Regexp matching `apropos-all-words'.
(defvar apropos-all-words-regexp nil (#$ . 4454))
#@78 List of elc files already scanned in current run of `apropos-documentation'.
(defvar apropos-files-scanned nil (#$ . 4547))
#@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 (#$ . 4678))
#@47 Current item in or for `apropos-accumulator'.
(defvar apropos-item nil (#$ . 5250))
#@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")) (#$ . 5341))
#@227 List of current Apropos function followed by its arguments.
Used by `apropos--revert-buffer' to regenerate the current
Apropos buffer. Each Apropos command should ensure it is set
before `apropos-mode' makes it buffer-local.
(defvar apropos--current nil (#$ . 5632))
(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) "\301\302\303!!\206 \304\305\306!\"!\207" [button button-activate apropos-next-label-button button-start error "There is nothing to follow for `%s'" button-label] 5 (#$ . 6084)])
(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\355\310\356\312\313\314\357&
\210\300\360\302\361\304\362\306\355\310\363\312\313\314\364&
\210\300\365\302\366\304\367\306\355\310\370\312\313\314\371&
\210\300\372\310\373\312\313\314\374&\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-user-option "User option" "o" apropos-user-option-button "mouse-2, RET: Display more help on this user option" #[(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 (#$ . 8927)])
#@120 Make regexp matching any two of the words in WORDS.
WILD should be a subexpression matching wildcards between matches.
(defalias 'apropos-words-to-regexp #[(words wild) "\301\302!!\211A\204 @\207\303\304\305#\207" [words delete-dups copy-sequence mapconcat #[(w) "\303\304 \303\305\306\307\310\n!\"\311#\304\260\207" [w wild words "\\(?:" "\\)" mapconcat identity delq copy-sequence "\\|"] 11] "\\|"] 5 (#$ . 9458)])
#@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#\206 \311\312!\202 )\207" [subject pattern read-string "Search for " " (word list or regexp): " regexp-quote split-string "[ ]+" t user-error "No word list given"] 4 (#$ . 9890)])
#@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 (#$ . 10457)])
#@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'