unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joe Corneli <jcorneli@math.utexas.edu>
Subject: Re: How to *completely* disable font-lock mode in my .emacs?
Date: Thu, 29 Apr 2004 12:29:31 -0500	[thread overview]
Message-ID: <E1BJFLn-0006ht-00@linux183.ma.utexas.edu> (raw)

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	other threads:[~2004-04-29 17:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-29 17:29 Joe Corneli [this message]
     [not found] <200404302054.i3UKsfq01028@dell3.ma.utexas.edu>
2004-05-01  0:51 ` How to *completely* disable font-lock mode in my .emacs? Joe Corneli
     [not found] <mailman.2470.1083260541.1061.help-gnu-emacs@gnu.org>
2004-04-30  0:20 ` Eric Smith
2004-04-30 18:32   ` Kevin Rodgers
2004-04-30 20:37     ` Stefan Monnier
     [not found] <qhfzba3sx4.fsf@ruckus.brouhaha.com>
     [not found] ` <jwvad1gddzb.fsf-monnier+gnu.emacs.help@asado.iro.umontreal.ca>
2004-04-27 23:15   ` Eric Smith
2004-04-27 23:36     ` Matthieu Moy
2004-04-28  5:39     ` Eli Zaretskii
     [not found]     ` <mailman.2079.1083127076.1061.help-gnu-emacs@gnu.org>
2004-04-28 22:06       ` Eric Smith
2004-04-29  6:08         ` Eli Zaretskii
     [not found]         ` <mailman.2326.1083215256.1061.help-gnu-emacs@gnu.org>
2004-04-29 20:01           ` LEE Sau Dan
2004-05-02 14:04             ` Eli Zaretskii
2004-04-30  0:26           ` Eric Smith
2004-04-28 22:08       ` Eric Smith
2004-04-29  0:25         ` Thien-Thi Nguyen
2004-04-29  6:11         ` Eli Zaretskii
     [not found] ` <87ekqu9e47.fsf@telia.com>
2004-04-27 23:26   ` Eric Smith
2004-04-28 15:12     ` Kevin Rodgers
2004-04-30  0:23       ` Eric Smith
2004-04-30 18:40         ` Kevin Rodgers
2004-05-02 14:01         ` Eli Zaretskii
     [not found]         ` <mailman.2916.1083503774.1061.help-gnu-emacs@gnu.org>
2004-05-03 14:14           ` Stefan Monnier
2004-04-28 22:46 ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1BJFLn-0006ht-00@linux183.ma.utexas.edu \
    --to=jcorneli@math.utexas.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).