[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add the weekday in the summary buffer?
From: |
Sébastien Vauban |
Subject: |
Re: How to add the weekday in the summary buffer? |
Date: |
Wed, 08 Dec 2010 15:45:21 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hi 厚脸王,
厚脸王 wrote:
> see this http://www.emacswiki.org/emacs/init-gnus.el
FYI, my new config:
--8<---------------cut here---------------start------------->8---
(defface gnus-linum '((t (:foreground "#AFB7BA"))) nil)
(defface gnus-diredp-file-suffix '((t (:foreground "#6DB604"))) nil)
(defface gnus-org-date '((t (:foreground "purple"))) nil)
(setq gnus-face-1 'gnus-linum)
(setq gnus-face-2 'gnus-diredp-file-suffix)
(setq gnus-face-3 'gnus-org-date)
;; format specification of the lines in the summary buffer
;; for the record, the default string is `%U%R%z%I%(%[%4L: %-20,20n%]%)
%s\n'
(setq gnus-summary-line-format
(concat
;; "%1{%4P%} "
"%U%R%z "
"%-15,15n "
"%2{%4k%} "
"%3{%20&user-date;%} "
(if (boundp 'rs-gnus-summary-line-content-type-alist)
"%u&attachment; ")
"%u&r; "
"%B"
"%I%(%0,80s%)"
"\n"))
--8<---------------cut here---------------end--------------->8---
Only feature: my `gnus-summary-cancelled-face' is not applied on parts where
`gnus-face-1/2/3' are used... But that's very minor.
Thanks once again!
Best regards,
Seb
--
Sébastien Vauban