[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/autocrypt 1491d9de1e 07/94: fixed checkdoc complaints
From: |
ELPA Syncer |
Subject: |
[elpa] externals/autocrypt 1491d9de1e 07/94: fixed checkdoc complaints |
Date: |
Sun, 26 Mar 2023 07:57:56 -0400 (EDT) |
branch: externals/autocrypt
commit 1491d9de1edf83e3fde018abebdab41fb0ded8de
Author: Philip K <philip@warpmail.net>
Commit: Philip K <philip@warpmail.net>
fixed checkdoc complaints
---
autocrypt.el | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/autocrypt.el b/autocrypt.el
index cc08583b37..011c8da0ac 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -128,7 +128,7 @@ refereed to by the property (see `autocrypt-mua-call').
Valid properties and their associated messages are:
-:install - called when `autocrypt-mode' is activated in the
+:install - called when autocrypt minor mode is activated in the
current buffer. Should only install hooks.
:uninstall - inverse of :install, and should reverse it's
@@ -266,7 +266,9 @@ well-formed, otherwise returns just nil."
;;;
https://autocrypt.org/level1.html#updating-autocrypt-peer-state-from-key-gossip
(defun autocrypt-process-gossip (date)
- "Update internal autocrypt gossip state."
+ "Update internal autocrypt gossip state.
+
+Argument DATE contains the time value of the \"From\" tag."
(let ((recip (autocrypt-list-recipients))
(root (autocrypt-mua-call :part 0))
(re (rx bol "Autocrypt-Gossip:" (* space)
@@ -367,7 +369,9 @@ well-formed, otherwise returns just nil."
If ADDR is a local account, it's key will be used. Otherwise it
attempts to look up ADDR in the peer data. If nothing was found
-OR the header is too large, return nil."
+OR the header is too large, return nil. If GOSSIP-P is non-nil,
+the function will not add an encryption
+preference (\"prefer-encrypt\")."
(let (acc peer pref keydata)
(cond
((setq acc (assoc addr autocrypt-accounts))
@@ -394,15 +398,16 @@ OR the header is too large, return nil."
(and (< (buffer-size) (* 10 1024))
(buffer-string))))))
-(defun autocrypt-create-account (name email expire pass)
+(defun autocrypt-create-account ()
"Create a GPG key for Autocrypt."
- (interactive (list (read-string "Name: " user-full-name)
- (read-string "Email: " user-mail-address)
- (read-string "Expire Date (date or <n>{d,w,m,y}): ")
- (let ((prompt "Passphrase (must be non-empty): ") pass)
- (while (eq (setq pass (read-passwd prompt t t)) t))
- pass)))
- (let ((ctx (epg-make-context)))
+ (interactive)
+ (let ((ctx (epg-make-context))
+ (name (read-string "Name: " user-full-name))
+ (email (read-string "Email: " user-mail-address))
+ (expire (read-string "Expire Date (date or <n>{d,w,m,y}): "))
+ (pass (let ((prompt "Passphrase (must be non-empty): ") pass)
+ (while (eq (setq pass (read-passwd prompt t t)) t))
+ pass)))
(epg-generate-key-from-string
ctx
(with-temp-buffer
- [elpa] externals/autocrypt 8965ce57c7 74/94: Add references to autocrypt-backends to all generic functions, (continued)
- [elpa] externals/autocrypt 8965ce57c7 74/94: Add references to autocrypt-backends to all generic functions, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt c439cbe029 76/94: Update "How to use" section to demonstrate configuring without setup, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt ff87f73f00 77/94: Install process-header into gnus-select-article-hook, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt a89bbd717e 79/94: Fix custom type of autocrypt-process-header, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 9e393f869a 81/94: Adjust header formatting, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 46557b4403 92/94: Relicense autocrypt under GPL-3, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 977a60aa04 93/94: Assign copyright to the FSF, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 373194a318 03/94: added license, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 5fec39262e 05/94: updated minimal package requirement, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt a56b2806f3 08/94: fixed undefined autocrypt-list-recipients bug, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 1491d9de1e 07/94: fixed checkdoc complaints,
ELPA Syncer <=
- [elpa] externals/autocrypt dae7c32262 15/94: turned autoload calls into autoload comments, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt b903929bf3 17/94: reindented autocrypt-list-recipients, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt f970fb51c8 19/94: added melpa link to readme, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt a0b03bd459 25/94: removed version tag from autocrypt group, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt a16bf93ba8 26/94: made autocrypt-gossip-p depend on autocrypt-do-gossip, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 73d21d9de9 27/94: replaced write-file with write-region, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 4824fb6e4b 29/94: Recognize Mu4e as MUA, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 2f9f3ee4c6 31/94: Add major-mode indicator to autocrypt file, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 050d496716 32/94: Fix mu4e setup when composing new messages, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 1dc4e59833 56/94: Update public-inbox URL, ELPA Syncer, 2023/03/26