From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: How to disable font-lock-mode in minibuffer? Date: Wed, 20 Mar 2013 11:43:26 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363798528 26327 80.91.229.3 (20 Mar 2013 16:55:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 16:55:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 20 17:55:54 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UIMIq-00069L-7m for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Mar 2013 17:55:52 +0100 Original-Received: from localhost ([::1]:50916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIMIT-00057u-2B for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Mar 2013 12:55:29 -0400 X-Received: by 10.180.106.161 with SMTP id gv1mr2192040wib.4.1363794207810; Wed, 20 Mar 2013 08:43:27 -0700 (PDT) Original-Path: usenet.stanford.edu!yu2no1856745wib.0!news-out.google.com!bp2ni106511wib.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 77 Injection-Info: mx05.eternal-september.org; posting-host="b8816fa7300cd668c1c8ea38fc847e8a"; logging-data="20491"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OYWCnp1nrDb5u60kUl/y66pnJNEEF4jc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:ZgKECzF4DHoqRNr+2zRVkBOh/x0= sha1:SSe6gRCKp8mKyM0dxgSFwo6OnEs= Original-Xref: usenet.stanford.edu gnu.emacs.help:197339 X-Mailman-Approved-At: Wed, 20 Mar 2013 12:52:49 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89615 Archived-At: "Alexandre Oberlin" writes: > Hi Stefan, > > Only marginal items have slightly difficult to read faces. tool-bar is > black on black but maybe this is not relevant. > > I have just upgraded from 24.2.1 to 24.3.1 without adjusting > anything. I still seem to have 8 colors only but the red on black > looks brighter. Am I dreaming ? Yes. If you are running in a terminal, the terminal program sets the colors. There is no way Emacs can adjust those colors. I think you are on Windows? If you have bash (Cygwin) installed, you should be able to run this: #!/bin/bash function colorred { echo -e '\033[31m'; } function colorgreen { echo -e '\033[32m'; } function coloryellow { echo -e '\033[33m'; } function colorblue { echo -e '\033[34m'; } function colormagenta { echo -e '\033[35m'; } function colorcyan { echo -e '\033[36m'; } function colorwhite { echo -e '\033[37m'; } function ulon { echo -e '\033[4m'; } function uloff { echo -e '\033[24m'; } function blinkon { echo -e '\033[5m'; } function blinkoff { echo -e '\033[25m'; } function boldon { echo -e '\033[1m'; } function boldoff { echo -e '\033[22m'; } tput reset tput clear ul="`ulon`Underlined.`uloff`" bo=`boldon`Bold.`boldoff` bl=`blinkon`Blink.`blinkoff` echo "Demo to show all the xterm colors" echo "" echo "`colorred`Red - not my favorite. $ul $bo $bl" echo "`colorblue`Blue - can be too dark. $ul $bo $bl" echo "`coloryellow`Yellow - The color of a chicken. $ul $bo $bl" echo "`colorwhite`White - Screen background not white. $ul $bo $bl" echo "`colorgreen`Green - With envy. $ul $bo $bl" echo "`colorcyan`Cyan - a light blue. $ul $bo $bl" echo "`colormagenta`Magenta - a light red. $ul $bo $bl" echo "" colorwhite echo "And now in reverse image:" tput smso echo "" echo "`colorred`Red - not my favorite. $ul $bo $bl" echo "`colorblue`Blue - can be too dark. $ul $bo $bl" echo "`coloryellow`Yellow - The color of a chicken. $ul $bo $bl" echo "`colorwhite`White - Screen background not white. $ul $bo $bl" echo "`colorgreen`Green - With envy. $ul $bo $bl" echo "`colorcyan`Cyan - a light blue. $ul $bo $bl" echo "`colormagenta`Magenta - a light red. $ul $bo $bl" echo "" tput rmso I used this to make sure all 8 colors were readable on my chosen background. If any of them aren't use the terminal program to adjust. You can convince Emacs not to use Red and Blue, but I think you really want your terminal to produce readable red and blue. With a little investigation you should be able to find a 256 color terminal program but I'd still want to make sure I had a readable red and blue. -- Dan Espen