From: Gaute Hope <eg@gaute.vetsj.com>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: how do the different frontends deal with displaying large queries?
Date: Fri, 26 Feb 2016 11:50:41 +0000 [thread overview]
Message-ID: <1456487129-astroid-1-zemv9qfkbh-18628@strange> (raw)
In-Reply-To: <87ziuqj8xl.fsf@tesseract.cs.unb.ca>
David Bremner writes on February 24, 2016 18:48:
> Gaute Hope <eg@gaute.vetsj.com> writes:
>
>> Hi,
>>
>> I am wondering how the different frontends deal with displaying large
>> queries? Do you just display everything at the time? Or do you display a
>> limited number and then show more on-demand?
>>
>
> I only know the emacs front end, and I suspect the answer won't help you
> much. We start filling an emacs buffer asynchronously with the results,
> and display the top of the buffer with the first results. Results are
> appended to the end of the buffer, typically much faster than the user
> can scroll.
Hi,
I am testing out this way of loading threads, however, I run into an
issue which I have been bugging you with before:
While loading the threads, if I make enough modifications to the
database while the query is still loading (specifically 1: removing the
unread tag from a thread, and 2: adding the unread tag to the same thread)
apparently the query is invalidated in some way, and I get a hard crash
in `notmuch_tags_get ()`.
The thread in question has alreaday been loaded and is displayed.
Do you deal with this issue in some way?
[ code in question: https://github.com/gauteh/astroid/pull/95 ]
Regards, Gaute
next prev parent reply other threads:[~2016-02-26 11:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 6:49 how do the different frontends deal with displaying large queries? Gaute Hope
2016-02-24 17:48 ` David Bremner
2016-02-24 17:55 ` Gaute Hope
2016-02-26 11:50 ` Gaute Hope [this message]
2016-02-27 12:50 ` David Bremner
2016-02-28 12:32 ` Gaute Hope
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=1456487129-astroid-1-zemv9qfkbh-18628@strange \
--to=eg@gaute.vetsj.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).