dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit 2724b66f07ac986e3675e7c436ce8ff50312dfc4
parent cb7f42016e6d9baaebfdf083c86988d03d6dafc9
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Fri, 17 Jul 2020 12:03:38 +0200

Change "sent-by-me" prefix

Searching for "KLG" yields fewer false positives than "me".

Diffstat:
M.gnus | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git 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)