From: Franz Fellner <alpine.art.de@gmail.com>
To: David Bremner <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH] VIM: Automatically refresh folder screen
Date: Tue, 16 Dec 2014 12:57:41 +0100 [thread overview]
Message-ID: <54901e35e7138_14aae1d30460@TP_L520.notmuch> (raw)
In-Reply-To: <87egt4naxr.fsf@maritornes.cs.unb.ca>
David Bremner wrote:
> Ian Main <imain@stemwinder.org> writes:
>
> > 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.
>
> It seems to work, but it is pretty slow for large mailboxes. I have
> 270000 unread messages and there is a pause of about 1 second when
> returning to the "folder screen". I'm not sure, maybe the vim interface
> is just overall not usable with such large search results?
I remember the times (not that far away) when paging through the result of a query
in the emacs interface resulted in a lock of several seconds after each <PGDOWN> or
<DOWN> keypress, even in medium sized queries of 1000 queries. This went away in the
meantime.
I just found the issue that caused the lag in the vim interface:
https://github.com/imain/notmuch-vim/commit/649c18122befbabb52082b7d7f77abf863efc62b
Using query.count_messages instead of query.search_messages.count did the trick.
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
next prev parent reply other threads:[~2014-12-16 11:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-01 16:41 [PATCH] VIM: Automatically refresh folder screen Ian Main
2014-10-24 7:13 ` Ian Main
2014-11-15 8:08 ` David Bremner
2014-12-16 11:57 ` Franz Fellner [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-01 16:36 Ian Main
2015-01-19 22:49 ` Bartosz Telenczuk
2015-01-21 18:38 ` Franz Fellner
2015-02-02 23:52 ` Bartosz Telenczuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54901e35e7138_14aae1d30460@TP_L520.notmuch \
--to=alpine.art.de@gmail.com \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).