Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Highlighting followups
@ 2006-08-06  5:16 giglio robbo' d'acciaio
  0 siblings, 0 replies; only message in thread
From: giglio robbo' d'acciaio @ 2006-08-06  5:16 UTC (permalink / raw)


I've edited my .gnus.el to automatically highlight my posts and the their
followups. But something gone wrong, and since my.gnus.org doesn't exists anymore
I can't check this code:

(require 'gnus-sum)
(defface dz-gnus-own-posting-face nil
	 "Use this face to display own postings in Summary Buffer")
(copy-face 'gnus-summary-high-unread-face 'dz-gnus-own-posting-face)
(set-face-background 'dz-gnus-own-posting-face "cornflower blue")

(defface dz-gnus-direct-fup-face nil
	 "Use this face to display direct fups to my postings.")
(copy-face 'gnus-summary-high-unread-face 'dz-gnus-direct-fup-face)
(set-face-background 'dz-gnus-direct-fup-face "DeepSkyBlue4")

(defface dz-gnus-indirect-fup-face nil
	 "Use this face to display indirect fups to my postings")
(copy-face 'gnus-summary-high-unread-face 'dz-gnus-indirect-fup-face)
(set-face-background 'dz-gnus-indirect-fup-face "saddle brown")

(add-to-list 'gnus-summary-highlight
	     '((and (> score 8500) (eq mark gnus-unread-mark)) . dz-gnus-own-posting-face))

(add-to-list 'gnus-summary-highlight
	     '((and (>= 8500 score) (>= score 7500) (eq mark gnus-unread-mark)) . dz-gnus-direct-fup-face))

(add-to-list 'gnus-summary-highlight
	     '((and (>= 7499 score) (>= score 6500) (eq mark gnus-unread-mark)) . dz-gnus-indirect-fup-face))

(add-hook 'message-sent-hook 'gnus-score-followup-thread)

Maybe I forgot something.
Thanks in advance.
-- 
Fumo:
	Il ministro della sanita', Rosy Bindi, proporra' una legge
contro la pubblicita' delle sigarette nascoste nelle sponsorizzazioni
della Formula 1 e nei marchi degli abiti sportivi.  Un affare da
500 miliardi.  Sicuramente MARLBORO le lobbies del tabacco escogiteranno
GAULOISES altri modi MS di fare pubblicita' occulta.
Vedremo LUCKY STRIKE quali.
		-- Panfilo Maria Lippi, "TABLOID TABLOID"@"Mai Dire Gol"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-06  5:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-06  5:16 Highlighting followups giglio robbo' d'acciaio

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