From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Schlake Newsgroups: gmane.emacs.help Subject: I can't turn off colors in emacs! Date: Tue, 9 Oct 2007 13:00:52 -0600 Message-ID: <50c28ad80710091200h2d92c769qb2978d270c33e848@mail.gmail.com> Reply-To: schlake+gmail@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191956536 11752 80.91.229.12 (9 Oct 2007 19:02:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Oct 2007 19:02:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 09 21:02:11 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IfKKa-0007y8-92 for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Oct 2007 21:01:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfKKU-00076L-Im for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Oct 2007 15:01:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IfKKC-00073j-QA for help-gnu-emacs@gnu.org; Tue, 09 Oct 2007 15:01:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IfKKA-00072q-4b for help-gnu-emacs@gnu.org; Tue, 09 Oct 2007 15:01:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfKK9-00072i-W7 for help-gnu-emacs@gnu.org; Tue, 09 Oct 2007 15:00:58 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IfKK9-0007o0-Gy for help-gnu-emacs@gnu.org; Tue, 09 Oct 2007 15:00:57 -0400 Original-Received: by ug-out-1314.google.com with SMTP id m4so170312uge for ; Tue, 09 Oct 2007 12:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=1xiiNipyXXKZrPxBiwEUvtvEqD/FU2kZ9c69NxK9fZA=; b=e4ycCvRC+H1HJcAn90vavKU17pFDBvZxczefIOY9acxLzuRGwPAr9hW92VxnzZeUpwB67o80LPmMSTp2O2T5AkobxGREu20BOpkpGixoohwZg+WB81gp9SkLQAySDXzOy5pCMwbsBk8JBNmh0lipOjByAORTr0ZDgR7OofrdXB4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=Z1JtPKE4OjViVtHuoLSxNIANOZnOGnQHj9H4PnVNat+9BGOVm1Y82GcvDNg81xwdzO98EQnnYv7NUXjxcR+IPlC0qC5IFqOCDZxaT+Zqko8c+16nFSLPrJuqAc8GmCeuOyZMdYvzTGIYzjDante2O0t+GU2HP36qd2JGilpB0zw= Original-Received: by 10.142.171.6 with SMTP id t6mr704361wfe.1191956452215; Tue, 09 Oct 2007 12:00:52 -0700 (PDT) Original-Received: by 10.142.169.18 with HTTP; Tue, 9 Oct 2007 12:00:52 -0700 (PDT) Content-Disposition: inline X-Google-Sender-Auth: 37ec47be37acf51f X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48269 Archived-At: A computer center I use frequently upgraded their RedHat boxes, and now emacs claims to be 22.0.990.1. All of a sudden emacs gas gone wacky with colors appearing for all kinds of words and symbols rendering it pretty much unusable. I've tried a variety of things to get it fixed, but I have to admit defeat. Starting emacs with --color=no is a resounding failure. There are absolutely no colors anymore, but text that would be colored is now boldfaced and inversed, making it even more unusable than emacs with colors. Plus, with that option I can't use colors if/when I want them. Another possible solution is (global-font-lock-mode nil). It does most of what I want. Colors go away in most buffers, and I don't get boldfaced or inversed video anymore! This is a great solution except for the part about "most buffers". The minibuffer is the worst offender of buffers that ignore the global font lock mode, but compile mode does as well. I'm sure there are others which I haven't discovered yet. I tried messing with font-lock-maximum-size, as well as making a mode hook to turn off font lock mode in all modes, but neither met with success defeating font lock mode in the minibuffer. Previous pain with font lock mode from 2003 was initially solved by making a huge list of set-face-foregrounds to keep all the modes from being anything other than white. I dislike this solution a lot, and would rather not have to resort to it again. I fixed the 2003 font lock problems with (setq inhibit-default-init t), but that doesn't work anymore. Does anyone know how to disable font lock mode? -- -- Schlake This is my gmail account, I can also be reached at schlake@nmt.edu, if the TCC is working.