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 23:03:08 -0700 Message-ID: References: .1249515906.2233.help-gnu-emacssssssssss<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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249625043 29914 80.91.229.12 (7 Aug 2009 06:04:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2009 06:04:03 +0000 (UTC) To: "'Barry Margolin'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 07 08:03:56 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 1MZIYS-00045S-Bc for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 08:03:52 +0200 Original-Received: from localhost ([127.0.0.1]:53757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZIYQ-0004ng-U7 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2009 02:03:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZIXt-0004nb-Qm for help-gnu-emacs@gnu.org; Fri, 07 Aug 2009 02:03:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZIXp-0004nP-Sd for help-gnu-emacs@gnu.org; Fri, 07 Aug 2009 02:03:17 -0400 Original-Received: from [199.232.76.173] (port=50690 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZIXp-0004nM-Ns for help-gnu-emacs@gnu.org; Fri, 07 Aug 2009 02:03:13 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:58437) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZIXp-0004sn-39 for help-gnu-emacs@gnu.org; Fri, 07 Aug 2009 02:03:13 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7763bTB021103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 7 Aug 2009 06:03:38 GMT Original-Received: from abhmt017.oracle.com (abhmt017.oracle.com [141.146.116.26]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n77638ji017822; Fri, 7 Aug 2009 06:03:08 GMT Original-Received: from dradamslap1 (/24.5.190.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Aug 2009 23:03:06 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcoXGUFCv0a5Z7DySaCExSRZkhPLCQACZ89A X-Source-IP: abhmt017.oracle.com [141.146.116.26] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010203.4A7BC39B.0003: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:66922 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. > > Yes, he did. Apologies to all; I misunderstood. I had deleted the original post, and then came into the thread late. I didn't understand that what was requested was to distinguish the current buffer (or perhaps the selected window?). No, there is no immediate way to do that. As pointed out, on a graphic terminal the selected _window_ has its (entire) mode line highlighted. But there is no trivial way (a) to highlight the mode line of all windows that show the current buffer or (b) to highlight only the buffer name portion of those mode lines. And with a text terminal, the mode line is pretty rudimentary.