From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: How to disable font-lock-mode in minibuffer?
Date: Wed, 20 Mar 2013 11:43:26 -0400 [thread overview]
Message-ID: <icfvzqgjq9.fsf@home.home> (raw)
In-Reply-To: op.wt8n9bv2hcorn8@all-pc
"Alexandre Oberlin" <email_through@migo.info> 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
prev parent reply other threads:[~2013-03-20 15:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-13 14:55 How to disable font-lock-mode in minibuffer? Alexandre Oberlin
2013-03-13 18:51 ` Dan Espen
2013-03-17 12:26 ` Alexandre Oberlin
2013-03-14 3:34 ` Stefan Monnier
2013-03-14 3:49 ` Eli Zaretskii
2013-03-15 21:48 ` Oleksandr Gavenko
[not found] ` <mailman.22233.1363384145.855.help-gnu-emacs@gnu.org>
2013-03-17 12:21 ` Alexandre Oberlin
2013-03-23 19:16 ` Oleksandr Gavenko
[not found] ` <mailman.22060.1363232997.855.help-gnu-emacs@gnu.org>
2013-03-17 12:28 ` Alexandre Oberlin
[not found] ` <mailman.22058.1363232105.855.help-gnu-emacs@gnu.org>
2013-03-17 12:49 ` Alexandre Oberlin
2013-03-18 13:54 ` Stefan Monnier
2013-03-20 9:49 ` Alexandre Oberlin
2013-03-20 15:43 ` Dan Espen [this message]
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=icfvzqgjq9.fsf@home.home \
--to=despen@verizon.net \
--cc=help-gnu-emacs@gnu.org \
/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).