From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: e23 inverse video on mode line and nowhere else Date: Fri, 15 Jan 2010 10:21:39 +0200 Message-ID: <83pr5b7p7w.fsf@gnu.org> References: <87bpgwcinf.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1263544562 5970 80.91.229.12 (15 Jan 2010 08:36:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2010 08:36:02 +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 09:35:54 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 1NVhes-0003pQ-JS for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jan 2010 09:35:54 +0100 Original-Received: from localhost ([127.0.0.1]:49763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVhet-00059S-A5 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jan 2010 03:35:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVhRO-0005bA-9h for help-gnu-emacs@gnu.org; Fri, 15 Jan 2010 03:21:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVhRI-0005Z8-MO for help-gnu-emacs@gnu.org; Fri, 15 Jan 2010 03:21:57 -0500 Original-Received: from [199.232.76.173] (port=55457 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVhRG-0005Yu-OR for help-gnu-emacs@gnu.org; Fri, 15 Jan 2010 03:21:51 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57192) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVhRG-0008H1-BR for help-gnu-emacs@gnu.org; Fri, 15 Jan 2010 03:21:50 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KWA007004BO0500@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 15 Jan 2010 10:21:00 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.60.183]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KWA005YK4IYVR50@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 15 Jan 2010 10:20:58 +0200 (IST) In-reply-to: <87bpgwcinf.fsf@lion.rapttech.com.au> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:71235 Archived-At: > From: Tim X > Date: Fri, 15 Jan 2010 11:32:20 +1100 > > 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. In practice, solution #3 alone won't cut it, because some Emacs features use faces regardless of Font Lock mode. So what Karl would need to do is: . Turn off Global Font Lock mode. This will turn off many faces. . Use "M-x list-faces-display" to list and customize the rest of faces. . Whenever a new face pops up, list it with list-faces-display and customize it. The last item is needed because many faces are not defined until they are first used by some feature. Until it is defined, list-faces-display will not show it. I believe that with this procedure, the number of faces that evade customization will fade out with time.