From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: e23 inverse video on mode line and nowhere else Date: Fri, 15 Jan 2010 11:32:20 +1100 Organization: Rapt Technologies Message-ID: <87bpgwcinf.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263516109 9278 80.91.229.12 (15 Jan 2010 00:41:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2010 00:41:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 15 01:41:42 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NVaFx-0007sr-Q2 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jan 2010 01:41:42 +0100 Original-Received: from localhost ([127.0.0.1]:52181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVaFy-0000uo-Hi for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jan 2010 19:41:42 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:pBDfv7IXRt63lcfFj0P1e8ctj6E= Original-Lines: 50 Original-NNTP-Posting-Host: e17520fb.news.astraweb.com Original-X-Trace: DXC=aTbkTZcUkZ06k]7j^a\l<5L?0kYOcDh@:2AWVo<6C[T2NJj[A2jK=96HE63nT=CoI4j=\e09`k^k: Original-Xref: news.stanford.edu gnu.emacs.help:176158 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71229 Archived-At: karl@freefriends.org (Karl Berry) writes: > When I run emacs in terminals, the mode line is always inverse video > but the rest is normal. > > Thanks for replying, but this is not even remotely true for me in e23 > (it used to be that way, for sure, for many many years). Now, I start > emacs with emacs-23.1 --no-site --no-init in an xterm, and immediately > observe the *scratch* buffer name is in bold. (Haven't tried > tty-suppress-bold-inverse-default-colors yet, but anyway, that's not so > critical.) > > More importantly, then I run M-x grep and do something like > "grep -nH e /etc/issue", and observe that "/etc/issue:1:" is underlined, > "matches found" is in bold, etc. > > All of these things are what my brain needs to have eliminated :). Three possible solutions. 1. M-x customize-face will allow you to set the attributes of various faces. If you have the cursor on one of the faces you want to change when you run customize-face, it will, by default, allow you to customize that face. Otherwise, you can ask to customize all faces and they will be listed in a customize buffer (showing samples for each of the faces). One of the options is to set a face to inherit its attributes from another face and then modify it further. This allows you to have a hierarchy of attributes. So, if you wanted to have a specific face have no special attributes, you could define it to inherit from the 'default' face and not set any specific attributes. Doing this will mean that if, at some later time, you want to modify the default face, all the ones that inherit from it will also inherit those mods. 2. M-x list-faces-display will bring up a buffer showing all the currently defined faces. You can then use the mouse or cursor keys to select a definition for customization. Using either of the two above techniques, you can change all the attributes of a face i.e. bold, underline, fg/bg colour, size, font, etc. 3. Turn off global font lock mode. This will result in most faces just having the 'default' attributes. HTH Tim -- tcross (at) rapttech dot com dot au