Date: Wed, 02 Apr 2008 01:59:53 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: freebsd@sopwith.solgatos.com Cc: freebsd-questions@FreeBSD.org Subject: Re: How to I turn off the colors in emacs? Message-ID: <87myod6v12.fsf@kobe.laptop> In-Reply-To: <200804012104.VAA29324@sopwith.solgatos.com> (Dieter's message of "Tue, 01 Apr 2008 14:04:29 %2B0100") References: <200804012104.VAA29324@sopwith.solgatos.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 01 Apr 2008 14:04:29 +0100, Dieter <freebsd@sopwith.solgatos.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87myod6v12.fsf>