[PATCH] VIM: Automatically refresh folder screen

Franz Fellner alpine.art.de at gmail.com
Wed Jan 21 10:38:58 PST 2015


Hi Bartosz,

Great to see one more person interested in notmuch-vim! Hopefully this will make review a little bit easier.

Bartosz Telenczuk wrote:
> Ian Main wrote:
> > This patch makes the folder screen refresh each time you 'enter' it.
> > This way when you read a folder and mark items as read the changes are
> > reflected immediately when you return to the folder view.
> 
> That is a good starting point, but why don't we refresh every time we mark an item in the folder screen?

Personally I don't see the benefit. It's a useless call to notmuch for every cursor-move. Especially with the current inefficient implementation.
Pressing '=' will refresh the folder view manually. If you want to get notified about new mail it's better to call e.g. notify-send after notmuch new.
Automatic refresh after you finished reading your new mails and come back to folders IMHO makes sense.

But probably Ian has a different oppinion.

Franz

> 
> Bartosz
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch




More information about the notmuch mailing list