From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: Re: How to *completely* disable font-lock mode in my .emacs? Date: Thu, 29 Apr 2004 12:29:31 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083260840 30153 80.91.224.253 (29 Apr 2004 17:47:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2004 17:47:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 29 19:47:04 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJFcm-0001fi-00 for ; Thu, 29 Apr 2004 19:47:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJFYc-0003MU-II for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Apr 2004 13:42:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BJFYA-0003LV-2x for help-gnu-emacs@gnu.org; Thu, 29 Apr 2004 13:42:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJFXc-0003DZ-Rp for help-gnu-emacs@gnu.org; Thu, 29 Apr 2004 13:42:17 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJFLp-0000KI-1I for help-gnu-emacs@gnu.org; Thu, 29 Apr 2004 13:29:33 -0400 Original-Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i3THTVq20027; Thu, 29 Apr 2004 12:29:31 -0500 Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1BJFLn-0006ht-00; Thu, 29 Apr 2004 12:29:31 -0500 Original-To: help-gnu-emacs@gnu.org X-all-your-base-are-belong-to-us: You are on the way to destruction. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18123 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))