* [PATCH] contrib: pick: bugfix for pick splitting the window excessively
@ 2012-12-09 20:17 Mark Walters
2012-12-10 18:26 ` Jameson Graef Rollins
2012-12-11 14:05 ` David Bremner
0 siblings, 2 replies; 3+ messages in thread
From: Mark Walters @ 2012-12-09 20:17 UTC (permalink / raw)
To: notmuch
Previously if you carried on past the last message in a pick view pick
would get confused and `forget' about the split pane and would try and
re-split when moving up again. This was due to faulty logic in
notmuch-pick-show-message: something that should have been in the (when message)
clause was not.
Thanks to jrollins for the bug report.
---
A simple bugfix: I can reproduce the bug that jrollins found and this
fixes it for both of us.
Best wishes
Mark
contrib/notmuch-pick/notmuch-pick.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
index 63776d5..a46ef6e 100644
--- a/contrib/notmuch-pick/notmuch-pick.el
+++ b/contrib/notmuch-pick/notmuch-pick.el
@@ -402,8 +402,8 @@ Does NOT change the database."
(with-selected-window notmuch-pick-message-window
(setq current-prefix-arg '(4))
(setq buffer (notmuch-show id nil nil nil)))
- (notmuch-pick-tag-update-display (list "-unread")))
- (setq notmuch-pick-message-buffer buffer)))
+ (notmuch-pick-tag-update-display (list "-unread"))
+ (setq notmuch-pick-message-buffer buffer))))
(defun notmuch-pick-show-message-out ()
"Show the current message (in whole window)."
--
1.7.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] contrib: pick: bugfix for pick splitting the window excessively
2012-12-09 20:17 [PATCH] contrib: pick: bugfix for pick splitting the window excessively Mark Walters
@ 2012-12-10 18:26 ` Jameson Graef Rollins
2012-12-11 14:05 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: Jameson Graef Rollins @ 2012-12-10 18:26 UTC (permalink / raw)
To: Mark Walters, notmuch
[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]
On Sun, Dec 09 2012, Mark Walters <markwalters1009@gmail.com> wrote:
> Previously if you carried on past the last message in a pick view pick
> would get confused and `forget' about the split pane and would try and
> re-split when moving up again. This was due to faulty logic in
> notmuch-pick-show-message: something that should have been in the (when message)
> clause was not.
>
> Thanks to jrollins for the bug report.
> ---
>
> A simple bugfix: I can reproduce the bug that jrollins found and this
> fixes it for both of us.
>
> Best wishes
>
> Mark
>
> contrib/notmuch-pick/notmuch-pick.el | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
> index 63776d5..a46ef6e 100644
> --- a/contrib/notmuch-pick/notmuch-pick.el
> +++ b/contrib/notmuch-pick/notmuch-pick.el
> @@ -402,8 +402,8 @@ Does NOT change the database."
> (with-selected-window notmuch-pick-message-window
> (setq current-prefix-arg '(4))
> (setq buffer (notmuch-show id nil nil nil)))
> - (notmuch-pick-tag-update-display (list "-unread")))
> - (setq notmuch-pick-message-buffer buffer)))
> + (notmuch-pick-tag-update-display (list "-unread"))
> + (setq notmuch-pick-message-buffer buffer))))
>
> (defun notmuch-pick-show-message-out ()
> "Show the current message (in whole window)."
Sorry, I should have responded to this immediately. This is a bug fix,
and I've tested it and it works perfectly.
jamie.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] contrib: pick: bugfix for pick splitting the window excessively
2012-12-09 20:17 [PATCH] contrib: pick: bugfix for pick splitting the window excessively Mark Walters
2012-12-10 18:26 ` Jameson Graef Rollins
@ 2012-12-11 14:05 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2012-12-11 14:05 UTC (permalink / raw)
To: Mark Walters, notmuch
Mark Walters <markwalters1009@gmail.com> writes:
> Previously if you carried on past the last message in a pick view pick
> would get confused and `forget' about the split pane and would try and
> re-split when moving up again. This was due to faulty logic in
> notmuch-pick-show-message: something that should have been in the (when message)
> clause was not.
Pushed,
d
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-11 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-09 20:17 [PATCH] contrib: pick: bugfix for pick splitting the window excessively Mark Walters
2012-12-10 18:26 ` Jameson Graef Rollins
2012-12-11 14:05 ` 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).