RE: [PATCH] VIM: Automatically refresh folder screen

Subject: RE: [PATCH] VIM: Automatically refresh folder screen

Date: Wed, 21 Jan 2015 19:38:58 +0100

To: Bartosz Telenczuk

Cc: notmuch@notmuchmail.org

From: Franz Fellner


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@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch



Thread: