help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to *completely* disable font-lock mode in my .emacs?


From: Joe Corneli
Subject: Re: How to *completely* disable font-lock mode in my .emacs?
Date: Thu, 29 Apr 2004 12:29:31 -0500

You can specify all the faces and so on directly, and this seems a
less drastic measure than disabling font-lock.  The configuration I
use which has pretty nice results both on a black rxvt and under x
follows.

Xdefaults like so:

Emacs*Background: black
Emacs*Foreground: white
Emacs*Font: -misc-fixed-medium-r-*-*-13-*-*-*-*-*-*-*
Emacs*MenuBar: off
Emacs*ToolBar: 0
Emacs*ScrollBars: off
Emacs*internalBorder: 2


Custom faces like so:

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(bold ((nil (:foreground "light blue"))))
 '(book-result ((t (:background "darkviolet" :foreground "white" :slant normal 
:weight bold :height 150 :width normal :family "misc-fixed"))) t)
 '(cursor ((nil (:background "DeepPink1"))) t)
 '(diary-face ((((class color) (background dark)) (:foreground "green"))))
 '(diff-file-header-face ((((class color) (background dark)) (:background 
"forestgreen" :weight bold))))
 '(diff-header-face ((((class color) (background dark)) (:background 
"maroon"))))
 '(font-lock-builtin-face ((nil (:foreground "orange"))))
 '(font-lock-comment-face ((nil (:foreground "red"))))
 '(font-lock-function-name-face ((((type tty) (class color)) (:foreground 
"yellow" :weight bold))))
 '(font-lock-string-face ((((class color) (background dark)) (:foreground 
"goldenrod1"))))
 '(font-lock-variable-name-face ((nil (:foreground "tan"))))
 '(gnus-group-mail-3-empty-face ((((class color) (background dark)) 
(:foreground "chartreuse3"))))
 '(gnus-group-mail-3-face ((t (:foreground "chartreuse1" :weight bold))))
 '(holiday-face ((((class color) (background dark)) (:background "grey15"))))
 '(italic ((nil (:foreground "green"))))
 '(km-nonanon-face ((t (:foreground "purple"))))
 '(minibuffer-prompt ((t (:foreground "yellow"))))
 '(mode-line ((t (:background "pink" :foreground "black" :weight bold))))
 '(mode-line-inactive ((t (:background "grey30" :foreground "peachpuff"))))
 '(region ((((class color) (background dark)) (:background "blue4"))))
 '(w3-style-face-00005 ((t (:foreground "red" :underline nil :weight normal 
:family "fixed"))) t)
 '(w3-style-face-00009 ((t (:foreground "cadetblue" :underline nil :weight 
normal :family "fixed"))) t)
 '(w3-style-face-00010 ((t (:foreground "grey77" :underline t :weight normal 
:family "fixed"))) t)
 '(w3-style-face-00011 ((t (:foreground "navajowhite" :underline nil :weight 
normal :family "fixed"))) t)
 '(w3-style-face-00012 ((t (:foreground "cadetblue" :underline t :weight normal 
:family "fixed"))) t)
 '(w3-style-face-00013 ((t (:foreground "cadetblue" :underline nil :weight 
normal :family "fixed"))) t)
 '(w3-style-face-00014 ((t (:foreground "plum" :underline t :weight normal 
:family "fixed"))) t)
 '(w3-style-face-00015 ((t (:foreground "goldenrod" :underline nil :weight bold 
:family "fixed"))) t)
 '(w3-style-face-00017 ((t (:foreground "darkgreen" :underline nil :weight 
normal :height 100 :family "fixed"))) t)
 '(w3-style-face-00018 ((t (:foreground "plum" :underline nil :weight normal 
:height 100 :family "fixed"))) t)
 '(w3-style-face-00019 ((t (:foreground "alicewhite" :underline nil :weight 
normal :family "fixed"))) t)
 '(w3-style-face-00021 ((t (:foreground "darkgreen" :underline nil :weight 
normal :height 100 :family "fixed"))) t)
 '(w3-style-face-00030 ((t (:background "darkred" :underline nil :weight normal 
:family "fixed"))) t))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]