Changeset 841181 in git
- Timestamp:
- Nov 1, 1999, 5:14:21 PM (24 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 09d74fe32549b29b79a4914b54c31135c0ec128a
- Parents:
- 9e64e2384885d3a295833c1b6b89b032a2521b96
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs-singular
r9e64e2 r841181 1 1 ;;; Emacs edit mode for this file is -*- Emacs-Lisp -*- 2 ;;; $Id: .emacs-singular,v 1. 6 1999-10-22 14:03:56 wichmann Exp $2 ;;; $Id: .emacs-singular,v 1.7 1999-11-01 16:14:21 obachman Exp $ 3 3 4 4 ;;; … … 89 89 ;; turn on c++-mode for files ending in ".sing" 90 90 (setq auto-mode-alist (cons '("\\.sing\\'" . c++-mode) auto-mode-alist)) 91 (setq auto-mode-alist (cons '("\\.lib\\'" . c++-mode) auto-mode-alist)) 92 (add-hook 'c++-mode-hook 93 (function (lambda () (font-lock-mode 1)))) 91 94 92 95 ;; this is a work-around for early version of Font Lock mode … … 104 107 ;; pre-customized settings 105 108 (custom-set-variables 106 '(font-lock-maximum-decoration nilt)109 '(font-lock-maximum-decoration t t) 107 110 '(next-line-add-newlines nil) 108 111 '(paren-mode (quote paren) nil (paren)) … … 112 115 '(transient-mark-mode t) 113 116 '(singular-section-face-alist (quote ((input . singular-section-input-face) (output))))) 117 114 118 (custom-set-faces 119 '(show-paren-match-face ((((class color)) (:foreground "Red")))) 120 '(font-lock-string-face ((((class color) (background light)) (:foreground "Blue")) (((class color) (background dark)) (:foreground "LightSkyBlue"))) t) 121 '(font-lock-variable-name-face ((t (:foreground "black"))) t) 122 '(paren-match ((t (:foreground "Red"))) t) 115 123 '(singular-section-input-face ((t (:bold t)))) 124 '(font-lock-keyword-face ((t (:bold t :foreground "violet"))) t) 116 125 '(singular-section-output-face ((t (:bold nil)))) 117 '(font-lock-comment-face ((t (:bold nil :foreground "Grey30"))) t) 118 '(font-lock-string-face ((((class color) (background light)) (:foreground "Blue")) (((class color) (background dark)) (:foreground "LightSkyBlue"))) t) 119 '(paren-match ((t (:foreground "Red"))) t) 120 '(show-paren-match-face ((((class color)) (:foreground "Red"))))) 126 '(font-lock-type-face ((t (:bold t :foreground "violet"))) t) 127 '(font-lock-comment-face ((t (:bold nil :foreground "Red"))) t) 128 '(font-lock-function-name-face ((t (:bold t :foreground "blue3"))) t)) 129 ;; obachman: played around a little bit, found this better 130 ;; '(singular-section-input-face ((t (:bold t)))) 131 ;; '(singular-section-output-face ((t (:bold nil)))) 132 ;; '(font-lock-comment-face ((t (:bold nil :foreground "Grey30"))) t) 133 ;; '(font-lock-string-face ((((class color) (background light)) (:foreground "Blue")) (((class color) (background dark)) (:foreground "LightSkyBlue"))) t) 134 ;; '(paren-match ((t (:foreground "Red"))) t) 135 ;; '(show-paren-match-face ((((class color)) (:foreground "Red"))))) 121 136 122 137 )
Note: See TracChangeset
for help on using the changeset viewer.