?
Current Path : /usr/share/emacs/24.3/lisp/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/comint.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:12 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/comint.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\300\302!\210\300\303!\210\304\305\306\307\310\311%\210\304\312\306\313\310\305%\210\304\314\306\315\316\317\310\305&\207" [require ring ansi-color regexp-opt custom-declare-group comint nil "General command interpreter in a window stuff." :group processes comint-completion "Completion facilities in comint." comint-source "Source finding facilities in comint." :prefix "comint-"] 8) #@454 Regexp to recognize prompts in the inferior process. Defaults to "^", the null string at BOL. This variable is only used if the variable `comint-use-prompt-regexp' is non-nil. Good choices: Canonical Lisp: "^[^> \n]*>+:? *" (Lucid, franz, kcl, T, cscheme, oaklisp) Lucid Common Lisp: "^\\(>\\|\\(->\\)+\\) *" franz: "^\\(->\\|<[0-9]*>:\\) *" kcl: "^>+ *" shell: "^[^#$%>\n]*[#$%>] *" T: "^>+ *" This is a good thing to set in mode hooks. (defvar comint-prompt-regexp "^" (#$ . 961)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \207" [custom-declare-variable comint-prompt-read-only funcall function #[0 "\300\207" [nil] 1 "\n\n(fn)"] "If non-nil, the comint prompt is read only.\nThe read only region includes the newline before the prompt.\nThis does not affect existing prompts.\nCertain derived modes may override this option.\n\nIf you set this option to t, then the safe way to temporarily\noverride the read-only-ness of comint prompts is to call\n`comint-kill-whole-line' or `comint-kill-region' with no\nnarrowing in effect. This way you will be certain that none of\nthe remaining prompts will be accidentally messed up. You may\nwish to put something like the following in your init file:\n\n(add-hook 'comint-mode-hook\n (lambda ()\n (define-key comint-mode-map \"\\C-w\" 'comint-kill-region)\n (define-key comint-mode-map [C-S-backspace]\n 'comint-kill-whole-line)))\n\nIf you sometimes use comint-mode on text-only terminals or with `emacs -nw',\nyou might wish to use another binding for `comint-kill-whole-line'." :type boolean :group comint :version "22.1"] 10) #@382 List of characters to recognize as separate arguments in input. Strings comprising a character in this list will separate the arguments surrounding them, and also be regarded as arguments in their own right (unlike whitespace). See `comint-arguments'. Defaults to the empty list. For shells, a good value is (?\| ?& ?< ?> ?\( ?\) ?;). This is a good thing to set in mode hooks. (defvar comint-delimiter-argument-list nil (#$ . 2599)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\312\313\314\315\310\311%\210\312\316\317\320\310\311%\210\300\321\302\303\322DD\323\306\324\310\311&\210\300\325\302\303\326DD\327\306\330\310\311&\210\300\331\302\303\332DD\333\306\334\310\311&\210\300\335\302\303\336DD\337\306\340\310\311&\210\341\342\335\"\210\300\343\302\303\344DD\345\306\324\310\311&\210\300\346\302\303\347DD\350\306\351\310\311&\210\300\352\302\303\353DD\354\306\351\310\311\355\356& \207" [custom-declare-variable comint-input-autoexpand funcall function #[0 "\300\207" [nil] 1 "\n\n(fn)"] "If non-nil, expand input command history references on completion.\nThis mirrors the optional behavior of tcsh (its autoexpand and histlist).\n\nIf the value is `input', then the expansion is seen on input.\nIf the value is `history', then the expansion is only when inserting\ninto the buffer's input ring. See also `comint-magic-space' and\n`comint-dynamic-complete'.\n\nThis variable is buffer-local." :type (choice (const :tag "off" nil) (const input) (const history) (other :tag "on" t)) :group comint custom-declare-face comint-highlight-input ((t (:weight bold))) "Face to use to highlight user input." comint-highlight-prompt ((t :inherit minibuffer-prompt)) "Face to use to highlight prompts." comint-input-ignoredups #[0 "\300\207" [nil] 1 "\n\n(fn)"] "If non-nil, don't add input matching the last on the input ring.\nThis mirrors the optional behavior of bash.\n\nThis variable is buffer-local." boolean comint-input-ring-file-name #[0 "\300\207" [nil] 1 "\n\n(fn)"] "If non-nil, name of the file to read/write input history.\nSee also `comint-read-input-ring' and `comint-write-input-ring'.\n`comint-mode' makes this a buffer-local variable. You probably want\nto set this in a mode hook, rather than customize the default value." (choice (const :tag "nil" nil) file) comint-scroll-to-bottom-on-input #[0 "\300\207" [nil] 1 "\n\n(fn)"] "Controls whether input to interpreter causes window to scroll.\nIf nil, then do not scroll. If t or `all', scroll all windows showing buffer.\nIf `this', scroll only the selected window.\n\nThe default is nil.\n\nSee `comint-preinput-scroll-to-bottom'. This variable is buffer-local." (choice (const :tag "off" nil) (const t) (const all) (const this)) comint-move-point-for-output #[0 "\300\207" [nil] 1 "\n\n(fn)"] "Controls whether interpreter output moves point to the end of the output.\nIf nil, then output never moves point to the output.\n (If the output occurs at point, it is inserted before point.)\nIf t or `all', move point in all windows showing the buffer.\nIf `this', move point only the selected window.\nIf `others', move point only in other windows, not in the selected window.\n\nThe default is nil.\n\nSee the variable `comint-scroll-show-maximum-output' and the function\n`comint-postoutput-scroll-to-bottom'.\nThis variable is buffer-local in all Comint buffers." (choice (const :tag "off" nil) (const t) (const all) (const this) (const others)) defvaralias comint-scroll-to-bottom-on-output comint-scroll-show-maximum-output #[0 "\300\207" [t] 1 "\n\n(fn)"] "Controls how to scroll due to interpreter output.\nThis variable applies when point is at the end of the buffer\n(either because it was originally there, or because\n`comint-move-point-for-output' said to move it there)\nand output from the subprocess is inserted.\n\nNon-nil means scroll so that the window is full of text\nand point is on the last line. A value of nil\nmeans don't do anything special--scroll normally.\n\nSee also the variable `comint-move-point-for-output' and the function\n`comint-postoutput-scroll-to-bottom'.\nThis variable is buffer-local in all Comint buffers." comint-buffer-maximum-size #[0 "\300\207" [1024] 1 "\n\n(fn)"] "The maximum size in lines for Comint buffers.\nComint buffers are truncated from the top to be no greater than this number, if\nthe function `comint-truncate-buffer' is on `comint-output-filter-functions'." integer comint-input-ring-size #[0 "\300\207" [500] 1 "\n\n(fn)"] "Size of the input history ring in `comint-mode'." :version "23.2"] 10) #@49 Separator between commands in the history file. (defvar comint-input-ring-separator "\n" (#$ . 7161)) #@76 Regexp for history entries that should be ignored when Comint initializes. (defvar comint-input-history-ignore "^#" (#$ . 7269)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\315\316\306\317\310\311& \207" [custom-declare-variable comint-process-echoes funcall function #[0 "\300\207" [nil] 1 "\n\n(fn)"] "If non-nil, assume that the subprocess echoes any input.\nIf so, delete one copy of the input so that only one copy eventually\nappears in the buffer.\n\nThis variable is buffer-local." :type boolean :group comint comint-password-prompt-regexp #[0 "\300\207" ["\\(^ *\\|\\( SMB\\|'s\\|Bad\\|CVS\\|Enter\\(?: \\(?:\\(?:sam\\|th\\)e\\)\\)?\\|Kerberos\\|LDAP\\|New\\|Old\\|Repeat\\|UNIX\\|\\[sudo]\\|enter\\(?: \\(?:\\(?:sam\\|th\\)e\\)\\)?\\|login\\|new\\|old\\) +\\)\\(?:Pass\\(?: phrase\\|phrase\\|word\\)\\|Response\\|pass\\(?: phrase\\|phrase\\|word\\)\\)\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\\(?: for [^:]+\\)?:\\s *\\'"] 1 "\n\n(fn)"] "Regexp matching prompts for passwords in the inferior process.\nThis is used by `comint-watch-for-password-prompt'." :version "24.1" regexp] 10) #@412 Function that returns old text in Comint mode. This function is called when return is typed while the point is in old text. It returns the text to be submitted as process input. The default is `comint-get-old-input-default', which either grabs the current input field or grabs the current line and strips off leading text matching `comint-prompt-regexp', depending on the value of `comint-use-prompt-regexp'. (defvar comint-get-old-input 'comint-get-old-input-default (#$ . 8441)) #@173 List of functions called to perform completion. Works like `completion-at-point-functions'. See also `comint-dynamic-complete'. This is a good thing to set in mode hooks. (defvar comint-dynamic-complete-functions '(comint-c-a-p-replace-by-expanded-history comint-filename-completion) (#$ . 8931)) #@203 Predicate for filtering additions to input history. Takes one argument, the input. If non-nil, the input may be saved on the input history list. Default is to save anything that isn't all whitespace. (defvar comint-input-filter #[257 "\300\301\"?\207" [string-match "\\`\\s *\\'"] 4 "\n\n(fn STR)"] (#$ . 9236)) #@128 Abnormal hook run before input is sent to the process. These functions get one argument, a string containing the text to send. (defvar comint-input-filter-functions nil (#$ . 9558)) #@529 Functions to call after output is inserted into the buffer. One possible function is `comint-postoutput-scroll-to-bottom'. These functions get one argument, a string containing the text as originally inserted. Note that this might not be the same as the buffer contents between `comint-last-output-start' and the buffer's `process-mark', if other filter functions have already modified the buffer. See also `comint-preoutput-filter-functions'. You can use `add-hook' to add functions to this list either globally or locally. (defvar comint-output-filter-functions '(ansi-color-process-output comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt) (#$ . 9747)) #@75 Non-nil directs the `comint-input-sender' function not to send a newline. (defvar comint-input-sender-no-newline nil (#$ . 10430)) #@383 Function to actually send to PROCESS the STRING submitted by user. Usually this is just `comint-simple-send', but if your mode needs to massage the input string, put a different function here. `comint-simple-send' just sends the string plus a newline. (If `comint-input-sender-no-newline' is non-nil, it omits the newline.) This is called from the user command `comint-send-input'. (defvar comint-input-sender 'comint-simple-send (#$ . 10568)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\312\313\314\315#\210\316\211\2037 \211@\313N\2030 \314N\2040 \317\314\313N#\210A\266\202\202 \210\320\313\314\321#\210\300\314\302\303\322DD\323\306\307\310\311&\210\300\324\302\303\325DD\326\306\327\310\311&\210\300\330\302\303\331DD\332\306\327\310\311&\207" [custom-declare-variable comint-eol-on-send funcall function #[0 "\300\207" [t] 1 "\n\n(fn)"] "Non-nil means go to the end of the line before sending input.\nSee `comint-send-input'." :type boolean :group comint defvaralias comint-use-prompt-regexp-instead-of-fields comint-use-prompt-regexp nil (saved-value saved-variable-comment) put make-obsolete-variable "22.1" #[0 "\300\207" [nil] 1 "\n\n(fn)"] "If non-nil, use `comint-prompt-regexp' to recognize prompts.\nIf nil, then program output and user-input are given different `field'\nproperties, which Emacs commands can use to distinguish them (in\nparticular, common movement commands such as `beginning-of-line'\nrespect field boundaries in a natural way)." comint-mode-hook #[0 "\300\207" [nil] 1 "\n\n(fn)"] "Hook run upon entry to `comint-mode'.\nThis is run before the process is cranked up." hook comint-exec-hook #[0 "\300\207" [nil] 1 "\n\n(fn)"] "Hook run each time a process is exec'd by `comint-exec'.\nThis is called after the process is cranked up. It is useful for things that\nmust be done each time a process is executed in a Comint mode buffer (e.g.,\n`(process-kill-without-query)'). In contrast, the `comint-mode-hook' is only\nexecuted once when the buffer is created."] 8) (defvar comint-mode-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\304#\210\302\310\306#\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\326#\210\302\330\331#\210\302\332\333#\210\302\334\335#\210\302\336\337#\210\302\340\341#\210\302\342\343#\210\302\344\345#\210\302\346\347#\210\302\350\351#\210\302\352\353#\210\302\354\320#\210\302\355\356#\210\302\357\360#\210\302\361\362#\210\302\363\364#\210\302\365\366#\210\302\367\370#\210\302\371\372#\210\302\373\374#\210\302\375\376\301\376!B#\210\302\377\201@ #\210\302\201A \201B #\210\302\201C \201D #\210\302\201E \201F #\210\302\201G \201H \301\201H !B#\210\302\201I \201J #\210\302\201K \201L #\210\302\201M \201N #\210\302\201O \201P #\210\302\201Q \201R #\210\302\201S \201T #\210\302\201U \201V #\210\302\201W \201X #\210\302\201Y \201Z #\210\302\201[ \201\\ #\210\302\201] \201^ #\210\302\201_ \201` #\210\302\201a \201b #\210\302\201c \201d #\210\302\201e \201f #\210\302\201g \201h #\210\302\201i \201j #\210\302\201k \201l #\210\302\201m \201n #\210\302\201o \201p #\210\302\201q \201r #\210\301\201s !\302\201t \201s B#\210\302\201u \201v #\210\302\201w \201x #\210\302\201y \201z #\210\302\201{ \201| #\210\302\201} \201~ #\210\302\201 \201\200 #\266\201\201 \201\202 \"\211\207" [menu-bar-final-items make-sparse-keymap define-key "p" comint-previous-input "n" comint-next-input [C-up] [C-down] "r" comint-history-isearch-backward-regexp [3 134217842] comint-previous-matching-input-from-input [3 134217843] comint-next-matching-input-from-input "\f" comint-show-output " " comint-send-input "" comint-delchar-or-maybe-eof [delete] delete-char [kp-delete] " " comint-accumulate "" comint-get-next-from-history "" comint-bol-or-process-mark "" comint-kill-input "" backward-kill-word "" comint-interrupt-subjob "" comint-stop-subjob "" comint-quit-subjob " " comint-copy-old-input "" comint-delete-output "" "" comint-show-maximum-output "\f" comint-dynamic-list-input-ring "" comint-next-prompt "" comint-previous-prompt "" comint-send-eof "" comint-write-output "." comint-insert-previous-argument [mouse-2] comint-insert-input [menu-bar completion] "Complete" [menu-bar completion complete-expand] ("Expand File Name" . comint-replace-by-expanded-filename) [menu-bar completion complete-listing] ("File Completion Listing" . comint-dynamic-list-filename-completions) [menu-bar completion complete-file] ("Complete File Name" . comint-dynamic-complete-filename) [menu-bar completion complete] ("Complete at Point" . completion-at-point) [menu-bar inout] "In/Out" [menu-bar inout delete-output] ("Delete Current Output Group" . comint-delete-output) [menu-bar inout append-output-to-file] ("Append Current Output Group to File" . comint-append-output-to-file) [menu-bar inout write-output] ("Write Current Output Group to File" . comint-write-output) [menu-bar inout next-prompt] ("Forward Output Group" . comint-next-prompt) [menu-bar inout previous-prompt] ("Backward Output Group" . comint-previous-prompt) [menu-bar inout show-maximum-output] ("Show Maximum Output" . comint-show-maximum-output) [menu-bar inout show-output] ("Show Current Output Group" . comint-show-output) [menu-bar inout kill-input] ("Kill Current Input" . comint-kill-input) [menu-bar inout copy-input] ("Copy Old Input" . comint-copy-old-input) [menu-bar inout history-isearch-backward-regexp] ("Isearch Input Regexp Backward..." . comint-history-isearch-backward-regexp) [menu-bar inout history-isearch-backward] ("Isearch Input String Backward..." . comint-history-isearch-backward) [menu-bar inout forward-matching-history] ("Forward Matching Input..." . comint-forward-matching-input) [menu-bar inout backward-matching-history] ("Backward Matching Input..." . comint-backward-matching-input) [menu-bar inout next-matching-history] ("Next Matching Input..." . comint-next-matching-input) [menu-bar inout previous-matching-history] ("Previous Matching Input..." . comint-previous-matching-input) [menu-bar inout next-matching-history-from-input] ("Next Matching Current Input" . comint-next-matching-input-from-input) [menu-bar inout previous-matching-history-from-input] ("Previous Matching Current Input" . comint-previous-matching-input-from-input) [menu-bar inout next-history] ("Next Input" . comint-next-input) [menu-bar inout previous-history] ("Previous Input" . comint-previous-input) [menu-bar inout list-history] ("List Input History" . comint-dynamic-list-input-ring) [menu-bar inout expand-history] ("Expand History Before Point" . comint-replace-by-expanded-history) "Signals" [menu-bar signals] [eof] ("EOF" . comint-send-eof) [kill] ("KILL" . comint-kill-subjob) [quit] ("QUIT" . comint-quit-subjob) [cont] ("CONT" . comint-continue-subjob) [stop] ("STOP" . comint-stop-subjob) [break] ("BREAK" . comint-interrupt-subjob) append (completion inout signals)] 7)) #@126 Non-nil if communications via pty; false if by pipe. Buffer local. This is to work around a bug in Emacs process signaling. (defvar comint-ptyp t (#$ . 17628)) (defvar comint-input-ring nil) (defvar comint-last-input-start nil) (defvar comint-last-input-end nil) (defvar comint-last-output-start nil) #@40 Index of last matched history element. (defvar comint-input-ring-index nil (#$ . 17936)) #@47 Input previously used to match input history. (defvar comint-matching-input-from-input-string "" (#$ . 18031)) #@105 Last input ring index which you copied. This is to support the command \[comint-get-next-from-history]. (defvar comint-save-input-ring-index nil (#$ . 18149)) #@116 Non-nil if you are accumulating input lines to send as input together. The command \[comint-accumulate] sets this. (defvar comint-accum-marker nil (#$ . 18315)) #@35 Stored input for history cycling. (defvar comint-stored-incomplete-input nil (#$ . 18482)) (byte-code "\300\301\302\303#\210\300\304\305\306#\210\300\307\305\306#\210\300\310\305\306#\210\300\303\305\306#\210\300\311\305\306#\210\300\312\305\306#\210\300\313\305\306#\210\300\314\305\306#\210\300\315\305\306#\210\300\316\305\306#\210\300\317\305\306#\210\300\320\321\322#\210\323\324N\204\\ \300\323\324\325\326!#\210\327\330!\204h \300\330\331\320#\210\300\207" [put comint-replace-by-expanded-history menu-enable comint-input-autoexpand comint-input-ring permanent-local t comint-input-ring-index comint-save-input-ring-index comint-input-filter-functions comint-output-filter-functions comint-preoutput-filter-functions comint-scroll-to-bottom-on-input comint-move-point-for-output comint-scroll-show-maximum-output comint-ptyp comint-mode mode-class special comint-mode-hook variable-documentation purecopy "Hook run when entering Comint mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp comint-mode-map definition-name] 5) (defvar comint-mode-map (make-sparse-keymap)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [comint-mode-map variable-documentation put purecopy "Keymap for `comint-mode'." boundp comint-mode-syntax-table definition-name comint-mode] 5) (defvar comint-mode-syntax-table (make-syntax-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [comint-mode-syntax-table variable-documentation put purecopy "Syntax table for `comint-mode'." comint-mode-abbrev-table definition-name comint-mode] 5) (defvar comint-mode-abbrev-table (progn (define-abbrev-table 'comint-mode-abbrev-table nil) comint-mode-abbrev-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [comint-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `comint-mode'." comint-mode derived-mode-parent nil] 5) #@1729 Major mode for interacting with an inferior interpreter. Interpreter name is same as buffer name, sans the asterisks. Return at end of buffer sends line as input. Return not at end copies rest of line to end and sends it. Setting variable `comint-eol-on-send' means jump to the end of the line before submitting new input. This mode is customized to create major modes such as Inferior Lisp mode, Shell mode, etc. This can be done by setting the hooks `comint-input-filter-functions', `comint-input-filter', `comint-input-sender' and `comint-get-old-input' to appropriate functions, and the variable `comint-prompt-regexp' to the appropriate regular expression. The mode maintains an input history of size `comint-input-ring-size'. You can access this with the commands \[comint-next-input], \[comint-previous-input], and \[comint-dynamic-list-input-ring]. Input ring history expansion can be achieved with the commands \[comint-replace-by-expanded-history] or \[comint-magic-space]. Input ring expansion is controlled by the variable `comint-input-autoexpand', and addition is controlled by the variable `comint-input-ignoredups'. Commands with no default key bindings include `send-invisible', `comint-dynamic-complete', `comint-dynamic-list-filename-completions', and `comint-magic-space'. Input to, and output from, the subprocess can cause the window to scroll to the end of the buffer. See variables `comint-output-filter-functions', `comint-preoutput-filter-functions', `comint-scroll-to-bottom-on-input', and `comint-move-point-for-output'. If you accidentally suspend your process, use \[comint-continue-subjob] to continue it. \{comint-mode-map} Entry to this mode runs the hooks on `comint-mode-hook'. (fn) (defalias 'comint-mode #[0 "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210 @\315A\306\316!\210\307\306\317!\210\320 \306\321!\210\320 \306\322!\210\323 \306\324!\210\306\325!\210\306\326!\210\306\327!\210\306\330!\210\331\327!\203Y \204_ \332!\306\333!\210\306\334!\210\331\333!\203r \204u \335\331\334!\203\200 \204\203 \335\306\336!\210\306\337!\210\306\340!\210\306\341!\210\306\342!\210\306\343!\210\306\344!\210\306\345!\210\306\346!\210\306\347!\210\306\350!\210\306\351!\210\306\352!\210\353\354\355\307\211$\210\306\356!\210\306\357!\210\306\360!\210\306\361!\210\306\362!\210\363B!\206\332 \3642\306\365!\210\323 5\306\366!\210\3676\353\370\371\335\307$\210\353\372\373\335\307$\210\353\374\375\335\307$\210\306\376!\210\335>)\377\201C !\207" [delay-mode-hooks major-mode mode-name comint-mode-map comint-mode-syntax-table comint-mode-abbrev-table make-local-variable t kill-all-local-variables comint-mode "Comint" use-local-map set-syntax-table (":%s") window-point-insertion-type comint-last-input-start point-min-marker comint-last-input-end comint-last-output-start make-marker comint-last-prompt-overlay comint-prompt-regexp comint-input-ring-size comint-input-ring comint-input-ring-file-name boundp make-ring comint-input-ring-index comint-save-input-ring-index nil comint-matching-input-from-input-string comint-input-autoexpand comint-input-ignoredups comint-delimiter-argument-list comint-completion-fignore comint-get-old-input comint-input-filter comint-input-sender comint-eol-on-send comint-scroll-to-bottom-on-input comint-move-point-for-output comint-scroll-show-maximum-output comint-stored-incomplete-input add-hook pre-command-hook comint-preinput-scroll-to-bottom comint-ptyp comint-process-echoes comint-file-name-chars comint-file-name-quote-list comint-file-name-prefix file-remote-p "" comint-accum-marker font-lock-defaults (nil t) change-major-mode-hook font-lock-defontify isearch-mode-hook comint-history-isearch-setup completion-at-point-functions comint-completion-at-point next-line-add-newlines run-mode-hooks local-abbrev-table mode-line-process default-directory comint-mode-hook] 5 (#$ . 20514) nil]) #@189 Return non-nil if there is a living process associated w/buffer BUFFER. Living means the status is `open', `run', or `stop'. BUFFER can be either a buffer or the name of one. (fn BUFFER) (defalias 'comint-check-proc #[257 "\300!\211\205\f \301!\302>\207" [get-buffer-process process-status (open run stop)] 4 (#$ . 24436)]) #@741 Make a Comint process NAME in BUFFER, running PROGRAM. If BUFFER is nil, it defaults to NAME surrounded by `*'s. If there is a running process in BUFFER, it is not restarted. PROGRAM should be one of the following: - a string, denoting an executable program to create via `start-file-process' - a cons pair of the form (HOST . SERVICE), denoting a TCP connection to be opened via `open-network-stream' - nil, denoting a newly-allocated pty. Optional fourth arg STARTFILE is the name of a file, whose contents are sent to the process as its initial input. If PROGRAM is a string, any more args are arguments to PROGRAM. Return the (possibly newly created) process buffer. (fn NAME BUFFER PROGRAM &optional STARTFILE &rest SWITCHES) (defalias 'make-comint-in-buffer #[1155 "\300\301!\204\n \302\303!\210\304\206 \305\305Q!\262\306!\2044 rq\210\307\310!\204* \310 \210)\311%\210\207" [fboundp start-file-process error "Multi-processing is not supported for this system" get-buffer-create "*" comint-check-proc derived-mode-p comint-mode comint-exec] 11 (#$ . 24770)]) #@694 Make a Comint process NAME in a buffer, running PROGRAM. The name of the buffer is made by surrounding NAME with `*'s. PROGRAM should be either a string denoting an executable program to create via `start-file-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP connection to be opened via `open-network-stream'. If there is already a running process in that buffer, it is not restarted. Optional third arg STARTFILE is the name of a file, whose contents are sent to the process as its initial input. If PROGRAM is a string, any more args are arguments to PROGRAM. Returns the (possibly newly created) process buffer. (fn NAME PROGRAM &optional STARTFILE &rest SWITCHES) (defalias 'make-comint #[898 "\300\301\302&\207" [apply make-comint-in-buffer nil] 11 (#$ . 25865)]) #@299 Run PROGRAM in a Comint buffer and switch to it. The buffer name is made by surrounding the file name of PROGRAM with `*'s. The file name is used to make a symbol name, such as `comint-sh-hook', and any hooks on this symbol are run in the buffer. See `make-comint' and `comint-exec'. (fn PROGRAM) (defalias 'comint-run #[257 "\300!\301\302\"!\210\303\304\305\306Q!!\207" [file-name-nondirectory switch-to-buffer make-comint run-hooks intern-soft "comint-" "-hook"] 7 (#$ . 26674) "sRun program: "]) #@684 Start up a process named NAME in buffer BUFFER for Comint modes. Runs the given COMMAND with SWITCHES, and initial input from STARTFILE. COMMAND should be one of the following: - a string, denoting an executable program to create via `start-file-process' - a cons pair of the form (HOST . SERVICE), denoting a TCP connection to be opened via `open-network-stream' - nil, denoting a newly-allocated pty. This function blasts any old process running in the buffer, and does not set the buffer mode. You can use this to cheaply run a series of processes in the same Comint buffer. The hook `comint-exec-hook' is run after each exec. (fn BUFFER NAME COMMAND STARTFILE SWITCHES) (defalias 'comint-exec #[1285 "rq\210\302!\211\203 \303!\210\210:\203\"