summaryrefslogtreecommitdiff
path: root/.gnus
diff options
context:
space:
mode:
authorKรฉvin Le Gouguec <kevin.legouguec@gmail.com>2018-01-31 20:55:42 +0100
committerKรฉvin Le Gouguec <kevin.legouguec@gmail.com>2018-01-31 20:58:42 +0100
commitc6320f872750910fcd636bf0de362e6935ff7ac9 (patch)
treef5aae9b186d8ecd3866c02fa856e3f812073e50e /.gnus
parent803454514104e6f3c5b1186a883b2babd1f37bb7 (diff)
downloaddotfiles-c6320f872750910fcd636bf0de362e6935ff7ac9.tar.xz
Add Emacs dotfiles
Diffstat (limited to '.gnus')
-rw-r--r--.gnus106
1 files changed, 106 insertions, 0 deletions
diff --git a/.gnus b/.gnus
new file mode 100644
index 0000000..1b06407
--- /dev/null
+++ b/.gnus
@@ -0,0 +1,106 @@
+;; user-full-name: from /etc/passwd, set with chfn.
+;; user-mail-address: from EMAIL environment variable in ~/.profile.
+
+;; In ~/.authinfo.gpg:
+;; machine imap.gmail.com login LOGIN password PASSWORD port 993
+;; machine smtp.gmail.com login LOGIN password PASSWORD port 587
+
+(setq gnus-select-method
+ '(nnimap "gmail"
+ (nnimap-address "imap.gmail.com")
+ (nnimap-server-port 993)
+ (nniamp-stream ssl)
+ (nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash")
+ (nnmail-expiry-wait immediate))
+ gnus-thread-sort-functions
+ '(gnus-thread-sort-by-number
+ gnus-thread-sort-by-most-recent-date)
+ gnus-treat-display-smileys nil)
+
+(setq smtpmail-smtp-server "smtp.gmail.com"
+ smtpmail-smtp-service 587)
+
+;; Key bindings:
+;;
+;; When browsing group buffer:
+;;
+;; L list all groups
+;; RET view unread mail in group
+;; C-u RET view all mail in group
+;; g refresh
+;;
+;; When browsing summary buffer:
+;;
+;; B m move message to group
+;; / N fetch new
+;; M-g refresh (expire, move, fetch new, show unread)
+;; C-u M-g refresh (expire, move, fetch new, show all)
+;; r reply
+;; R reply (quoting)
+;; S w reply-all
+;; S W reply-all (quoting)
+;; C-c C-f forward
+;; d mark read
+;; M-u clear marks (โ‰ก mark unread)
+;; E expire
+;; # mark for next action
+;; M-#, M P u unmark for next action
+;;
+;; Both:
+;;
+;; m compose
+;;
+;; When reading article:
+;;
+;; o save attachment at point
+;;
+;; When composing:
+;; C-c C-c send
+;; C-c C-a attach
+;;
+;; FAQ:
+;;
+;; - how to see *all mails*, not just unread?
+;; - C-u RET
+;;
+;; - how to delete mail?
+;; - E to mark as expired
+;; - C-u M-g to refresh
+;;
+;; - how to list most-recent mails on top?
+;; - cf. gnus-thread-sort-functions
+;;
+;; - how to close a mail without going back to the group list?
+;; - = to make summary full-screen
+;;
+;; - how to get contact completion?
+;; - by installing a MELPA plugin (bbdb); bleh
+;; - something something ecomplete?
+;;
+;; - how to refresh?
+;; - summary buffer:
+;; - / N (fetch new)
+;; - M-g (expire, move, fetch & redisplay)
+;; - group buffer: g
+;;
+;; - what do all those letters mean?
+;; (info gnus Marking Articles)
+;; - O old โ‰ก read during previous session
+;; - R just read
+;; - r manually marked as read
+;; - A answered
+;; - E expirable
+;; - G cancelled (e.g. moved somewhere else)
+;; - . unseen
+;;
+;; TODOs:
+;;
+;;- gnus-summary-line-format (๐Ÿ“Ž for attachments)
+;;
+;; - browse mailing list
+;; https://emacs.stackexchange.com/questions/5298/reading-mailing-list-archives-in-emacs
+;;
+;;- describe-key is mostly useless in article mode:
+;; > X runs the command gnus-article-read-summary-keys
+;;
+;;- detect possibly missing attachments from keywords