From: Carl Worth <cworth@cworth.org>
To: Patrick Totzke <patricktotzke@googlemail.com>,
notmuch <notmuch@notmuchmail.org>
Subject: Re: one-time-iterators
Date: Thu, 26 May 2011 10:20:21 -0700 [thread overview]
Message-ID: <877h9d9y5m.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <1306397849-sup-3304@brick>
[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]
On Thu, 26 May 2011 09:31:19 +0100, Patrick Totzke <patricktotzke@googlemail.com> wrote:
> Wow. This reads really complicated. All I want to say is:
> if I change tags in my search-results view, I get Xapian errors :)
Yes, that's frustrating. I wish that we had a more reliable interface at
the notmuch library level. But I'm not entirely sure what would be the
best way to do this.
> The question: How do you solve this in the emacs code?
> do you store all tids of a query?
The emacs code does not use the notmuch library interface like your
python bindings do. Instead, it uses the notmuch command-line tool, (and
buffers up the text output by it). The support for asynchronous
operations in the emacs interface means that it's likely possible
someone could run into a similar problem:
1. Start a search returning a *lot* of results
2. When the first results come in, make some tag changes
3. See if the original search aborts
I may have even had this happen to me before, but if I did I've never
actually noticed it. I don't know what a good answer might be for this
problem.
-Carl
--
carl.d.worth@intel.com
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2011-05-26 17:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 8:31 one-time-iterators Patrick Totzke
2011-05-26 17:20 ` Carl Worth [this message]
2011-05-26 20:18 ` one-time-iterators Austin Clements
2011-05-26 21:47 ` one-time-iterators Patrick Totzke
[not found] ` <1306442683-sup-9315@brick>
[not found] ` <20110526214302.GR29861@mit.edu>
2011-05-26 22:22 ` one-time-iterators Patrick Totzke
2011-05-27 2:41 ` one-time-iterators Austin Clements
2011-05-27 18:04 ` one-time-iterators Patrick Totzke
2011-05-27 19:29 ` one-time-iterators Austin Clements
2011-05-28 8:58 ` one-time-iterators Patrick Totzke
2011-05-31 1:05 ` one-time-iterators Austin Clements
2011-05-26 21:16 ` one-time-iterators Michael Hudson-Doyle
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=877h9d9y5m.fsf@yoom.home.cworth.org \
--to=cworth@cworth.org \
--cc=notmuch@notmuchmail.org \
--cc=patricktotzke@googlemail.com \
/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).