[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
header-line-format
From: |
Sebastian Tennant |
Subject: |
header-line-format |
Date: |
Fri, 02 Nov 2007 00:02:20 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Hi all,
I want a _non-underlined_ header line that looks like this:
a one, b two, c, three ...
^ ^ ^
| | |
+------+------+----- bold face, everything else default face
I have this:
(setq header-line-format
(mapconcat
(lambda (k)
(format "%s %s,"
(propertize (car k) 'face 'bold)
(propertize (cdr k) 'face 'default)))
'(("a" . "one") ("b" . "two") ("c" . "three"))
" "))
but everything apart from 'one', 'two' and 'three' is underlined,
including the empty space all the way to right side of the window.
How can I 'switch-off' the underlining across the whole window/string?
I've tried propertizing the whole string created by the mapconcat
function:
(setq header-line-format
(propertize
(mapconcat
[...]
" ")
'underline nil))
without success.
Sebastian
- header-line-format,
Sebastian Tennant <=