* [PATCH] emacs: Ensure that gnupg output goes at the end of the buffer.
@ 2012-02-07 17:26 David Edmondson
2012-02-12 17:36 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: David Edmondson @ 2012-02-07 17:26 UTC (permalink / raw)
To: notmuch
When showing the user some details of gnupg output, ensure that those
details are shown at the end of the gnupg status buffer
("*notmuch-crypto-gpg-out*"), otherwise it can end up mixed up with
earlier output.
---
emacs/notmuch-crypto.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el
index 80ac350..c7ef1eb 100644
--- a/emacs/notmuch-crypto.el
+++ b/emacs/notmuch-crypto.el
@@ -129,6 +129,7 @@ mode."
(window (display-buffer buffer t nil)))
(with-selected-window window
(with-current-buffer buffer
+ (goto-char (point-max))
(call-process "gpg" nil t t "--list-keys" fingerprint))
(recenter -1))))
@@ -139,6 +140,7 @@ mode."
(window (display-buffer buffer t nil)))
(with-selected-window window
(with-current-buffer buffer
+ (goto-char (point-max))
(call-process "gpg" nil t t "--recv-keys" keyid)
(insert "\n")
(call-process "gpg" nil t t "--list-keys" keyid))
--
1.7.8.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] emacs: Ensure that gnupg output goes at the end of the buffer.
2012-02-07 17:26 [PATCH] emacs: Ensure that gnupg output goes at the end of the buffer David Edmondson
@ 2012-02-12 17:36 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2012-02-12 17:36 UTC (permalink / raw)
To: David Edmondson, notmuch
On Tue, 7 Feb 2012 17:26:11 +0000, David Edmondson <dme@dme.org> wrote:
> When showing the user some details of gnupg output, ensure that those
> details are shown at the end of the gnupg status buffer
> ("*notmuch-crypto-gpg-out*"), otherwise it can end up mixed up with
> earlier output.
pushed,
d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-12 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-07 17:26 [PATCH] emacs: Ensure that gnupg output goes at the end of the buffer David Edmondson
2012-02-12 17:36 ` 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).