| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/eshell/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\313\314&\210\315\316\317\320\321DD\322\323\324%\210\315\325\317\320\326DD\327\323\324%\210\315\330\317\320\331DD\332\323\324%\210\315\333\317\320\334DD\335\336\337\323\324&\210\315\340\317\320\341DD\342\323\343%\210\315\344\317\320\345DD\346\323\324%\210\315\347\317\320\350DD\351\323\343%\210\315\352\317\320\353DD\354\323\324%\210\315\355\317\320\356DD\357\323\360%\210\315\361\317\320\362DD\363\323\364%\210\315\365\317\320\366DD\367\323\343%\210\315\370\317\320\371DD\372\323\373%\210\315\374\317\320\375DD\376\323\324%\210\315\377\317\320\201@ DD\201A \323\324%\210\315\201B \317\320\201C DD\201D \323\201E \336\201F &\210\315\201G \317\320\201H DD\201I \323\201J %\210\201K \201L \201M \307#\210\201N \211\2031\211@\201L N\203*\201M N\204*\201O \201M \201L N#\210A\266\202\202\210\201P \201L \201M \201Q #\210\315\201M \317\320\201R DD\201S \323\343%\210\315\201T \317\320\201U DD\201V \323\201W \313\314&\207" [require esh-util esh-module esh-cmd esh-arg custom-declare-group eshell-mode nil "This module contains code for handling input from the user." :tag "User interface" :group eshell custom-declare-variable eshell-mode-unload-hook funcall function #[0 "\300\207" [nil] 1 #1=""] "A hook that gets run when `eshell-mode' is unloaded." :type hook eshell-mode-hook #[0 "\300\207" [nil] 1 #1#] "A hook that gets run when `eshell-mode' is entered." eshell-first-time-mode-hook #[0 "\300\207" [nil] 1 #1#] "A hook that gets run the first time `eshell-mode' is entered.\nThat is to say, the first time during an Emacs session." eshell-exit-hook #[0 "\300\207" [nil] 1 #1#] "A hook that is run whenever `eshell' is exited.\nThis hook is only run if exiting actually kills the buffer." :version "24.1" eshell-kill-on-exit #[0 "\300\207" [t] 1 #1#] "If non-nil, kill the Eshell buffer on the `exit' command.\nOtherwise, the buffer will simply be buried." boolean eshell-input-filter-functions #[0 "\300\207" [nil] 1 #1#] "Functions to call before input is processed.\nThe input is contained in the region from `eshell-last-input-start' to\n`eshell-last-input-end'." eshell-send-direct-to-subprocesses #[0 "\300\207" [nil] 1 #1#] "If t, send any input immediately to a subprocess." eshell-expand-input-functions #[0 "\300\207" [nil] 1 #1#] "Functions to call before input is parsed.\nEach function is passed two arguments, which bounds the region of the\ncurrent input text." eshell-scroll-to-bottom-on-input #[0 "\300\207" [nil] 1 #1#] "Controls whether input to interpreter causes window to scroll.\nIf nil, then do not scroll. If t or `all', scroll all windows showing\nbuffer. If `this', scroll only the selected window.\n\nSee `eshell-preinput-scroll-to-bottom'." (radio (const :tag "Do not scroll Eshell windows" nil) (const :tag "Scroll all windows showing the buffer" all) (const :tag "Scroll only the selected window" this)) eshell-scroll-to-bottom-on-output #[0 "\300\207" [nil] 1 #1#] "Controls whether interpreter output causes window to scroll.\nIf nil, then do not scroll. If t or `all', scroll all windows showing\nbuffer. If `this', scroll only the selected window. If `others',\nscroll only those that are not the selected window.\n\nSee variable `eshell-scroll-show-maximum-output' and function\n`eshell-postoutput-scroll-to-bottom'." (radio (const :tag "Do not scroll Eshell windows" nil) (const :tag "Scroll all windows showing the buffer" all) (const :tag "Scroll only the selected window" this) (const :tag "Scroll all windows other than selected" others)) eshell-scroll-show-maximum-output #[0 "\300\207" [t] 1 #1#] "Controls how interpreter output causes window to scroll.\nIf non-nil, then show the maximum output when the window is scrolled.\n\nSee variable `eshell-scroll-to-bottom-on-output' and function\n`eshell-postoutput-scroll-to-bottom'." eshell-buffer-maximum-lines #[0 "\300\207" [1024] 1 #1#] "The maximum size in lines for eshell buffers.\nEshell buffers are truncated from the top to be no greater than this\nnumber, if the function `eshell-truncate-buffer' is on\n`eshell-output-filter-functions'." integer eshell-output-filter-functions #[0 "\300\207" [(eshell-postoutput-scroll-to-bottom eshell-handle-control-codes eshell-handle-ansi-color eshell-watch-for-password-prompt)] 1 #1#] "Functions to call before output is displayed.\nThese functions are only called for output that is displayed\ninteractively, and not for output which is redirected." eshell-preoutput-filter-functions #[0 "\300\207" [nil] 1 #1#] "Functions to call before output is inserted into the buffer.\nThese functions get one argument, a string containing the text to be\ninserted. They return the string as it should be inserted." eshell-password-prompt-regexp #[0 "\301\302\303!\"\207" [password-word-equivalents format "\\(%s\\)[^::៖]*[::៖]\\s *\\'" regexp-opt] 4 #1#] "Regexp matching prompts for passwords in the inferior process.\nThis is used by `eshell-watch-for-password-prompt'." regexp "27.1" eshell-skip-prompt-function #[0 "\300\207" [nil] 1 #1#] "A function called from beginning of line to skip the prompt." (choice (const nil) function) defvaralias eshell-status-in-modeline eshell-status-in-mode-line (saved-value saved-variable-comment) put make-obsolete-variable "24.3" #[0 "\300\207" [t] 1 #1#] "If non-nil, let the user know a command is running in the mode line." eshell-directory-name #[0 "\300\301\302\"\207" [locate-user-emacs-file "eshell/" ".eshell/"] 3 #1#] "The directory where Eshell control files should be kept." directory] 8)
#@62 A variable which is non-nil the first time Eshell is loaded.
(defvar eshell-first-time-p t (#$ . 5677))
(defvar eshell-mode nil)
(defvar eshell-command-running-string "--")
(defvar eshell-last-input-start nil)
(defvar eshell-last-input-end nil)
(defvar eshell-last-output-start nil)
(defvar eshell-last-output-block-begin nil)
(defvar eshell-last-output-end nil)
(defvar eshell-currently-handling-window nil)
(define-abbrev-table 'eshell-mode-abbrev-table nil)
(defvar eshell-mode-syntax-table (byte-code "\300 \301\211\302W\203 \303\304#\210\211T\262\202 \305\262\211\306W\203, \303\304#\210\211T\262\202 \307\262\211\310W\203B \303\304#\210\211T\262\202/ \311\262\211\312W\203X \303\304#\210\211T\262\202E \303\313\314#\210\303\315\314#\210\303\316\314#\210\303\317\320#\210\303\321\320#\210\303\322\323#\210\303\324\323#\210\303\325\323#\210\303\326\304#\210\303\327\304#\210\303\330\331#\210\303\332\323#\210\303\333\334#\210\303\335\336#\210\303\337\340#\210\303\341\342#\210\303\311\343#\210\303\344\345#\210\303\307\346#\210\303\347\350#\210\351\352\353\"\354 \"\210\207" [make-syntax-table 0 48 modify-syntax-entry "_ " 58 65 91 97 123 128 32 " " 9 12 10 "> " 13 96 "' " 39 44 46 45 124 ". " 35 34 "\" " 92 "/ " 40 "() " 41 ")( " "(} " 125 "){ " "(] " 93 ")[ " map-char-table make-closure #[514 ":\203 @\301Y\205( @z\302U?\202 \303Y\205( z\302U?\205( \304\305\300#\207" [V0 128 119 256 modify-syntax-entry "_ "] 6 "\n\n(fn KEY VAL)"] standard-syntax-table] 6))
(defvar eshell-mode-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\207" [make-sparse-keymap define-key [(control 99)] eshell-command-map "
" eshell-send-input "\215" eshell-queue-input [(meta control 108)] eshell-show-output [(control 97)] eshell-bol] 5))
(defvar eshell-command-map (byte-code "\300\301!\302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210\302\333\334#\210\207" [define-prefix-command eshell-command-map define-key [(meta 111)] eshell-mark-output [(meta 100)] eshell-toggle-direct-send [(control 97)] eshell-bol [(control 98)] eshell-backward-argument [(control 101)] eshell-show-maximum-output [(control 102)] eshell-forward-argument [(control 109)] eshell-copy-old-input [(control 111)] eshell-kill-output [(control 114)] eshell-show-output [(control 116)] eshell-truncate-buffer [(control 117)] eshell-kill-input [(control 119)] backward-kill-word [(control 121)] eshell-repeat-argument] 5))
#@146 Function added to `kill-buffer-hook' in Eshell buffers.
This runs the function `eshell-kill-processes-on-exit',
and the hook `eshell-exit-hook'.
(defalias 'eshell-kill-buffer-function #[0 "\301\302!\203 \302>\204 \302 \210\303\300!\207" [eshell-exit-hook fboundp eshell-query-kill-processes run-hooks] 2 (#$ . 8367)])
(defvar eshell-mode-hook nil)
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [eshell-mode-hook variable-documentation put "Hook run after entering Eshell mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp eshell-mode-map definition-name eshell-mode] 4)
(defvar eshell-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\317#\207" [eshell-mode-abbrev-table eshell-mode-map variable-documentation put purecopy "Keymap for `eshell-mode'." boundp eshell-mode-syntax-table definition-name eshell-mode (lambda (#1=#:def-tmp-var) (defvar eshell-mode-syntax-table #1#)) make-syntax-table "Syntax table for `eshell-mode'." (lambda (#1#) (defvar eshell-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `eshell-mode'." derived-mode-parent] 5)
#@152 Emacs shell interactive mode.
This mode runs the hook `eshell-mode-hook', as the final or
penultimate step during initialization.
\{eshell-mode-map}
(defalias 'eshell-mode #[0 "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
@\306\311!\210\307 A\203? \306\315!\210\316!\306\317!\210\320>\211\203>