unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key
@ 2012-03-01 13:34 Tomi Ollila
  2012-03-01 13:34 ` [PATCH 2/2] Spelling fix Tomi Ollila
  2012-03-02 13:05 ` [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: Tomi Ollila @ 2012-03-01 13:34 UTC (permalink / raw)
  To: notmuch; +Cc: Tomi Ollila

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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el
index 94da325..e916d66 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))
-- 
1.7.8.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Spelling fix
  2012-03-01 13:34 [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key Tomi Ollila
@ 2012-03-01 13:34 ` Tomi Ollila
  2012-03-02 13:05 ` [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: Tomi Ollila @ 2012-03-01 13:34 UTC (permalink / raw)
  To: notmuch; +Cc: Tomi Ollila

Retreive is spelled as r e t r i e v e .
---
 emacs/notmuch-crypto.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el
index e916d66..83e5d37 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 ")"))
-- 
1.7.8.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key
  2012-03-01 13:34 [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key Tomi Ollila
  2012-03-01 13:34 ` [PATCH 2/2] Spelling fix Tomi Ollila
@ 2012-03-02 13:05 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2012-03-02 13:05 UTC (permalink / raw)
  To: Tomi Ollila, notmuch; +Cc: Tomi Ollila

On Thu,  1 Mar 2012 15:34:05 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
> 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).

Pushed to release, merging to master soon.

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-02 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-01 13:34 [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key Tomi Ollila
2012-03-01 13:34 ` [PATCH 2/2] Spelling fix Tomi Ollila
2012-03-02 13:05 ` [PATCH 1/2] emacs: retain show buffer state after retrieving gpg key David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).