comparison lisp/progmodes/inf-lisp.el @ 798:b7932f859d4e

*** empty log message ***
author Eric S. Raymond <esr@snark.thyrsus.com>
date Thu, 16 Jul 1992 19:23:43 +0000
parents 540b047ece4d
children e694e0879463
comparison
equal deleted inserted replaced
797:ecc182062509 798:b7932f859d4e
1 ;;; cmulisp.el --- improved version of standard inferior-lisp mode 1 ;;; cmulisp.el --- improved version of standard inferior-lisp mode
2
3 ;; Author: Olin Shivers <shivers@cs.cmu.edu>
4 ;; Last-Modified: 16 Jul 1993
2 5
3 ;;; Copyright Olin Shivers (1988). 6 ;;; Copyright Olin Shivers (1988).
4 ;;; Please imagine a long, tedious, legalistic 5-page gnu-style copyright 7 ;;; Please imagine a long, tedious, legalistic 5-page gnu-style copyright
5 ;;; notice appearing here to the effect that you may use this code any 8 ;;; notice appearing here to the effect that you may use this code any
6 ;;; way you like, as long as you don't charge money for it, remove this 9 ;;; way you like, as long as you don't charge money for it, remove this
7 ;;; notice, or hold me liable for its results. 10 ;;; notice, or hold me liable for its results.
11
12 ;;; Commentary:
8 13
9 ;;; This replaces the standard inferior-lisp mode. 14 ;;; This replaces the standard inferior-lisp mode.
10 ;;; Hacked from tea.el by Olin Shivers (shivers@cs.cmu.edu). 8/88 15 ;;; Hacked from tea.el by Olin Shivers (shivers@cs.cmu.edu). 8/88
11 ;;; Please send me bug reports, bug fixes, and extensions, so that I can 16 ;;; Please send me bug reports, bug fixes, and extensions, so that I can
12 ;;; merge them into the master source. 17 ;;; merge them into the master source.
46 ;;; When sending text from a source file to a subprocess, the process-mark can 51 ;;; When sending text from a source file to a subprocess, the process-mark can
47 ;;; move off the window, so you can lose sight of the process interactions. 52 ;;; move off the window, so you can lose sight of the process interactions.
48 ;;; Maybe I should ensure the process mark is in the window when I send 53 ;;; Maybe I should ensure the process mark is in the window when I send
49 ;;; text to the process? Switch selectable? 54 ;;; text to the process? Switch selectable?
50 55
51 (require 'comint)
52 ;; YOUR .EMACS FILE 56 ;; YOUR .EMACS FILE
53 ;;============================================================================= 57 ;;=============================================================================
54 ;; Some suggestions for your .emacs file. 58 ;; Some suggestions for your .emacs file.
55 ;; 59 ;;
56 ;; ; If cmulisp lives in some non-standard directory, you must tell emacs 60 ;; ; If cmulisp lives in some non-standard directory, you must tell emacs
123 ;;; lisp-source-modes Anything loaded into a buffer that's in 127 ;;; lisp-source-modes Anything loaded into a buffer that's in
124 ;;; one of these modes is considered Lisp 128 ;;; one of these modes is considered Lisp
125 ;;; source by lisp-load/compile-file. 129 ;;; source by lisp-load/compile-file.
126 130
127 ;;; Read the rest of this file for more information. 131 ;;; Read the rest of this file for more information.
132
133 ;;; Code:
134
135 (require 'comint)
128 136
129 (defvar cmulisp-filter-regexp "\\`\\s *\\(:\\(\\w\\|\\s_\\)\\)?\\s *\\'" 137 (defvar cmulisp-filter-regexp "\\`\\s *\\(:\\(\\w\\|\\s_\\)\\)?\\s *\\'"
130 "*What not to save on inferior Lisp's input history 138 "*What not to save on inferior Lisp's input history
131 Input matching this regexp is not saved on the input history in cmulisp 139 Input matching this regexp is not saved on the input history in cmulisp
132 mode. Default is whitespace followed by 0 or 1 single-letter :keyword 140 mode. Default is whitespace followed by 0 or 1 single-letter :keyword