emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customizing header-line face


From: Ralf Mattes
Subject: Re: customizing header-line face
Date: Thu, 22 Mar 2007 00:35:19 +0100
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))

On Wed, 21 Mar 2007 10:13:05 +0100, Kim F. Storm wrote:

> Ralf Mattes <address@hidden> writes:
> 
>>> (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.dssi-vst-server.cpp:
> 
> Did you TRY the above example??
> 
> The %- at the end makes it fill the whole line.

Yes, but unfortunately i don't need a header line filled with ?\-
characters ;-/

> 
> But you may like this better:
> 
> (setq header-line-format
>       (propertize (concat "MY HEADERLINE" (make-string 200 ?\s)) 'face
>       'mode-line))

IIRC I didn't ask for a quick (and quirky ...) hack. Yes, i can actually
twiddle my way around  this (i need to calculate the buffer size anyway) -
i was more interested in a correct/generic soultion.

 Thanks anyway, RalfD






reply via email to

[Prev in Thread] Current Thread [Next in Thread]