From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Mattes Newsgroups: gmane.emacs.devel Subject: Re: customizing header-line face Date: Tue, 20 Mar 2007 17:30:00 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1174408300 10204 80.91.229.12 (20 Mar 2007 16:31:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2007 16:31:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 20 17:31:33 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HThF3-0005jo-Ls for ged-emacs-devel@m.gmane.org; Tue, 20 Mar 2007 17:31:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HThGd-00088N-9F for ged-emacs-devel@m.gmane.org; Tue, 20 Mar 2007 11:32:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HThGV-00084x-4d for emacs-devel@gnu.org; Tue, 20 Mar 2007 12:32:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HThGT-00084B-El for emacs-devel@gnu.org; Tue, 20 Mar 2007 12:32:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HThGT-000845-81 for emacs-devel@gnu.org; Tue, 20 Mar 2007 11:32:49 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HThEs-0007f2-2u for emacs-devel@gnu.org; Tue, 20 Mar 2007 12:31:10 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HThEJ-0008S0-Ef for emacs-devel@gnu.org; Tue, 20 Mar 2007 17:30:35 +0100 Original-Received: from i3ed6c984.versanet.de ([62.214.201.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Mar 2007 17:30:35 +0100 Original-Received: from rm by i3ed6c984.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Mar 2007 17:30:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i3ed6c984.versanet.de User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68171 Archived-At: On Tue, 20 Mar 2007 16:54:02 +0100, Kim F. Storm wrote: > Ralf Mattes writes: > >> Hello list, >> >> is there any convenient way to customize the face used for header-lines >> buffer-local? I'm trying to get header lines with different backgrund >> color for different buffers (on the same frame). > > You can add the face explicitly to the header-line-format string, e.g. > > (setq header-line-format (propertize "MY HEADERLINE %-" 'face 'mode-line)) Yes, i tried that too but unfortunately this will only change the face/color of the text span itself. I'd prefer a solution that affects the complete header line. Cheers, RalfD