%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/eshell/ |
Current File : //usr/local/share/emacs/27.2/lisp/eshell/em-glob.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\314\315\316DD\317\320\321\322\323\310\303& \210\312\324\314\315\325DD\326\322\327\310\303&\210\312\330\314\315\331DD\332\322\327\310\303&\210\312\333\314\315\334DD\335\322\327\310\303&\210\312\336\314\315\337DD\340\322\327\310\303&\210\312\341\314\315\342DD\343\322\327\310\303&\210\312\344\314\315\345DD\346\322\347\310\303&\210\312\350\314\315\351DD\352\322\353\310\303&\207" [require esh-util custom-declare-group eshell-glob nil "This module provides extended globbing syntax, similar what is used\nby zsh for filename generation." :tag "Extended filename globbing" :group eshell-module custom-declare-variable eshell-glob-load-hook funcall function #[0 "\300\207" [nil] 1] "A list of functions to run when `eshell-glob' is loaded." :version "24.1" :type hook eshell-glob-include-dot-files #[0 "\300\207" [nil] 1] "If non-nil, glob patterns will match files beginning with a dot." boolean eshell-glob-include-dot-dot #[0 "\300\207" [t] 1] "If non-nil, glob patterns that match dots will match . and .." eshell-glob-case-insensitive #[0 "\301>\207" [system-type (ms-dos windows-nt)] 2] "If non-nil, glob pattern matching will ignore case." eshell-glob-show-progress #[0 "\300\207" [nil] 1] "If non-nil, display progress messages during a recursive glob.\nThis option slows down recursive glob processing by quite a bit." eshell-error-if-no-glob #[0 "\300\207" [nil] 1] "If non-nil, it is an error for a glob pattern not to match.\n This mimics the behavior of zsh if non-nil, but bash if nil." eshell-glob-chars-list #[0 "\300\207" [(93 91 42 63 126 40 41 124 35 94)] 1] "List of additional characters used in extended globbing." (repeat character) eshell-glob-translate-alist #[0 "\300\207" [((93 . "]") (91 . "[") (94 . "^") (63 . ".") (42 . ".*") (126 . "~") (40 . "\\(") (41 . "\\)") (124 . "\\|") (35 lambda (str pos) (if (and (< (1+ pos) (length str)) (memq (aref str (1+ pos)) '(42 35 43 63))) (cons (if (eq (aref str (1+ pos)) 63) "?" (if (eq (aref str (1+ pos)) 42) "*" "+")) (+ pos 2)) (cons "*" (1+ pos)))))] 1] "An alist for translation of extended globbing characters." (alist :key-type character :value-type (choice string function))] 10) #@40 Initialize the extended globbing code. (defalias 'eshell-glob-initialize #[0 "\302\301!\203 \303\301!\210\304 \"\305\306\307\310\211$\210\305\311\312\313\310$\207" [eshell-glob-chars-list eshell-special-chars-outside-quoting boundp make-local-variable append add-hook eshell-parse-argument-hook eshell-parse-glob-chars t eshell-pre-rewrite-command-hook eshell-no-command-globbing nil] 5 (#$ . 2644)]) #@80 Don't glob the command argument. Reflect this by modifying TERMS. (fn TERMS) (defalias 'eshell-no-command-globbing #[257 "\300@<\203 @@\301=\203 \211@A@\240\210\207" [nil eshell-extended-glob] 4 (#$ . 3054)]) #@59 Add `eshell-extended-glob' to the argument modifier list. (defalias 'eshell-add-glob-modifier #[0 "\301>\203 \302\301\"\303\300\304\"\210\303\300\305\"\207" [eshell-current-modifiers expand-file-name delq add-to-list #[257 "\211<\203\n \300\301\"\207\301!\207" [mapcar expand-file-name] 4 "\n\n(fn LIST)"] eshell-extended-glob] 3 (#$ . 3276)]) #@175 Parse a globbing delimiter. The character is not advanced for ordinary globbing characters, so that other function may have a chance to override the globbing interpretation. (defalias 'eshell-parse-glob-chars #[0 "\303f>\205l \303f\304>\204 \303\305 \210\207`\303u\210`Sf\306\211\307=\203&