* How to disable font-lock-mode in minibuffer?
@ 2013-03-13 14:55 Alexandre Oberlin
2013-03-13 18:51 ` Dan Espen
` (6 more replies)
0 siblings, 7 replies; 13+ messages in thread
From: Alexandre Oberlin @ 2013-03-13 14:55 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
I am currently using GNU Emacs 24.2.1 (i686-pc-cygwin). I'll never thank
Cygwin enough for making Windows usable when you have no way out.
I currently have an accessibility problem with the font-lock-mode. I only
have basic colors in Cygwin, and blue on black and red on black are quite
difficult for me to read. I know how to toggle font-lock-mode in normal
buffers by just running "font-lock-mode", but not in the minibuffer. I
tried to investigate but no avail and I'm in a rush for work.
Any hint?
Alexandre
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
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
` (5 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Dan Espen @ 2013-03-13 18:51 UTC (permalink / raw)
To: help-gnu-emacs
"Alexandre Oberlin" <email_through@migo.info> writes:
> Hi all,
>
> I am currently using GNU Emacs 24.2.1 (i686-pc-cygwin). I'll never
> thank Cygwin enough for making Windows usable when you have no way
> out.
>
> I currently have an accessibility problem with the font-lock-mode. I
> only have basic colors in Cygwin, and blue on black and red on black
> are quite difficult for me to read. I know how to toggle
> font-lock-mode in normal buffers by just running "font-lock-mode", but
> not in the minibuffer. I tried to investigate but no avail and I'm in
> a rush for work.
>
> Any hint?
Yes, don't mess with emacs, adjust your terminal programs rendering
of red and blue so that they are readable.
Every terminal program I've ever seen gives you some way to do
that, and sooner or later, you'll need the underlying problem fixed.
--
Dan Espen
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
2013-03-13 14:55 How to disable font-lock-mode in minibuffer? Alexandre Oberlin
2013-03-13 18:51 ` Dan Espen
@ 2013-03-14 3:34 ` Stefan Monnier
2013-03-14 3:49 ` Eli Zaretskii
` (4 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2013-03-14 3:34 UTC (permalink / raw)
To: help-gnu-emacs
> I currently have an accessibility problem with the font-lock-mode. I only
> have basic colors in Cygwin, and blue on black and red on black are quite
> difficult for me to read.
Most likely that's because doesn't know your background is dark.
If you tell him, he'll use different colors.
E.g. Customize frame-background-mode.
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
2013-03-13 14:55 How to disable font-lock-mode in minibuffer? Alexandre Oberlin
2013-03-13 18:51 ` Dan Espen
2013-03-14 3:34 ` Stefan Monnier
@ 2013-03-14 3:49 ` Eli Zaretskii
2013-03-15 21:48 ` Oleksandr Gavenko
` (3 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2013-03-14 3:49 UTC (permalink / raw)
To: help-gnu-emacs
> From: "Alexandre Oberlin" <email_through@migo.info>
> Date: Wed, 13 Mar 2013 15:55:26 +0100
>
> I currently have an accessibility problem with the font-lock-mode. I only
> have basic colors in Cygwin, and blue on black and red on black are quite
> difficult for me to read. I know how to toggle font-lock-mode in normal
> buffers by just running "font-lock-mode", but not in the minibuffer. I
> tried to investigate but no avail and I'm in a rush for work.
>
> Any hint?
Customize the face minibuffer-prompt to have the colors you can see
well.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
2013-03-13 14:55 How to disable font-lock-mode in minibuffer? Alexandre Oberlin
` (2 preceding siblings ...)
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>
` (2 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Oleksandr Gavenko @ 2013-03-15 21:48 UTC (permalink / raw)
To: help-gnu-emacs
On 2013-03-13, Alexandre Oberlin wrote:
> Hi all,
>
> I am currently using GNU Emacs 24.2.1 (i686-pc-cygwin). I'll never thank
> Cygwin enough for making Windows usable when you have no way out.
>
> I currently have an accessibility problem with the font-lock-mode. I only have
> basic colors in Cygwin, and blue on black and red on black are quite difficult
> for me to read. I know how to toggle font-lock-mode in normal buffers by just
> running "font-lock-mode", but not in the minibuffer. I tried to investigate
> but no avail and I'm in a rush for work.
>
I prefer to use "M-x list-faces-display" for it visual verbosity and ability
to search by C-s (and edit face by RET).
Also I recommend to use Cygwin Mintty terminal emulator (run Emacs in it).
That take you 256-colour instead of 8!
--
Best regards!
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
[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
0 siblings, 1 reply; 13+ messages in thread
From: Alexandre Oberlin @ 2013-03-17 12:21 UTC (permalink / raw)
To: help-gnu-emacs
Hello Oleksandr,
Thanks for your answer.
> Also I recommend to use Cygwin Mintty terminal emulator (run Emacs in
> it).
> That take you 256-colour instead of 8!
I do use mintty 1.1.2
Command line :
C:\cw\bin\mintty.exe -i c:\cw\bin\emacs.ico -e c:\cw\bin\bash.exe
I seem to have only 8 colors however.
> I prefer to use "M-x list-faces-display" for it visual verbosity and
> ability to search by C-s (and edit face by RET).
Exactly what I wanted!
I changed minibuffer-prompt foreground to cyan on black instead of blue on
black.
Cheers,
Alexandre
nxml-comment-content
nxml-comment-delimiter
error
escape-glyph
ThanOn Fri, 15 Mar 2013 22:48:40 +0100, Oleksandr Gavenko
<gavenkoa@gmail.com> wrote:
> On 2013-03-13, Alexandre Oberlin wrote:
>
>> Hi all,
>>
>> I am currently using GNU Emacs 24.2.1 (i686-pc-cygwin). I'll never thank
>> Cygwin enough for making Windows usable when you have no way out.
>>
>> I currently have an accessibility problem with the font-lock-mode. I
>> only have
>> basic colors in Cygwin, and blue on black and red on black are quite
>> difficult
>> for me to read. I know how to toggle font-lock-mode in normal buffers
>> by just
>> running "font-lock-mode", but not in the minibuffer. I tried to
>> investigate
>> but no avail and I'm in a rush for work.
>>
> I prefer to use "M-x list-faces-display" for it visual verbosity and
> ability
> to search by C-s (and edit face by RET).
>
> Also I recommend to use Cygwin Mintty terminal emulator (run Emacs in
> it).
>
> That take you 256-colour instead of 8!
>
--
Using Opera's mail client: http://www.opera.com/mail/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
2013-03-13 18:51 ` Dan Espen
@ 2013-03-17 12:26 ` Alexandre Oberlin
0 siblings, 0 replies; 13+ messages in thread
From: Alexandre Oberlin @ 2013-03-17 12:26 UTC (permalink / raw)
To: help-gnu-emacs
Thanks Dan for you answer.
> sooner or later, you'll need the underlying problem fixed.
New glasses ;-)
Cheers,
Alexandre
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
[not found] ` <mailman.22060.1363232997.855.help-gnu-emacs@gnu.org>
@ 2013-03-17 12:28 ` Alexandre Oberlin
0 siblings, 0 replies; 13+ messages in thread
From: Alexandre Oberlin @ 2013-03-17 12:28 UTC (permalink / raw)
To: help-gnu-emacs
Thanks Eli, it worked perfectly!
> Customize the face minibuffer-prompt to have the colors you can see
> well.
--
Alexandre Oberlin
http://www.migo.info
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
[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
1 sibling, 1 reply; 13+ messages in thread
From: Alexandre Oberlin @ 2013-03-17 12:49 UTC (permalink / raw)
To: help-gnu-emacs
Hi Stefan,
> E.g. Customize frame-background-mode.
Fantastic ! That's the quickest way indeed.
I had already changed "minibuffer-prompt" from blue to cyan in
"list-faces-display".
I then "customize-option frame-background-mode" to "dark", which
automatically changed e.g. the "link" entry from blue to underlined cyan.
Red on black however was not changed and must be done manually, but it is
more readable than blue on black.
Thanks a lot,
Alexandre
--
Alexandre Oberlin
http://www.migo.info
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
2013-03-17 12:49 ` Alexandre Oberlin
@ 2013-03-18 13:54 ` Stefan Monnier
0 siblings, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2013-03-18 13:54 UTC (permalink / raw)
To: help-gnu-emacs
> Red on black however was not changed and must be done manually, but it
> is more readable than blue on black.
If you have trouble with the default colors (even once
frame-background-mode is set properly), please M-x report-emacs-bug
so we can fix them.
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
[not found] ` <mailman.22058.1363232105.855.help-gnu-emacs@gnu.org>
2013-03-17 12:49 ` Alexandre Oberlin
@ 2013-03-20 9:49 ` Alexandre Oberlin
2013-03-20 15:43 ` Dan Espen
1 sibling, 1 reply; 13+ messages in thread
From: Alexandre Oberlin @ 2013-03-20 9:49 UTC (permalink / raw)
To: help-gnu-emacs
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 ?
Alexandre
On Thu, 14 Mar 2013 04:34:50 +0100, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> I currently have an accessibility problem with the font-lock-mode. I
>> only
>> have basic colors in Cygwin, and blue on black and red on black are
>> quite
>> difficult for me to read.
>
> Most likely that's because doesn't know your background is dark.
> If you tell him, he'll use different colors.
> E.g. Customize frame-background-mode.
>
>
> Stefan
>
>
--
Alexandre Oberlin
http://www.migo.info
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
2013-03-20 9:49 ` Alexandre Oberlin
@ 2013-03-20 15:43 ` Dan Espen
0 siblings, 0 replies; 13+ messages in thread
From: Dan Espen @ 2013-03-20 15:43 UTC (permalink / raw)
To: help-gnu-emacs
"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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How to disable font-lock-mode in minibuffer?
2013-03-17 12:21 ` Alexandre Oberlin
@ 2013-03-23 19:16 ` Oleksandr Gavenko
0 siblings, 0 replies; 13+ messages in thread
From: Oleksandr Gavenko @ 2013-03-23 19:16 UTC (permalink / raw)
To: help-gnu-emacs
On 2013-03-17, Alexandre Oberlin wrote:
> Thanks for your answer.
>
>> Also I recommend to use Cygwin Mintty terminal emulator (run Emacs in it).
>> That take you 256-colour instead of 8!
> I do use mintty 1.1.2
> Command line :
> C:\cw\bin\mintty.exe -i c:\cw\bin\emacs.ico -e c:\cw\bin\bash.exe
> I seem to have only 8 colors however.
From http://mintty.googlecode.com/svn-history/r1065/trunk/docs/mintty.1.html
TERM (Term=xterm)
The TERM variable setting at mintty startup. Choices available from the
dropdown list are xterm, xterm-256color, xterm-vt220, vt220, and vt100.
The xterm-256color setting enables 256-color mode in some applications, but
may not be recognised at all by others, which is why plain xterm is the
default.
Next thing is to debug your environment.
Official page http://code.google.com/p/mintty/ also state 256-color support.
--
Best regards!
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-03-23 19:16 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.