From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: How to highlight the current buffer's mode line ? Date: Thu, 6 Aug 2009 14:36:15 -0700 Message-ID: <8BAE28D919C946198E2E72327566922C@us.oracle.com> References: <346dd22e-114b-4a66-b9c4-33c8cffbb073@f37g2000yqn.googlegroups.com><87zlacbqav.fsf@dd.chalmers.se><06BCC0E6E2964ADA97FC95A7591E4538@us.oracle.com> <87vdl0bpp9.fsf@dd.chalmers.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249594635 505 80.91.229.12 (6 Aug 2009 21:37:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 21:37:15 +0000 (UTC) To: "=?iso-8859-1?Q?'Johan_=22Bockg=E5rd=22'?=" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 23:37:08 2009 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 1MZAe3-0002TU-MD for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 23:37:08 +0200 Original-Received: from localhost ([127.0.0.1]:53924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZAe2-0006yL-OD for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 17:37:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZAdg-0006x9-DL for help-gnu-emacs@gnu.org; Thu, 06 Aug 2009 17:36:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZAdc-0006sf-0I for help-gnu-emacs@gnu.org; Thu, 06 Aug 2009 17:36:43 -0400 Original-Received: from [199.232.76.173] (port=60935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZAdb-0006sc-Mu for help-gnu-emacs@gnu.org; Thu, 06 Aug 2009 17:36:39 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:27688 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZAdb-0003sC-Bl for help-gnu-emacs@gnu.org; Thu, 06 Aug 2009 17:36:39 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n76LaJMu026822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 6 Aug 2009 21:36:20 GMT Original-Received: from abhmt013.oracle.com (abhmt013.oracle.com [141.146.116.22]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n76LaI5Z028331; Thu, 6 Aug 2009 21:36:18 GMT Original-Received: from dradamslap1 (/141.144.168.138) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Aug 2009 14:36:15 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcoW3HeuLrAFmYWwS2S1dGO26LmJPgAAB2dg In-Reply-To: <87vdl0bpp9.fsf@dd.chalmers.se> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt013.oracle.com [141.146.116.22] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010209.4A7B4CD1.000F:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:66894 Archived-At: > >> > Is it possible to change only the buffer name face only ? > >> > >> Not easily. > > > > M-x customize-face RET mode-line-buffer-id > > Except for the detail that it should have different colors in > active and inactive windows. Why? Are you making up that condition? The OP said nothing about that AFAIK. The `mode-line' face already indicates which window is active. Why would the face used for the buffer name also need to indicate active and inactive in its own way? FWIW, this is what I use for face `mode-line-buffer-id': [X] Underline: Value Menu Colored: red [X] Overline: Value Menu Colored: red That (a) separates the buffer name well from the other mode-line fields, without (b) making it stand out so much that it becomes distracting. [Note: I turned off the `bold' weight, which is the default for this face. On Windows at least, bold looks very ugly, at least with the font I use: "-outline-Lucida Console-normal-r-normal-normal-14-105-96-96-c-*-iso8859-1".]