From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eric Smith Newsgroups: gmane.emacs.help Subject: Re: How to *completely* disable font-lock mode in my .emacs? Date: 27 Apr 2004 16:15:28 -0700 Organization: Eric Conspiracy Secret Labs Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083107835 18693 80.91.224.253 (27 Apr 2004 23:17:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 23:17:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 28 01:17:08 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 1BIbp6-0001lI-00 for ; Wed, 28 Apr 2004 01:17:08 +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 1BIbof-0001tk-Pw for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Apr 2004 19:16:41 -0400 Original-Newsgroups: gnu.emacs.help X-Eric-Conspiracy: There is no conspiracy. Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: ruckus.brouhaha.com Original-X-Trace: news.spies.com 1083107728 64.62.206.2 (27 Apr 2004 16:15:28 -0700) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.spies.com!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:122773 Original-To: help-gnu-emacs@gnu.org 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:18061 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18061 I wrote: > I'm sick of seeing light colored text on a light grey background, which > I cannot read. Stefan Monnier writes: > The only known cases where it can happen is if you're running under a text > terminal Exactly. > in which case there's no way for Emacs to figure out whether your > background is dark or light, so it might guess wrong, in which case you > should customize frame-background-mode manually. s/it might guess wrong/it does guess wrong/ Why does it guess? When it guesses wrong, it renders the text unreadable, so the default assumption on a text terminal should be that the user does NOT want color. (Or maybe that is the default, but my Linux distribution (Red Hat 9) has changed it?) If I set frame-background-mode to light, won't that screw up my X frames which have a dark background? Is there an easy way to set frame-background-mode to light only if Emacs can't figure out whether the background is dark or light, as in the text terminal case? Or, better yet, to simply not use color on text terminals? Thanks! Eric Smith