* implement the :erase message from the backend to properly clean up the

header buffer

  When we're doing a search while the results of a previous search are still
  coming in from the backend, this way we can tell the frontend that this is
  the right time to clear the buffer (previously, sometimes the results would
  be mixed).
This commit is contained in:
djcb
2012-03-25 13:25:55 +03:00
parent 50b50d87b7
commit 67261b614d
3 changed files with 23 additions and 2 deletions

View File

@ -51,6 +51,12 @@ Using the \fBfind\fR command we can search for messages.
.nf
-> find "<query>" <maxnum>
.fi
First, this will return an 'erase'-sexp, to clear the buffer from possible
results from a previous query.
.nf
<- (:erase t)
.fi
This will return a series of 0 up to <maxnum> s-expression corresponding to each
message found (with a negative number for <maxnum> meaning 'unlimited'). The
information for each message does not contain the message body; the \fBview\fR