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: Fri, 30 Apr 2004 19:51:24 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <200404302054.i3UKsfq01028@dell3.ma.utexas.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083372879 27324 80.91.224.253 (1 May 2004 00:54:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 May 2004 00:54:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 01 02:54:30 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 1BJily-0005TU-00 for ; Sat, 01 May 2004 02:54:30 +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 1BJilw-0002Ke-U0 for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Apr 2004 20:54:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BJijg-0001NF-2u for help-gnu-emacs@gnu.org; Fri, 30 Apr 2004 20:52:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJij1-00011T-9T for help-gnu-emacs@gnu.org; Fri, 30 Apr 2004 20:51:59 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJij0-00010d-HB for help-gnu-emacs@gnu.org; Fri, 30 Apr 2004 20:51:26 -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 i410pPq24813; Fri, 30 Apr 2004 19:51:25 -0500 Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1BJiiy-0002xY-00; Fri, 30 Apr 2004 19:51:24 -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:18182 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18182 AFAIK, X resources aren't used on a text-terminal. Hm, well I nevertheless have good results both under X and on a terminal, and moreover, in the case of a terminal, the background can be either dark or light background, and Emacs adjusts the *default* face accordingly. The font lock setup I use is optimized for a dark background, including plenty of yellow etc., so I don't really advise using it on a terminal with a light background unless you have to. I should probably have posted this little .emacs snippet too, which is useful in combination with the .Xdefaults config. This is only relevant under X; its purpose is to keep flickering at startup time down to a minimum. (Cf. http://mail.gnu.org/archive/html/help-gnu-emacs/2004-02/msg00757.html) (cond (window-system (setq default-frame-alist '((internal-border-width . 2) (border-width . 2) (left-fringe . 0) (right-fringe . 0) (menu-bar-lines . 0) (tool-bar-lines . 0) (tool-bar-lines . 0) (modeline . t) (width . 85) (height . 32) (background-mode . dark) (display-type . color) (cursor-color . "DeepPink1") (background-color . "black") (foreground-color . "white") (border-width . 2) (font . "-misc-fixed-medium-r-*-*-13-*-*-*-*-*-*-*"))) (set-scroll-bar-mode nil) (blink-cursor-mode -1) (tooltip-mode -1)))