%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/eshell/ |
Current File : //usr/local/share/emacs/27.2/lisp/eshell/esh-io.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\300\302!\210\303\304\305\306\307\310\311\312&\210\313\314\315\316\317DD\320\321\322\323\324\311\304& \210\313\325\315\316\326DD\327\323\330\311\304&\210\313\331\315\316\332DD\333\323\330\311\304&\210\313\334\315\316\335DD\336\323\330\311\304&\210\313\337\315\316\340DD\341\323\330\311\304&\210\313\342\315\316\343DD\344\323\345\311\304&\210\346\342\347\350#\207" [require esh-arg esh-util custom-declare-group eshell-io nil "Eshell's I/O management code provides a scheme for treating many\ndifferent kinds of objects -- symbols, files, buffers, etc. -- as\nthough they were files." :tag "I/O management" :group eshell custom-declare-variable eshell-io-load-hook funcall function #[0 "\300\207" [nil] 1] "A hook that gets run when `eshell-io' is loaded." :version "24.1" :type hook eshell-number-of-handles #[0 "\300\207" [3] 1] "The number of file handles that eshell supports.\nCurrently this is standard input, output and error. But even all of\nthese Emacs does not currently support with asynchronous processes\n(which is what eshell uses so that you can continue doing work in\nother buffers) ." integer eshell-output-handle #[0 "\300\207" [1] 1] "The index of the standard output handle." eshell-error-handle #[0 "\300\207" [2] 1] "The index of the standard error handle." eshell-print-queue-size #[0 "\300\207" [5] 1] "The size of the print queue, for doing buffered printing.\nThis is basically a speed enhancement, to avoid blocking the Lisp code\nfrom executing while Emacs is redisplaying." eshell-virtual-targets #[0 "\300\207" [(("/dev/eshell" eshell-interactive-print nil) ("/dev/kill" (lambda (mode) (if (eq mode 'overwrite) (kill-new #1="")) 'eshell-kill-append) t) ("/dev/clip" (lambda (mode) (if (eq mode 'overwrite) (let ((select-enable-clipboard t)) (kill-new #1#))) 'eshell-clipboard-append) t))] 1] "Map virtual devices name to Emacs Lisp functions.\nIf the user specifies any of the filenames above as a redirection\ntarget, the function in the second element will be called.\n\nIf the third element is non-nil, the redirection mode is passed as an\nargument (which is the symbol `overwrite', `append' or `insert'), and\nthe function is expected to return another function -- which is the\noutput function. Otherwise, the second element itself is the output\nfunction.\n\nThe output function is then called repeatedly with single strings,\nwhich represents successive pieces of the output of the command, until nil\nis passed, meaning EOF.\n\nNOTE: /dev/null is handled specially as a virtual target, and should\nnot be added to this variable." (repeat (list (string :tag "Target") function (choice (const :tag "Func returns output-func" t) (const :tag "Func is output-func" nil)))) put risky-local-variable t] 10) (defvar eshell-current-handles nil) #@56 The exit code from the last command. 0 if successful. (defvar eshell-last-command-status 0 (#$ . 3217)) #@58 The result of the last command. Not related to success. (defvar eshell-last-command-result nil (#$ . 3328)) #@57 If non-nil, the current buffer is a file output buffer. (defvar eshell-output-file-buffer nil (#$ . 3443)) #@36 Initialize the I/O subsystem code. (defalias 'eshell-io-initialize #[0 "\300\301\302\303\304$\210\305\306!\210\300\307\310\303\304$\210\311\312\313\314B\315\303$\207" [add-hook eshell-parse-argument-hook eshell-parse-redirection nil t make-local-variable eshell-current-redirections eshell-pre-rewrite-command-hook eshell-strip-redirections advice--add-function :filter-return #[0 "\300\301!\207" [advice--buffer-local eshell-post-rewrite-command-function] 2] #[257 "\300\301\"\207" [advice--set-buffer-local eshell-post-rewrite-command-function] 4 "\n\n(fn GV--VAL)"] eshell--apply-redirections] 5 (#$ . 3556)]) #@44 Parse an output redirection, such as `2>'. (defalias 'eshell-parse-redirection #[0 "?\205>