• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/eshell/

Lines Matching defs:proc

1 ;;; esh-proc.el --- process management
25 (provide 'esh-proc)
29 (defgroup eshell-proc nil
40 (defcustom eshell-proc-load-hook '(eshell-proc-initialize)
41 "*A hook that gets run when `eshell-proc' is loaded."
43 :group 'eshell-proc)
48 :group 'eshell-proc)
53 :group 'eshell-proc)
58 :group 'eshell-proc)
78 :group 'eshell-proc)
84 :group 'eshell-proc)
94 :group 'eshell-proc)
96 (defcustom eshell-kill-hook '(eshell-reset-after-proc)
104 :group 'eshell-proc)
115 (defun eshell-proc-initialize ()
127 (defun eshell-reset-after-proc (proc status)
138 (let ((proc (car procs)))
139 (when (eshell-processp proc)
141 (while (assq proc eshell-process-list)
201 (lambda (proc)
202 (cons (process-name proc) t)))
249 proc decoding encoding changed)
252 (setq proc
258 (eshell-record-process-object proc)
259 (set-process-buffer proc (current-buffer))
261 (set-process-filter proc 'eshell-output-filter)
262 (set-process-filter proc 'eshell-insertion-filter))
263 (set-process-sentinel proc 'eshell-sentinel)
264 (run-hook-with-args 'eshell-exec-hook proc)
266 (let ((coding-systems (process-coding-system proc)))
284 (set-process-coding-system proc decoding encoding))))
289 lbeg lend line proc-buf exit-status)
292 (setq proc-buf
309 (set-buffer proc-buf)
320 (set-buffer proc-buf))
330 (setq proc t))))
331 proc))
333 (defun eshell-insertion-filter (proc string)
337 (when (buffer-live-p (process-buffer proc))
338 (set-buffer (process-buffer proc))
339 (let ((entry (assq proc eshell-process-list)))
351 (defun eshell-sentinel (proc string)
354 (when (buffer-live-p (process-buffer proc))
355 (set-buffer (process-buffer proc))
357 (let* ((entry (assq proc eshell-process-list)))
360 ; (process-name proc))
366 (eshell-insertion-filter proc string))
367 (eshell-close-handles (process-exit-status proc) 'nil
370 (run-hook-with-args 'eshell-kill-hook proc string))))
398 :group 'eshell-proc)
407 :group 'eshell-proc)
430 :group 'eshell-proc)
439 (lambda (proc)
440 (signal-process (process-id proc) (car sigs)))) t query)
508 ;;; esh-proc.el ends here