summaryrefslogtreecommitdiff
path: root/gnus-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnus-conf.el')
-rw-r--r--gnus-conf.el21
1 files changed, 20 insertions, 1 deletions
diff --git a/gnus-conf.el b/gnus-conf.el
index 7be8509..4fe446c 100644
--- a/gnus-conf.el
+++ b/gnus-conf.el
@@ -43,7 +43,6 @@
(setq mm-verify-option 'known)
-
;;; Update by mu4e
(declare-function #'mu4e-update-mail-and-index "mu4e" (RUN-IN-BACKGROUND))
@@ -222,3 +221,23 @@
(setq-local buffer-auto-save-file-name nil)))))
(advice-add #'gnus :after #'durand-disable-auto-save-for-newsrc-ad)
+
+;;; Supercite
+
+;; This is suggested by the manual
+(autoload 'sc-cite-original "supercite" nil t)
+
+;; This is the only thing we need to enable using Supercite
+(add-hook 'mail-citation-hook #'sc-cite-original)
+
+;; I can start the eelectirc reference mode later on, by the function
+;; `sc-insert-reference' (bound to "C-c C-p w" by default).
+(setq sc-electric-references-p nil)
+
+;; I find this style quite balanced: not too verbose but still
+;; informative enough
+(setq sc-preferred-header-style 1)
+
+;; I used to use the nested style, but now I think the non-nested
+;; style is clearer and cleaner
+(setq sc-nested-citation-p nil)