Changeset 5ec0264 in git
- Timestamp:
- Jul 2, 1999, 3:45:24 PM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 3a143d010f11f13368af478242ae274faa4b4cf7
- Parents:
- e8d7926ff7b6049314794666722f0a7b2fae3ed8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/singular.el
re8d792 r5ec0264 1 1 ;;; singular.el --- Emacs support for Computer Algebra System Singular 2 2 3 ;; $Id: singular.el,v 1.2 6 1998-08-14 06:57:23 wichmann Exp $3 ;; $Id: singular.el,v 1.27 1999-07-02 13:45:24 obachman Exp $ 4 4 5 5 ;;; Commentary: … … 216 216 ; "ring" "string" "vector")) 217 217 218 (defvar singular-font-lock-keywords-0 219 '( 220 ("^\\(> \\|. \\)" . font-lock-singular-prompt-face) 221 ("^ [\\?].*" 0 font-lock-singular-error-face t) 222 ("^// \\(\\*\\*.*\\)" 1 font-lock-singular-warn-face t) 223 ) 224 "Subdued level for highlighting in singular-(interactive)-mode") 225 218 226 (defvar singular-font-lock-keywords-1 219 227 '( … … 234 242 "Gaudy level for highlihgting in singular-(interactive)-mode") 235 243 236 (defvar singular-font-lock-keywords singular-font-lock-keywords- 1244 (defvar singular-font-lock-keywords singular-font-lock-keywords-0 237 245 "Default highlighting for singular-(interactive)-mode") 238 246 239 247 (defvar singular-font-lock-defaults 240 248 '((singular-font-lock-keywords 241 singular-font-lock-keywords- 1242 singular-font-lock-keywords- 2)249 singular-font-lock-keywords-0 250 singular-font-lock-keywords-0) 243 251 nil ;; KEYWORDS-ONLY 244 252 nil ;; CASE-FOLD (ignore case when non-nil) … … 278 286 (define-key singular-interactive-mode-map "\C-c\C-l" 'singular-load-library) 279 287 (define-key singular-interactive-mode-map "\C-c\C-d" 'singular-demo-load) 288 (define-key singular-interactive-mode-map "\C-c\C-c\C-d" 'singular-demo-exit) 280 289 (define-key singular-interactive-mode-map "\C-c\C-t" 'singular-toggle-truncate-lines) 281 290 (define-key singular-interactive-mode-map "\C-c$" 'singular-exit-singular) … … 1474 1483 ;; check for running demo 1475 1484 (and singular-demo-mode 1476 ( error "Another demo is already running"))1485 (singular-demo-exit)) 1477 1486 1478 1487 (let ((old-point-min (point-min))) … … 2138 2147 ;; pop to buffer 2139 2148 (singular-debug 'interactive (message "Calling `pop-to-buffer'")) 2140 (pop-to-buffer buffer )))2149 (pop-to-buffer buffer t))) 2141 2150 2142 2151 ;; for convenience only
Note: See TracChangeset
for help on using the changeset viewer.