summaryrefslogtreecommitdiff
path: root/.gnus
diff options
context:
space:
mode:
Diffstat (limited to '.gnus')
-rw-r--r--.gnus9
1 files changed, 7 insertions, 2 deletions
diff --git a/.gnus b/.gnus
index 32b7b12..ea2f7f6 100644
--- a/.gnus
+++ b/.gnus
@@ -16,8 +16,6 @@
'((nntp "archive.lwn.net")
(nntp "news.gmane.io"))
gnus-summary-line-format "%*%U%R %-16,16&user-date; %B%-23,23f %s\n"
- gnus-summary-newsgroup-prefix "me ⇒ "
- gnus-summary-to-prefix "me → "
gnus-summary-dummy-line-format " ╭ %S\n"
gnus-summary-make-false-root 'dummy
gnus-sum-thread-tree-root "╭ "
@@ -44,6 +42,13 @@
(t
. "%F")))
+(let* ((initials (mapconcat (lambda (s) (substring s 0 1))
+ (split-string user-full-name)
+ nil))
+ (sent-prefix (format "%s → " initials)))
+ (setq gnus-summary-to-prefix sent-prefix
+ gnus-summary-newsgroup-prefix sent-prefix))
+
(setq smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587)