Mercurial > emacs
comparison lisp/comint.el @ 768:4abf65b235d9
*** empty log message ***
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Tue, 14 Jul 1992 02:41:33 +0000 |
parents | c7d478752305 |
children | cd00bdacc17b |
comparison
equal
deleted
inserted
replaced
767:02bfc9709961 | 768:4abf65b235d9 |
---|---|
22 | 22 |
23 ;;; Please send me bug reports, bug fixes, and extensions, so that I can | 23 ;;; Please send me bug reports, bug fixes, and extensions, so that I can |
24 ;;; merge them into the master source. | 24 ;;; merge them into the master source. |
25 ;;; - Olin Shivers (shivers@cs.cmu.edu) | 25 ;;; - Olin Shivers (shivers@cs.cmu.edu) |
26 | 26 |
27 ;;; This hopefully generalises shell mode, lisp mode, tea mode, soar mode,... | |
28 ;;; This file defines a general command-interpreter-in-a-buffer package | 27 ;;; This file defines a general command-interpreter-in-a-buffer package |
29 ;;; (comint mode). The idea is that you can build specific process-in-a-buffer | 28 ;;; (comint mode). The idea is that you can build specific process-in-a-buffer |
30 ;;; modes on top of comint mode -- e.g., lisp, shell, scheme, T, soar, .... | 29 ;;; modes on top of comint mode -- e.g., lisp, shell, scheme, T, soar, .... |
31 ;;; This way, all these specific packages share a common base functionality, | 30 ;;; This way, all these specific packages share a common base functionality, |
32 ;;; and a common set of bindings, which makes them easier to use (and | 31 ;;; and a common set of bindings, which makes them easier to use (and |
1181 ; (global-set-key "\M-?" 'comint-dynamic-list-completions) | 1180 ; (global-set-key "\M-?" 'comint-dynamic-list-completions) |
1182 ; (define-key shell-mode-map "\M-\t" 'comint-dynamic-complete) | 1181 ; (define-key shell-mode-map "\M-\t" 'comint-dynamic-complete) |
1183 | 1182 |
1184 ;;; Converting process modes to use comint mode | 1183 ;;; Converting process modes to use comint mode |
1185 ;;; =========================================================================== | 1184 ;;; =========================================================================== |
1186 ;;; Several gnu packages (tex-mode, background, dbx, gdb, kermit, prolog, | 1185 ;;; The code in the Emacs 19 distribution has all been modified to use comint |
1187 ;;; telnet are some) use the shell package as clients. Most of them would | 1186 ;;; where needed. However, there are `third-party' packages out there that |
1188 ;;; be better off using the comint package, but they predate it. | 1187 ;;; still use the old shell mode. Here's a guide to conversion. |
1189 ;;; | 1188 ;;; |
1190 ;;; Altering these packages to use comint mode should greatly | |
1191 ;;; improve their functionality, and is fairly easy. | |
1192 ;;; | |
1193 ;;; Renaming variables | 1189 ;;; Renaming variables |
1194 ;;; Most of the work is renaming variables and functions. These are the common | 1190 ;;; Most of the work is renaming variables and functions. These are the common |
1195 ;;; ones: | 1191 ;;; ones: |
1196 ;;; Local variables: | 1192 ;;; Local variables: |
1197 ;;; last-input-start comint-last-input-start | 1193 ;;; last-input-start comint-last-input-start |