Changeset 841181 in git


Ignore:
Timestamp:
Nov 1, 1999, 5:14:21 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
09d74fe32549b29b79a4914b54c31135c0ec128a
Parents:
9e64e2384885d3a295833c1b6b89b032a2521b96
Message:
* played around with default faces (more font-locking)


git-svn-id: file:///usr/local/Singular/svn/trunk@3803 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • emacs/.emacs-singular

    r9e64e2 r841181  
    11;;; 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 $
    33
    44;;;
     
    8989;; turn on c++-mode for files ending in ".sing"
    9090(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))))
    9194
    9295;; this is a work-around for early version of Font Lock mode
     
    104107;; pre-customized settings
    105108(custom-set-variables
    106  '(font-lock-maximum-decoration nil t)
     109 '(font-lock-maximum-decoration t t)
    107110 '(next-line-add-newlines nil)
    108111 '(paren-mode (quote paren) nil (paren))
     
    112115 '(transient-mark-mode t)
    113116 '(singular-section-face-alist (quote ((input . singular-section-input-face) (output)))))
     117
    114118(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)
    115123 '(singular-section-input-face ((t (:bold t))))
     124 '(font-lock-keyword-face ((t (:bold t :foreground "violet"))) t)
    116125 '(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")))))
    121136
    122137)
Note: See TracChangeset for help on using the changeset viewer.