comparison lisp/=cmulisp.el @ 2307:10e417efb12a

Added or corrected Commentary sections
author Eric S. Raymond <esr@snark.thyrsus.com>
date Mon, 22 Mar 1993 03:27:18 +0000
parents 2c7997f249eb
children 507f64624555
comparison
equal deleted inserted replaced
2306:59c8668f70c7 2307:10e417efb12a
70 ;; ; Define C-c t to run my favorite command in cmulisp mode: 70 ;; ; Define C-c t to run my favorite command in cmulisp mode:
71 ;; (setq cmulisp-load-hook 71 ;; (setq cmulisp-load-hook
72 ;; '((lambda () 72 ;; '((lambda ()
73 ;; (define-key cmulisp-mode-map "\C-ct" 'favorite-cmd)))) 73 ;; (define-key cmulisp-mode-map "\C-ct" 'favorite-cmd))))
74 74
75 75 ;; Brief Command Documentation:
76 ;;; Brief Command Documentation: 76 ;;============================================================================
77 ;;;============================================================================ 77 ;; Comint Mode Commands: (common to cmulisp and all comint-derived modes)
78 ;;; Comint Mode Commands: (common to cmulisp and all comint-derived modes) 78 ;;
79 ;;; 79 ;; m-p comint-previous-input Cycle backwards in input history
80 ;;; m-p comint-previous-input Cycle backwards in input history 80 ;; m-n comint-next-input Cycle forwards
81 ;;; m-n comint-next-input Cycle forwards 81 ;; m-c-r comint-previous-input-matching Search backwards in input history
82 ;;; m-c-r comint-previous-input-matching Search backwards in input history 82 ;; return comint-send-input
83 ;;; return comint-send-input 83 ;; c-a comint-bol Beginning of line; skip prompt.
84 ;;; c-a comint-bol Beginning of line; skip prompt. 84 ;; c-d comint-delchar-or-maybe-eof Delete char unless at end of buff.
85 ;;; c-d comint-delchar-or-maybe-eof Delete char unless at end of buff. 85 ;; c-c c-u comint-kill-input ^u
86 ;;; c-c c-u comint-kill-input ^u 86 ;; c-c c-w backward-kill-word ^w
87 ;;; c-c c-w backward-kill-word ^w 87 ;; c-c c-c comint-interrupt-subjob ^c
88 ;;; c-c c-c comint-interrupt-subjob ^c 88 ;; c-c c-z comint-stop-subjob ^z
89 ;;; c-c c-z comint-stop-subjob ^z 89 ;; c-c c-\ comint-quit-subjob ^\
90 ;;; c-c c-\ comint-quit-subjob ^\ 90 ;; c-c c-o comint-kill-output Delete last batch of process output
91 ;;; c-c c-o comint-kill-output Delete last batch of process output 91 ;; c-c c-r comint-show-output Show last batch of process output
92 ;;; c-c c-r comint-show-output Show last batch of process output 92 ;; send-invisible Read line w/o echo & send to proc
93 ;;; send-invisible Read line w/o echo & send to proc 93 ;; comint-continue-subjob Useful if you accidentally suspend
94 ;;; comint-continue-subjob Useful if you accidentally suspend 94 ;; top-level job.
95 ;;; top-level job. 95 ;; comint-mode-hook is the comint mode hook.
96 ;;; comint-mode-hook is the comint mode hook. 96
97 97 ;; CMU Lisp Mode Commands:
98 ;;; CMU Lisp Mode Commands: 98 ;; c-m-x lisp-send-defun This binding is a gnu convention.
99 ;;; c-m-x lisp-send-defun This binding is a gnu convention. 99 ;; c-c c-l lisp-load-file Prompt for file name; tell Lisp to load it.
100 ;;; c-c c-l lisp-load-file Prompt for file name; tell Lisp to load it. 100 ;; c-c c-k lisp-compile-file Prompt for file name; tell Lisp to kompile it.
101 ;;; c-c c-k lisp-compile-file Prompt for file name; tell Lisp to kompile it. 101 ;; Filename completion is available, of course.
102 ;;; Filename completion is available, of course. 102 ;;
103 ;;; 103 ;; Additionally, these commands are added to the key bindings of Lisp mode:
104 ;;; Additionally, these commands are added to the key bindings of Lisp mode: 104 ;; c-m-x lisp-eval-defun This binding is a gnu convention.
105 ;;; c-m-x lisp-eval-defun This binding is a gnu convention. 105 ;; c-c c-e lisp-eval-defun Send the current defun to Lisp process.
106 ;;; c-c c-e lisp-eval-defun Send the current defun to Lisp process. 106 ;; c-x c-e lisp-eval-last-sexp Send the previous sexp to Lisp process.
107 ;;; c-x c-e lisp-eval-last-sexp Send the previous sexp to Lisp process. 107 ;; c-c c-r lisp-eval-region Send the current region to Lisp process.
108 ;;; c-c c-r lisp-eval-region Send the current region to Lisp process. 108 ;; c-c c-c lisp-compile-defun Compile the current defun in Lisp process.
109 ;;; c-c c-c lisp-compile-defun Compile the current defun in Lisp process. 109 ;; c-c c-z switch-to-lisp Switch to the Lisp process buffer.
110 ;;; c-c c-z switch-to-lisp Switch to the Lisp process buffer. 110 ;; c-c c-l lisp-load-file (See above. In a Lisp file buffer, default
111 ;;; c-c c-l lisp-load-file (See above. In a Lisp file buffer, default 111 ;; c-c c-k lisp-compile-file is to load/compile the current file.)
112 ;;; c-c c-k lisp-compile-file is to load/compile the current file.) 112 ;; c-c c-d lisp-describe-sym Query Lisp for a symbol's description.
113 ;;; c-c c-d lisp-describe-sym Query Lisp for a symbol's description. 113 ;; c-c c-a lisp-show-arglist Query Lisp for function's arglist.
114 ;;; c-c c-a lisp-show-arglist Query Lisp for function's arglist. 114 ;; c-c c-f lisp-show-function-documentation Query Lisp for a function's doc.
115 ;;; c-c c-f lisp-show-function-documentation Query Lisp for a function's doc. 115 ;; c-c c-v lisp-show-variable-documentation Query Lisp for a variable's doc.
116 ;;; c-c c-v lisp-show-variable-documentation Query Lisp for a variable's doc. 116
117 117 ;; cmulisp Fires up the Lisp process.
118 ;;; cmulisp Fires up the Lisp process. 118 ;; lisp-compile-region Compile all forms in the current region.
119 ;;; lisp-compile-region Compile all forms in the current region. 119 ;;
120 ;;; 120 ;; CMU Lisp Mode Variables:
121 ;;; CMU Lisp Mode Variables: 121 ;; cmulisp-filter-regexp Match this => don't get saved on input hist
122 ;;; cmulisp-filter-regexp Match this => don't get saved on input hist 122 ;; inferior-lisp-program Name of Lisp program run-lisp executes
123 ;;; inferior-lisp-program Name of Lisp program run-lisp executes 123 ;; inferior-lisp-load-command Customises lisp-load-file
124 ;;; inferior-lisp-load-command Customises lisp-load-file 124 ;; cmulisp-mode-hook
125 ;;; cmulisp-mode-hook 125 ;; inferior-lisp-prompt Initialises comint-prompt-regexp.
126 ;;; inferior-lisp-prompt Initialises comint-prompt-regexp. 126 ;; Backwards compatibility.
127 ;;; Backwards compatibility. 127 ;; lisp-source-modes Anything loaded into a buffer that's in
128 ;;; lisp-source-modes Anything loaded into a buffer that's in 128 ;; one of these modes is considered Lisp
129 ;;; one of these modes is considered Lisp 129 ;; source by lisp-load/compile-file.
130 ;;; source by lisp-load/compile-file. 130
131 ;;; Code:
132
133 (require 'comint)
131 134
132 ;;; Read the rest of this file for more information. 135 ;;; Read the rest of this file for more information.
133 136
134 137
135 ;;; Code: 138 ;;; Code: