Server IP : 111.118.215.189 / Your IP : 3.136.20.207 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/eshell/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:55 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/eshell/esh-var.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!\210\302\304!\210\302\305!\210\306\307\310\311\312\313\314\315&\210\316\317\310\320\321\322\323\324\314\307& \210\316\325\310\326\323\327\314\307&\210\316\330\331\332\323\327\314\307&\210\316\333\310\334\323\327\314\307&\210\316\335\336\337\323\340\314\307&\210\316\341\342\343\323\344\314\307&\210\345\341\346\331#\207" [provide esh-var require esh-opt env ring custom-declare-group eshell-var nil "Variable interpolation is introduced whenever the '$' character\nappears unquoted in any argument (except when that argument is\nsurrounded by single quotes). It may be used to interpolate a\nvariable value, a subcommand, or even the result of a Lisp form." :tag "Variable handling" :group eshell custom-declare-variable eshell-var-load-hook "A list of functions to call when loading `eshell-var'." :version "24.1" :type hook eshell-prefer-lisp-variables "If non-nil, prefer Lisp variables to environment variables." boolean eshell-complete-export-definition t "If non-nil, completing names for `export' shows current definition." eshell-modify-global-environment "If non-nil, using `export' changes Emacs's global environment." eshell-variable-name-regexp "[A-Za-z0-9_-]+" "A regexp identifying what constitutes a variable name reference.\nNote that this only applies for '$NAME'. If the syntax '$<NAME>' is\nused, then NAME can contain any character, including angle brackets,\nif they are quoted with a backslash." regexp eshell-variable-aliases-list '(("COLUMNS" (lambda (indices) (window-width)) t) ("LINES" (lambda (indices) (window-height)) t) ("_" (lambda (indices) (if (not indices) (car (last eshell-last-arguments)) (eshell-apply-indices eshell-last-arguments indices)))) ("?" eshell-last-command-status) ("$" eshell-last-command-result) ("0" eshell-command-name) ("1" (lambda (indices) (nth 0 eshell-command-arguments))) ("2" (lambda (indices) (nth 1 eshell-command-arguments))) ("3" (lambda (indices) (nth 2 eshell-command-arguments))) ("4" (lambda (indices) (nth 3 eshell-command-arguments))) ("5" (lambda (indices) (nth 4 eshell-command-arguments))) ("6" (lambda (indices) (nth 5 eshell-command-arguments))) ("7" (lambda (indices) (nth 6 eshell-command-arguments))) ("8" (lambda (indices) (nth 7 eshell-command-arguments))) ("9" (lambda (indices) (nth 8 eshell-command-arguments))) ("*" (lambda (indices) (if (not indices) eshell-command-arguments (eshell-apply-indices eshell-command-arguments indices))))) "This list provides aliasing for variable references.\nIt is very similar in concept to what `eshell-user-aliases-list' does\nfor commands. Each member of this defines defines the name of a\ncommand, and the Lisp value to return for that variable if it is\naccessed via the syntax '$NAME'.\n\nIf the value is a function, that function will be called with two\narguments: the list of the indices that was used in the reference, and\nwhether the user is requesting the length of the ultimate element.\nFor example, a reference of '$NAME[10][20]' would result in the\nfunction for alias `NAME' being called (assuming it were aliased to a\nfunction), and the arguments passed to this function would be the list\n'(10 20)', and nil." (repeat (list string sexp (choice (const :tag "Copy to environment" t) (const :tag "Use only in Eshell" nil)))) put risky-local-variable] 10) #@38 Initialize the variable handle code. (defalias 'eshell-var-initialize #[nil "\204 \306\301!\210\307\310 \"\311\n\312\313#\210\306\303!\210\314\315\"\306\304!\210\314\f\316\"\317\320\321\322\211$\210\317\323\324\325\322$\210\326\211>)\205J \317\327\330\325\322$\210\317\327\331\325\322$\207" [eshell-modify-global-environment process-environment eshell-command-map eshell-special-chars-inside-quoting eshell-special-chars-outside-quoting module make-local-variable mapcar concat define-key [(meta 118)] eshell-insert-envvar append (36) (36) add-hook eshell-parse-argument-hook eshell-interpolate-variable t eshell-prepare-command-hook eshell-handle-local-variables nil eshell-cmpl pcomplete-try-first-hook eshell-complete-variable-reference eshell-complete-variable-assignment eshell-modules-list] 6 (#$ . 3894)]) #@50 Allow for the syntax 'VAR=val <command> <args>'. (defalias 'eshell-handle-local-variables #[nil "\204 \203 @ A\202 \306\307! \205a \310\f\"\205a \311\312\313\314\315C\316C\310\f\"\203T \317\320\321\"\320\322\"\320\322\"G\323UFC\244\210\307\n@!\nA\202- A)\324\325\nDEC#D\"+\207" [eshell-last-command-name eshell-last-arguments args command setvar l "\\`\\([A-Za-z_][A-Za-z0-9_]*\\)=\\(.*\\)\\'" eshell-stringify string-match throw eshell-replace-command eshell-as-subcommand append progn t setenv match-string 1 2 0 eshell-named-command quote] 12 (#$ . 4722)]) #@103 Parse a variable interpolation. This function is explicit for adding to `eshell-parse-argument-hook'. (defalias 'eshell-interpolate-variable #[nil "\300f\301=\205 `TdU?\205 \300u\210\302\303 D\207" [nil 36 eshell-escape-arg eshell-parse-variable] 2 (#$ . 5313)]) #@38 Define a VAR-ALIAS using DEFINITION. (defalias 'eshell/define #[(var-alias definition) "\204 \305\306 \n\"\n\"\2027 \306 \n\" \307G\310U\203! @\202\"