Gnus development mailing list
 help / color / mirror / Atom feed
* Summary line format and gnus-face-X
@ 2012-08-02  6:31 Tassilo Horn
  2012-09-04 22:30 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 24+ messages in thread
From: Tassilo Horn @ 2012-08-02  6:31 UTC (permalink / raw)
  To: ding

Hi all,

as documented in (info "(gnus)Formatting Fonts"), you can make your
summary or group buffers an angry fruit salat by using %i{...%} specs
for i being some number and creating vars gnus-face-i bound to crazy
faces.  And so I did.

Now my problem is that I used that approach to print subjects in summary
buffers using a proportional font.  Works great, except that this format
spec overrides the usual gnus summary fontification that would fontify
according to readness and score.  That only seems to apply to summary
elements not enclosed by %{...%} specs.

Can I have the best of all worlds somehow?  I mean, for the subjects I
just want to have a proportional font but the coloring should be as if
it wasn't enclosed in %5{...%}.

That's the relevant part of my config:

--8<---------------cut here---------------start------------->8---
(defface th-gnus-face-5
  '((default (:family "DeJaVu Sans")))
  "A proportional face.")

(setq gnus-face-5 'th-gnus-face-5
      gnus-summary-line-format
      "%U%R%4{┃%}%2us%4{┃%}%(%-23,23f%)%4{┃ %*%B%} %5{%s%} %3{<%&user-date;>%}\n")
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2012-09-15 15:24 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-02  6:31 Summary line format and gnus-face-X Tassilo Horn
2012-09-04 22:30 ` Lars Ingebrigtsen
2012-09-05  6:38   ` Tassilo Horn
2012-09-05 13:09     ` Lars Ingebrigtsen
2012-09-05 13:27       ` Tassilo Horn
2012-09-05 16:22         ` Lars Ingebrigtsen
2012-09-05 17:10           ` Tassilo Horn
2012-09-06 13:31           ` Wolfgang Jenkner
2012-09-06 13:53             ` Lars Ingebrigtsen
2012-09-06 14:23               ` Wolfgang Jenkner
2012-09-06 14:34                 ` Lars Ingebrigtsen
2012-09-06 14:58                   ` Wolfgang Jenkner
2012-09-06 18:14                   ` Tassilo Horn
2012-09-06 18:30                     ` Lars Ingebrigtsen
2012-09-07 15:59                       ` Wolfgang Jenkner
2012-09-08  9:41                         ` Wolfgang Jenkner
2012-09-08 11:45                           ` Wolfgang Jenkner
2012-09-08 12:37                             ` Tassilo Horn
2012-09-09 13:13                               ` Wolfgang Jenkner
2012-09-09 18:54                                 ` Lars Ingebrigtsen
2012-09-15 15:24                                   ` Wolfgang Jenkner
2012-09-06 14:36                 ` Lars Ingebrigtsen
2012-09-06 14:51                   ` Wolfgang Jenkner
2012-09-06 18:29                     ` Lars Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).