summaryrefslogtreecommitdiff
path: root/.gnus
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-02-24 12:47:23 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2019-02-24 12:47:23 +0100
commitd945c4e426100049cb674e95ba2bf99ef5f90291 (patch)
tree921bf4445e4c9e0d0a07769b979f728a1a070a83 /.gnus
parent6af8d6676ee6485b1a86db69f4f948d0434b4a95 (diff)
downloaddotfiles-d945c4e426100049cb674e95ba2bf99ef5f90291.tar.xz
Add date to Gnus summary lines
Diffstat (limited to '.gnus')
-rw-r--r--.gnus14
1 files changed, 13 insertions, 1 deletions
diff --git a/.gnus b/.gnus
index 839ff81..57702d7 100644
--- a/.gnus
+++ b/.gnus
@@ -20,7 +20,19 @@
(setq smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587)
-(setq gnus-summary-line-format "%U%R%I%[%-23,23f%] %s\n")
+(setq gnus-summary-line-format "%U%R %-16,16&user-date;%I%[%-23,23f%] %s\n"
+ gnus-user-date-format-alist '(((gnus-seconds-today)
+ . "%H:%M")
+ ((+ 86400 (gnus-seconds-today))
+ . "Yesterday %H:%M")
+ (604800
+ . "%a %H:%M")
+ ((gnus-seconds-month)
+ . "%a %d")
+ ((gnus-seconds-year)
+ . "%b %d")
+ (t
+ . "%F")))
;; Key bindings:
;;