RE: [PATCH v3] VIM: Improve moving between messages in a thread

Subject: RE: [PATCH v3] VIM: Improve moving between messages in a thread

Date: Tue, 13 Jan 2015 00:47:19 +0100

To: Ian Main, notmuch@notmuchmail.org

Cc:

From: Bartosz Telenczuk


Hi Ian,

The patch looks good. I tested it on my system and it works fine.  I just have one suggestion regarding coding style.

> +function! s:show_prev_msg()
>  function! s:show_next_msg()

Since these functions are almost the same, you could avoid code repetition by replacing them by a function which takes (positive or negative) increment as an argument.

Cheers,

Bartosz


Thread: