version 1.22, 1997/04/11 17:42:23
|
version 1.24, 1997/10/04 17:33:52
|
Line 36
|
Line 36
|
|
|
|
|
(defvar forth-positives |
(defvar forth-positives |
" : :noname code interpretation: ;code does> begin do ?do +do -do u+do u-do while if ?dup-if ?dup-0=-if else case of struct [if] [else] with public: private: class " |
" : :noname code interpretation: ;code does> begin do ?do +do -do u+do u-do while if ?dup-if ?dup-0=-if else case of struct [if] [ifdef] [ifundef] [else] with public: private: class " |
"Contains all words which will cause the indent-level to be incremented |
"Contains all words which will cause the indent-level to be incremented |
on the next line. |
on the next line. |
OBS! All words in forth-positives must be surrounded by spaces.") |
OBS! All words in forth-positives must be surrounded by spaces.") |
Line 76 OBS! All words in forth-negatives must b
|
Line 76 OBS! All words in forth-negatives must b
|
(if (not forth-mode-map) |
(if (not forth-mode-map) |
(setq forth-mode-map (make-sparse-keymap))) |
(setq forth-mode-map (make-sparse-keymap))) |
|
|
(global-set-key "\e\C-m" 'forth-send-paragraph) |
|
(global-set-key "\C-x\C-m" 'forth-split) |
|
(global-set-key "\e " 'forth-reload) |
|
|
|
;(define-key forth-mode-map "\M-\C-x" 'compile) |
;(define-key forth-mode-map "\M-\C-x" 'compile) |
(define-key forth-mode-map "\C-x\\" 'comment-region) |
(define-key forth-mode-map "\C-x\\" 'comment-region) |
(define-key forth-mode-map "\C-x~" 'forth-remove-tracers) |
(define-key forth-mode-map "\C-x~" 'forth-remove-tracers) |
Line 160 OBS! All words in forth-negatives must b
|
Line 156 OBS! All words in forth-negatives must b
|
" |
" |
Major mode for editing Forth code. Tab indents for Forth code. Comments |
Major mode for editing Forth code. Tab indents for Forth code. Comments |
are delimited with \\ and newline. Paragraphs are separated by blank lines |
are delimited with \\ and newline. Paragraphs are separated by blank lines |
only. Delete converts tabs to spaces as it moves back. |
only. |
\\{forth-mode-map} |
\\{forth-mode-map} |
Forth-split |
Forth-split |
Positions the current buffer on top and a forth-interaction window |
Positions the current buffer on top and a forth-interaction window |