From 9e393f869a276c7d7d52b89f0bab79a70455fefa Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Sat, 27 Aug 2022 19:46:09 +0200 Subject: [PATCH] Adjust header formatting Specifically the titles are now capitalised instead of uncased, and the outline-minor-mode indentation is raised to 4 (one more than the "Code" section). --- autocrypt.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/autocrypt.el b/autocrypt.el index 04eafaa..725eae0 100644 --- a/autocrypt.el +++ b/autocrypt.el @@ -32,7 +32,7 @@ (require 'ietf-drums) -;;; CUSTOMIZABLES +;;;; Customizables (defgroup autocrypt nil "Autocrypt protocol implementation for Emacs MUAs." @@ -78,7 +78,7 @@ process \"Autocrypt-Gossip\" headers when received." :type '(file :must-match t)) -;;; DATA STRUCTURES +;;;; Data Structures ;; https://autocrypt.org/level1.html#communication-peers (cl-defstruct autocrypt-peer @@ -91,7 +91,7 @@ process \"Autocrypt-Gossip\" headers when received." deactivated) -;;; INTERNAL STATE +;;; Internal State (defvar autocrypt-peers nil "List of known autocrypt peers. @@ -106,7 +106,7 @@ Every member of this list has to be an instance of the (defvar autocrypt-loaded-version) ;used by `autocrypt-load-data' -;;; MUA TRANSLATION LAYER +;;;; Mua Translation Layer (defvar autocrypt-backends (list (lambda () (and (derived-mode-p 'mu4e-main-mode 'mu4e-view-mode) 'mu4e)) @@ -218,7 +218,7 @@ the buffer it is being invoked in. See `autocrypt-backends' and `autocrypt-make-function' for more details.") -;;; INTERNAL FUNCTIONS +;;;; Internal Functions ;; https://autocrypt.org/level1.html#e-mail-address-canonicalization (defsubst autocrypt-canonicalise (addr) @@ -325,7 +325,7 @@ well-formed, otherwise returns just nil." (setq recipients (nconc (mapcar #'cadr r) recipients)))) (delete-dups recipients))) -;;; https://autocrypt.org/level1.html#updating-autocrypt-peer-state-from-key-gossip +;; https://autocrypt.org/level1.html#updating-autocrypt-peer-state-from-key-gossip (defun autocrypt-process-gossip (date) "Update internal autocrypt gossip state. @@ -568,7 +568,7 @@ Will handle and remove \"Do-(Discourage-)Autocrypt\" if found." email))) -;;; MINOR MODES +;;;; Minor Modes ;;;###autoload (define-minor-mode autocrypt-mode -- 2.45.2