How to I turn off the colors in emacs?

2008-04-01 Thread Dieter
FreeBSD 7.0 with package emacs-22.1_2

Attempt to edit a C file and emacs goes into some colorized mode.
Of course it chooses colors that are unreadable.
How do I turn OFF the colors and get simple black and white?
(ASCII mode, not X11)

The man page mentions command line options for foreground and
background colors, but these aren't mapped correctly, and
don't fix the problem anyway.

The builtin info isn't readable because it is in color.

Haven't found anything useful with google.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to I turn off the colors in emacs?

2008-04-01 Thread Giorgos Keramidas
On Tue, 01 Apr 2008 14:04:29 +0100, Dieter [EMAIL PROTECTED] wrote:
 FreeBSD 7.0 with package emacs-22.1_2

 Attempt to edit a C file and emacs goes into some colorized mode.
 Of course it chooses colors that are unreadable.
 How do I turn OFF the colors and get simple black and white?
 (ASCII mode, not X11)

The default global-font-lock value has changed in Emacs 22.X, and it is
now turned *on*.  So if you want to turn font-lock off, you will have to
turn it off.  This should be as easy as adding the following to your
~/.emacs startup file:

(global-font-lock -1)

But this doesn't start Emacs in `no colors should be used at all' mode.
If you want to do that, you can fire up Emacs with:

emacs --color=no

Then Emacs will only use the usual `bold', `underline' and `reverse
video' attributes for displayed characters.

HTH,
Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to I turn off the colors in emacs?

2008-04-01 Thread Dieter
 But this doesn't start Emacs in `no colors should be used at all' mode.
 If you want to do that, you can fire up Emacs with:
 
 emacs --color=no

That got rid of the black-on-black invisible ink, thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]