Gnus development mailing list
 help / color / mirror / Atom feed
* setting face in gnus-user-format-function-x
@ 2011-05-23 18:04 Peter Münster
  2011-05-24  6:18 ` Reiner Steib
  2011-05-30 18:10 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 26+ messages in thread
From: Peter Münster @ 2011-05-23 18:04 UTC (permalink / raw)
  To: ding

Hello,

I would like to set different faces for some marks in the summary lines.
But unfortunately, when changing the mark, the mark-letter is updated,
but the face is not. Only after reopening the group, the faces get
right.
Here my test setup:

--8<---------------cut here---------------start------------->8---
(defun gnus-user-format-function-x (header)
  (propertize (format "%c" gnus-tmp-unread) 'face
              (if (equal gnus-tmp-unread gnus-ancient-mark)
                  gnus-face-2 gnus-face-3) 'gnus-face t))

(setq gnus-summary-line-format "%ux...")
--8<---------------cut here---------------end--------------->8---

Could anybody help please?

TIA for any hints!

-- 
           Peter




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

end of thread, other threads:[~2011-09-29  9:41 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 18:04 setting face in gnus-user-format-function-x Peter Münster
2011-05-24  6:18 ` Reiner Steib
2011-05-25 13:38   ` Peter Münster
2011-05-26  6:37     ` Reiner Steib
2011-05-27  8:26       ` Peter Münster
2011-05-27  9:44         ` Michael Piotrowski
2011-05-30 18:10 ` Lars Magne Ingebrigtsen
2011-05-31  7:06   ` Peter Münster
2011-06-07 16:24     ` Michael Piotrowski
2011-06-23  8:47       ` Peter Münster
2011-06-26 10:06         ` Lars Magne Ingebrigtsen
2011-06-27 12:46           ` Peter Münster
2011-06-30  2:23             ` Lars Magne Ingebrigtsen
2011-06-30  5:14               ` Peter Münster
2011-06-30 22:03                 ` Lars Magne Ingebrigtsen
2011-07-13  9:15                   ` setting face in gnus-user-format-function-x (solved) Peter Münster
2011-07-13 11:35                     ` Peter Münster
2011-07-14  8:12                     ` Peter Münster
2011-07-14 19:09                       ` Reiner Steib
2011-07-11 16:57         ` setting face in gnus-user-format-function-x Michael Piotrowski
2011-07-13  7:36           ` Peter Münster
2011-07-18 21:09   ` special face for marks (was: setting face in gnus-user-format-function-x) Peter Münster
2011-07-19 10:09     ` special face for marks lee
2011-07-19 10:58       ` Peter Münster
2011-07-19 17:51         ` lee
2011-09-29  9:41           ` Ted Zlatanov

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).