From 2724b66f07ac986e3675e7c436ce8ff50312dfc4 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 17 Jul 2020 12:03:38 +0200 Subject: Change "sent-by-me" prefix Searching for "KLG" yields fewer false positives than "me". --- .gnus | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to '.gnus') 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) -- cgit v1.2.3