Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
:License: This module is covered under the GNU GPL v3 (or later).
:License: This module is covered under the GNU GPL v3 (or later).
-This page contains the main API overview of notmuch |release|.
+This page contains the main API overview of notmuch |release|.
Notmuch can be imported as::
Notmuch can be imported as::
:maxdepth: 1
status_and_errors
:maxdepth: 1
status_and_errors
:mod:`notmuch` -- The Notmuch interface
=================================================
:mod:`notmuch` -- The Notmuch interface
=================================================
Sort by email message ID.
SORT.UNSORTED
Sort by email message ID.
SORT.UNSORTED
- Do not apply a special sort order (returns results in document id
- order).
+ Do not apply a special sort order (returns results in document id
+ order).
.. method:: __len__()
.. warning::
.. method:: __len__()
.. warning::
:meth:`__len__` was removed in version 0.6 as it exhausted the iterator and broke
list(Messages()). Use the :meth:`Query.count_messages` function or use `len(list(msgs))`.
:meth:`__len__` was removed in version 0.6 as it exhausted the iterator and broke
list(Messages()). Use the :meth:`Query.count_messages` function or use `len(list(msgs))`.
This flag is automatically set by a
Query.search_threads on those messages that match the
query. This allows us to distinguish matches from the rest
This flag is automatically set by a
Query.search_threads on those messages that match the
query. This allows us to distinguish matches from the rest
.. automethod:: get_flag
.. automethod:: set_flag
.. automethod:: get_flag
.. automethod:: set_flag
.. automethod:: get_date
.. automethod:: get_header
.. automethod:: get_date
.. automethod:: get_header
**show** <search-terms> [...]
Show all messages matching the search terms.
**show** <search-terms> [...]
Show all messages matching the search terms.
- This has been partially implemented, we show a stub for each
+ This has been partially implemented, we show a stub for each
found message, but do not output the full message body yet.
**count** <search-terms> [...]
found message, but do not output the full message body yet.
**count** <search-terms> [...]