From 1fb5c77818ff00714a7012b74b2bc620818f4a36 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 1 Mar 2012 15:34:05 +0200 Subject: emacs: retain show buffer state after retrieving gpg key After retrieving gpg key retain show buffer state like in all other operations (i.e. no other calls to notmuch-show-refresh-view provides optional reset-state argument). Emacs MUA keeps current message under cursor instead of going first open message(possibly marking it read). --- emacs/notmuch-crypto.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el index 94da325d..e916d663 100644 --- a/emacs/notmuch-crypto.el +++ b/emacs/notmuch-crypto.el @@ -145,7 +145,7 @@ mode." (insert "\n") (call-process "gpg" nil t t "--list-keys" keyid)) (recenter -1)) - (notmuch-show-refresh-view t))) + (notmuch-show-refresh-view))) (defun notmuch-crypto-insert-encstatus-button (encstatus) (let* ((status (plist-get encstatus :status)) -- cgit v1.2.3 From 2c077b1e4a3202fb3b3269a3f734e3ae75ddceff Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 1 Mar 2012 15:34:06 +0200 Subject: Spelling fix Retreive is spelled as r e t r i e v e . --- emacs/notmuch-crypto.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el index e916d663..83e5d37a 100644 --- a/emacs/notmuch-crypto.el +++ b/emacs/notmuch-crypto.el @@ -101,7 +101,7 @@ mode." (let ((keyid (concat "0x" (plist-get sigstatus :keyid)))) (setq label (concat "Unknown key ID " keyid " or unsupported algorithm")) (setq button-action 'notmuch-crypto-sigstatus-error-callback) - (setq help-msg (concat "Click to retreive key ID " keyid " from keyserver and redisplay.")))) + (setq help-msg (concat "Click to retrieve key ID " keyid " from keyserver and redisplay.")))) ((string= status "bad") (let ((keyid (concat "0x" (plist-get sigstatus :keyid)))) (setq label (concat "Bad signature (claimed key ID " keyid ")")) -- cgit v1.2.3