]> git.notmuchmail.org Git - notmuch/blob - NEWS
NEWS: add news item for help = man page
[notmuch] / NEWS
1 Notmuch 0.12 (2012-03-20)
2 =========================
3
4 Command-Line Interface
5 ----------------------
6
7 Reply to sender
8
9   "notmuch reply" has gained the ability to create a reply template
10   for replying just to the sender of the message, in addition to reply
11   to all. The feature is available through the new command line option
12   --reply-to=(all|sender).
13
14 Mail store folder/file ignore
15
16    A new configuration option, `new.ignore`, lets users specify a
17    ;-separated list of file and directory names that will not be
18    searched for messages by "notmuch new".
19
20    NOTE: *Every* file/directory that goes by one of those names will
21    be ignored, independent of its depth/location in the mail store.
22
23 Unified help and manual pages
24
25    The notmuch help command now runs man for the appropriate page.  If
26    you install notmuch somewhere "unusual", you may need to update
27    MANPATH.
28
29 Manual page for notmuch configuration options
30
31   The notmuch CLI configuration file options are now documented in the
32   notmuch-config(1) manual page in addition to the configuration file
33   itself.
34
35 Emacs Interface
36 ---------------
37
38 Reply to sender
39
40   The Emacs interface has, with the new CLI support, gained the
41   ability to reply to sender in addition to reply to all. In both show
42   and search modes, 'r' has been bound to reply to sender, replacing
43   reply to all, which now has key binding 'R'.
44
45 More flexible and consistent tagging operations
46
47   All tagging operations ("+", "-", "*") now accept multiple tags with
48   "+" or "-" prefix, like "*" operation in notmuch-search view before.
49
50   "*" operation (`notmuch-show-tag-all') is now available in
51   notmuch-show view.
52
53   `Notmuch-show-{add,remove}-tag' functions no longer accept tag
54   argument, `notmuch-show-tag-message' should be used instead.  Custom
55   bindings using these functions should be updated, e.g.:
56
57     (notmuch-show-remove-tag "unread")
58
59   should be changed to:
60
61     (notmuch-show-tag-message "-unread")
62
63 Refreshing the show view ('=' by default) no longer opens or closes messages
64
65   To get the old behavior of putting messages back in their initial
66   opened/closed state, use a prefix argument, e.g., C-u =.
67
68 Attachment buttons can be used to view or save attachments.
69
70   When the cursor is on an attachment button the key 's' can be used
71   to save the attachment, the key 'v' to view the attachment in the
72   default mailcap application, and the key 'o' prompts the user for an
73   application to use to open the attachment. By default Enter or mouse
74   button 1 saves the attachment but this is customisable (option
75   Notmuch Show Part Button Default Action).
76
77 New functions
78
79   `notmuch-show-stash-mlarchive-link{,-and-go}' allow stashing and
80   optionally visiting a URI to the current message at one of a number
81   of Mailing List Archives.
82
83 Fix MML tag quoting in replies
84
85   The MML tag quoting fix of 0.11.1 unintentionally quoted tags
86   inserted in `message-setup-hook'. Quoting is now limited to the
87   cited message.
88
89 Show view archiving key binding changes
90
91   The show view archiving key bindings 'a' and 'x' now remove the
92   "inbox" tag from the current message only (instead of thread), and
93   move to the next message. At the last message, 'a' proceeds to the
94   next thread in search results, and 'x' returns to search
95   results. The thread archiving functions are now available in 'A' and
96   'X'.
97
98 Support text/calendar MIME type
99
100   The text/calendar MIME type is now supported in addition to
101   text/x-vcalendar.
102
103 Generate inline patch fake attachment file names from message subject
104
105   Use the message subject to generate file names for the inline patch
106   fake attachments. The names are now similar to the ones generated by
107   'git format-patch' instead of just "inline patch". See "Notmuch Show
108   Insert Text/Plain Hook" in the notmuch customize interface.
109
110 Enable `notmuch-search-line-faces' by default
111
112   Make the `notmuch-search-line-faces' functionality more discoverable
113   for new users by showing "unread" messages bold and "flagged"
114   messages blue by default in the search view.
115
116 Library changes
117 ---------------
118
119 New functions
120
121   notmuch_query_add_tag_exclude supports the new tag exclusion
122   feature.
123
124 Python bindings changes
125 -----------------------
126
127 Python 3.2 compatibility
128
129   The python bindings are now compatible with both python 2.5+ and 3.2.
130
131 Added missing unicode conversions
132
133   Python strings have to be encoded to and decoded from utf-8 when
134   calling libnotmuch functions. Porting the bindings to python 3.2
135   revealed a few function calls that were missing these conversions.
136
137 Build fixes
138 -----------
139
140 Compatibility with GMime 2.6
141
142   It is now possible to build notmuch against both GMime 2.4 and 2.6.
143   However, a bug in GMime 2.6 before 2.6.5 causes notmuch not to
144   report signatures where the signer key is unavailable (GNOME bug
145   668085).  For compatibility with GMime 2.4's tolerance of "From "
146   headers we require GMime 2.6 >= 2.6.7.
147
148 Notmuch 0.11.1 (2012-02-03)
149 ===========================
150
151 Bug-fix release.
152 ----------------
153
154 Fix error handling in python bindings.
155
156   The python bindings in 0.11 failed to detect NULL pointers being
157   returned from libnotmuch functions and thus failed to raise
158   exceptions to indicate the error condition. Any subsequent calls
159   into libnotmuch caused segmentation faults.
160
161 Quote MML tags in replies
162
163   MML tags are text codes that Emacs uses to indicate attachments
164   (among other things) in messages being composed.  The Emacs
165   interface did not quote MML tags in the quoted text of a reply.
166   User could be tricked into replying to a maliciously formatted
167   message and not editing out the MML tags from the quoted text.  This
168   could lead to files from the user's machine being attached to the
169   outgoing message.  The Emacs interface now quotes these tags in
170   reply text, so that they do not effect outgoing messages.
171
172 Notmuch 0.11 (2012-01-13)
173 =========================
174
175 Command-Line Interface
176 ----------------------
177
178 Hooks
179
180   Hooks have been introduced to notmuch. Hooks are scripts that notmuch
181   invokes before and after certain actions. Initially, "notmuch new"
182   supports "pre-new" and "post-new" hooks that are run before and after
183   importing new messages into the database.
184
185 notmuch reply --decrypt bugfix
186
187   The "notmuch reply" command with --decrypt argument had a rarely
188   occurring bug that caused an encrypted message not to be decrypted
189   sometimes. This is now fixed.
190
191 Performance
192 -----------
193
194 Automatic tag query optimization
195
196   "notmuch tag" now automatically optimizes the user's query to
197   exclude messages whose tags won't change.  In the past, we've
198   suggested that people do this by hand; this is no longer necessary.
199
200 Don't sort messages when creating a dump file
201
202   This speeds up tag dumps considerably, without any loss of
203   information. To replicate the old behavior of sorted output (for
204   example to compare two dump files), one can use e.g. sort(1).
205
206 Memory Management
207 -----------------
208
209 Reduction of memory leaks
210
211   Two memory leaks when searching and showing messages were identified
212   and fixed in this release.
213
214 Emacs Interface
215 ---------------
216
217 Bug fixes
218
219   notmuch-show-advance (bound to the spacebar in notmuch-show-mode) had
220   a bug that caused it to always jump to the next message, even if it
221   should have scrolled down to show more of the current message instead.
222   This is now fixed.
223
224 Support "notmuch new" as a notmuch-poll-script
225
226   It's now possible to use "notmuch new" as a notmuch-poll-script
227   directly. This is also the new default. This allows taking better
228   advantage of the "notmuch new" hooks from emacs without intermediate
229   scripts.
230
231 Improvements in saved search management
232
233   New saved searches are now appended to the list of saved searches,
234   not inserted in front. It's also possible to define a sort function
235   for displaying saved searches; alphabetical sort is provided.
236
237 Hooks for notmuch-hello
238
239   Two new hooks have been added: "notmuch-hello-mode-hook" (called after
240   entering notmuch-hello-mode) and "notmuch-hello-refresh-hook" (called
241   after updating a notmuch-hello buffer).
242
243 New face for crypto parts headers
244
245   Crypto parts used to be displayed with a hardcoded color. A new face
246   has been introduced to fix this: notmuch-crypto-part-header. It
247   defaults to the same value as before, but can be customized to match
248   other color themes.
249
250 Use space as default thousands separator
251
252   Large numbers in notmuch-hello are now displayed using a space as
253   thousands separator (e.g. "123 456" instead of "123,456"). This can be
254   changed by customizing "notmuch-hello-thousands-separator".
255
256 Call notmuch-show instead of notmuch-search when clicking on
257 buttonized id: links.
258
259 New function notmuch-show-advance
260
261   This new function advances through just the current thread, and is
262   less invasive than notmuch-show-advance-and-archive.  It can easily
263   be bound to SPC with:
264
265   (define-key notmuch-show-mode-map " " 'notmuch-show-advance)
266
267 Various performance improvements.
268
269 New add-on tool
270 ---------------
271
272 The tool contrib/notmuch-deliver helps with initial delivery and
273 tagging of mail (replacing running notmuch new).
274
275
276 Notmuch 0.10.2 (2011-12-04)
277 ===========================
278
279 Bug-fix release.
280 ----------------
281
282 Fix crash in python bindings.
283
284   The python bindings did not call g_type_init, which caused crashes
285   for some, but not all users.
286
287 Notmuch 0.10.1 (2011-11-25)
288 ===========================
289
290 Bug-fix release.
291 ----------------
292
293 Fix --help argument
294
295   Argument processing changes in 0.10 introduced a bug where "notmuch
296   --help" crashed while "notmuch help" worked fine. This is fixed in
297   0.10.1.
298
299 Notmuch 0.10 (2011-11-23)
300 =========================
301
302 New build and testing features
303 ------------------------------
304
305 Emacs tests are now done in dtach. This means that dtach  is now
306 needed to run the notmuch test suite, at least until the checking for
307 prerequisites is improved.
308
309 Full test coverage of the stashing feature in Emacs.
310
311 New command-line features
312 -------------------------
313
314 Add "notmuch restore --accumulate" option
315
316   The --accumulate switch causes the union of the existing and new tags to be
317   applied, instead of replacing each message's tags as they are read in from
318   the dump file.
319
320 Add search terms to  "notmuch dump"
321
322   The dump command now takes an optional search term much like notmuch
323   search/show/tag. The output file argument of dump is deprecated in
324   favour of using stdout.
325
326 Add "notmuch search" --offset and --limit options
327
328   The search command now takes options --offset=[-]N and --limit=N to limit
329   the number of results shown.
330
331 Add "notmuch count --output" option
332
333   The count command is now capable of counting threads in addition to
334   messages. This is selected using the new --output=(threads|messages) option.
335
336 New emacs UI features
337 ---------------------
338
339 Add tab-completion for notmuch-search and notmuch-search-filter
340
341   These functions now support completion tags for query parts
342   starting with "tag:".
343
344 Turn "id:MSG-ID" links into buttons associated with notmuch searches
345
346   Text of the form "id:MSG-ID" in mails is now a clickable button that
347   opens a notmuch search for the given message id.
348
349 Add keybinding ('c I') for stashing Message-ID's without an id: prefix
350
351   Reduces manual labour when stashing them for use outside notmuch.
352
353 Do not query on notmuch-search exit
354
355   It is harmless to kill the external notmuch process, so the user
356   is no longer interrogated when they interrupt a search.
357
358 Performance
359 -----------
360
361 Emacs now constructs large search buffers more efficiently
362
363 Search avoids opening and parsing message files
364
365   We now store more information in the database so search no longer
366   has to open every message file to get basic headers.  This can
367   improve search speed by as much as 10X, but taking advantage of this
368   requires a database rebuild:
369
370         notmuch dump > notmuch.dump
371         # Backup, then remove notmuch database ($MAIL/.notmuch)
372         notmuch new
373         notmuch restore notmuch.dump
374
375 New collection of add-on tools
376 ------------------------------
377
378 The source directory "contrib" contains tools built on notmuch.  These
379 tools are not part of notmuch, and you should check their individual
380 licenses.  Feel free to report problems with them to the notmuch
381 mailing list.
382
383 nmbug - share tags with a given prefix
384
385   nmbug helps maintain a git repo containing all tags with a given
386   prefix (by default "notmuch::"). Tags can be shared by commiting
387   them to git in one location and restoring in another.
388
389 Notmuch 0.9 (2011-10-01)
390 ========================
391
392 New, general features
393 ---------------------
394
395 Correct handling of interruptions during "notmuch new"
396
397   "notmuch new" now operates as a series of small, self-consistent
398   transactions, so it can correctly resume after an interruption or
399   crash.  Previously, interruption could lose existing tags, fail to
400   detect messages on resume, or leave the database in a state
401   temporarily or permanently inconsistent with the mail store.
402
403 Library changes
404 ---------------
405
406 New functions
407
408   notmuch_database_begin_atomic and notmuch_database_end_atomic allow
409   multiple database operations to be performed atomically.
410
411   notmuch_database_find_message_by_filename does exactly what it says.
412
413 API changes
414
415   notmuch_database_find_message (and n_d_f_m_by_filename) now return
416   a status indicator and uses an output parameter for the
417   message. This change required changing the SONAME of libnotmuch to
418   libnotmuch.so.2
419
420 Python bindings changes
421 -----------------------
422
423   - Re-encode python unicode objects to utf-8 before passing back to
424     libnotmuch.
425   - Support Database().begin_atomic()/end_atomic()
426   - Support Database().find_message_by_filename()
427     NB! This needs a db opened in READ-WRITE mode currently, or it will crash
428     the python process. The is a limitation (=bug) of the underlying libnotmuch.
429   - Fixes where we would not throw NotmuchErrors when we should (Justus Winter)
430   - Update for n_d_find_message* API changes (see above).
431
432 Ruby bindings changes
433 ---------------------
434
435   - Wrap new library functions notmuch_database_{begin,end}_atomic.
436   - Add new exception Notmuch::UnbalancedAtomicError.
437   - Rename destroy  to destroy! according to Ruby naming conventions.
438   - Update for n_d_find_message* API changes (see above).
439
440 Emacs improvements
441 ------------------
442
443   * Add gpg callback to crypto sigstatus buttons to retrieve/refresh
444     signing key.
445   * Add notmuch-show-refresh-view function (and corresponding binding)
446     to refresh the view of a notmuch-show buffer.
447
448 Reply formatting cleanup
449 ------------------------
450
451   "notmuch reply" no longer includes notification that non-leafnode
452   MIME parts are being suppressed.
453
454 Notmuch 0.8 (2011-09-10)
455 ========================
456
457 Improved handling of message/rfc822 parts
458
459   Both in the CLI and the emacs interface.  Output of rfc822 parts now
460   includes the primary headers, as well as the body and all subparts.
461   Output of the completely raw rfc822-formatted message, including all
462   headers, is unfortunately not yet supported (but hopefully will be
463   soon).
464
465 Improved Build system portability
466
467   Certain parts of the shell script generating notmuch.sym were
468   specific to the GNU versions of sed and nm. The new version should
469   be more portable to e.g. OpenBSD.
470
471 Documentation update for Ruby bindings
472
473   Added documentation, typo fixes, and improved support for rdoc.
474
475 Unicode, iterator, PEP8 changes for python bindings
476
477   - PEP8 (code formatting) changes for python files.
478   - Remove Tags.__len__ ; see 0.6 release notes for motivation.
479   - Decode headers as UTF8, encode (unicode) database paths as UTF8.
480
481 Notmuch 0.7 (2011-08-01)
482 ========================
483
484 Vim interface improvements
485 --------------------------
486
487 Jason Woofenden provided a number of bug fixes for the Vim interface
488
489   * fix citation/signature fold lengths
490   * fix cig/cit parsing within multipart/*
491   * fix on-screen instructions for show-signature
492   * fix from list reformatting in search view
493   * fix space key: now archives (did opposite)
494
495 Uwe Kleine-König contributed
496
497   * use full path for sendmail/doc fix
498   * fix compose temp file name
499
500 Python Bindings changes
501 -----------------------
502
503 Sebastian Spaeth contributed two changes related to unicode and UTF8:
504
505   * message tags are now explicitly unicode
506   * query string is encoded as a UTF8 byte string
507
508 Build-System improvements
509 ------------------------
510
511 Generate notmuch.sym after the relevant object files
512
513   This fixes a bug in parallel building. Thanks to Thomas Jost for the
514   patch.
515
516 Notmuch 0.6.1 (2011-07-17)
517 ==========================
518
519 Bug-fix release.
520 ----------------
521
522 Re-export Xapian exception typeinfo symbols.
523
524   It turned out our aggressive symbol hiding caused problems for
525   people running gcc 4.4.5.
526
527 Notmuch 0.6 (2011-07-01)
528 =======================
529 New, general features
530 ---------------------
531 Folder-based searching
532
533   Notmuch queries can now include a search term to match the
534   directories in which mail files are stored (within the mail
535   storage). The syntax is as follows:
536
537         folder:<path>
538
539   For example, one might use things such as:
540
541         folder:spam
542         folder:2011-*
543         folder:work/todo
544
545   to match any path containing a directory "spam", "work/todo", or
546   containing a directory starting with "2011-", respectively.
547
548   This feature is particularly useful for users of delivery-agent
549   software (such as procmail or maildrop) that is filtering mail and
550   delivering it to particular folders, or users of systems such as
551   Gmail that use filesystem directories to indicate message tags.
552
553   NOTE: Only messages that are newly indexed with this version of
554   notmuch will be searchable with folder: terms. In order to enable
555   this feature for all mail, the entire notmuch index will need to be
556   rebuilt as follows:
557
558         notmuch dump > notmuch.dump
559         # Backup, then remove notmuch database ($MAIL/.notmuch)
560         notmuch new
561         notmuch restore notmuch.dump
562
563 Support for PGP/MIME
564
565   Both the command line interface and the emacs-interface have new
566   support for PGP/MIME, detailed below. Thanks to Daniel Kahn Gillmor
567   and Jameson Graef Rollins for making this happen.
568
569 New, automatic tags: "signed" and "encrypted"
570
571   These tags will automatically be applied to messages containing
572   multipart/signed and multipart/encrypted parts.
573
574   NOTE: Only messages that are newly indexed with this version of
575   notmuch will receive these tags.
576
577 New command-line features
578 -------------------------
579 Add new "notmuch show --verify" option for signature verification
580
581   This option instruct notmuch to verify the signature of
582   PGP/MIME-signed parts.
583
584 Add new "notmuch show --decrypt" and "notmuch reply --decrypt" options
585
586   This option instructs notmuch to decrypt PGP/MIME-encrypted parts.
587   Note that this feature currently requires gpg-agent and a passphrase entry
588   tool (e.g. pinentry-gtk or pinentry-curses).
589
590 Proper nesting of multipart parts in "notmuch show" output
591
592   MIME parts are now display with proper nesting to reflect original
593   MIME hierarchy of a message. This allows clients to correctly
594   analyze the MIME structure, (such as, for example, determining to
595   which parts a signature part applies).
596
597 Add new "notmuch show --part" option
598
599   This is a replacement for the older "notmuch part" command, (which
600   is now deprecated—it should still work as always, but is no longer
601   documented). Putting part output under "notmuch show" allows for all
602   of the "notmuch show" options to be applied when extracting a single
603   part, (such as --format=json for extracting a message part with JSON
604   formatting).
605
606 Deprecate "notmuch search-tags", (in favor of "notmuch search --output=tags *")
607
608   The "notmuch search-tags" sub-command has been redundant since the
609   addition of the --output=tags option to "notmuch search". We now
610   make that more clear by deprecating "notmuch search-tags", (dropping
611   it from the documentation). We do continue to support the old syntax
612   by translating it internally to the new call.
613
614 Performance improvements
615 ------------------------
616 Faster searches (by doing fewer searches to construct threads)
617
618   Whenever a user asks for search results as threads, notmuch first
619   performs a search for messages matching the query, then performs
620   additional searches to find other messages in the resulting threads.
621
622   Removing inefficiencies and redundancies in these secondary searches
623   results in a measured speedups of 1.5x for a typical search.
624
625 Faster searches (by doing fewer passes to gather message data)
626
627   Optimizing Xapian data access patterns (using a single pass to get
628   all message-document data rather than a pass for each data type)
629   results in a measured speedup of 1.7x for a typical search.
630
631   The benefits of this optimization combine with the preceding
632   optimization. With both in place, Austin Clements measured a speedup
633   of 2.5x for a search of all messages in his inbox (was 4.5s, now
634   1.8s). Thanks, Austin!
635
636 Faster initial indexing
637
638   More efficient indexing of new messages results in a measured
639   speedup of 1.4x for the initial indexing of 3 GB of mail (1h 14m
640   rather than 1h 46m). Thanks to Austin Clements and Michal Sojka.
641
642 Make "notmuch new" faster for unchanged directories
643
644   Optimizing to not do any further examinations of sub-directories
645   when the filesystem indicates that a directory is unchanged from the
646   last "notmuch new" results in measured speedups of 8.5 for the "No
647   new mail" case, (was 0.77s, now 0.09s). Thanks to Karel Zak.
648
649 New emacs-interface features
650 ----------------------------
651
652 Support for PGP/MIME (GnuPG)
653
654   Automatically indicate validity of signatures for multipart/signed
655   messages.  Automatically display decrypted content for
656   multipart/encrypted messages.  See the emacs variable
657   notmuch-crypto-process-mime for more information. Note that this
658   needs gpg-agent and a pinentry tool just as the command line tools.
659   Also note there is no support SMIME yet.
660
661 Output of pipe command is now displayed if pipe command fails
662
663   This is extremely useful in the common use case of piping a patch to
664   "git am". If git fails to cleanly merge the patch the error messages
665   from the failed merge are now clearly displayed to the user, (where
666   previously they were silently hidden from the user).
667
668 User-selectable From address
669
670   A user can choose which configured email addresses should be used as
671   the From address whenever composing a new message. To do so, simply
672   press C-u before the command which will open a new message. Emacs
673   will prompt for the from address to use.
674
675   The user can customize the "Notmuch Identities" setting in the
676   notmuch customize group in order to use addresses other than those in
677   the notmuch configuration file if desired.
678
679   The user can also choose to always be prompted for the from address
680   when composing a new message (without having to use C-u) by setting
681   the "Notmuch Always Prompt For Sender" option in the notmuch
682   customize group.
683
684 Hiding of repeated subjects in collapsed thread view
685
686   In notmuch-show mode, if a collapsed message has the same subject as
687   its parent, the subject is not shown.
688
689 Automatic detection and hiding of original message in top-posted message
690
691   When a message contains a line looking something like:
692
693         ----- Original Message -----
694
695   emacs hides this and all subsequent lines as an "original message",
696   (allowing the user to click or press enter on the "original message"
697   button to display it again). This makes the handling of top-posted
698   citations work much like conventional citations.
699
700 New hooks for running code when tags are modified
701
702   Some users want to perform additional actions whenever a particular
703   tag is added/removed from a message. This could be used to, for
704   example, interface with some external spam-recognition training
705   tool. To facilitate this, two new hooks are added which can be
706   modified in the following settings of the notmuch customize group:
707
708         Notmuch Before Tag Hook
709         Notmuch After Tag Hook
710
711 New optional support for hiding some multipart/alternative parts
712
713   Many emails are sent with redundant content within a
714   multipart/alternative group (such as a text/plain part as well as a
715   text/html part). Users can configure the setting:
716
717         Notmuch Show All Multipart/Alternative Parts
718
719   to "off" in the notmuch customize group to have the interface
720   automatically hide some part alternatives (such as text/html
721   parts). This new part hiding is not configured by default yet
722   because there's not yet a simple way to re-display such a hidden
723   part if it is not actually redundant with a displayed part.
724
725 Better rendering of text/x-vcalendar parts
726
727   These parts are now displayed in a format suitable for use with the
728   emacs diary.
729
730 Avoid getting confused by Subject and Author fields with newline characters
731
732   Replacing all characters with ASCII code less than 32 with a question mark.
733
734 Cleaner display of From line in email messages (remove double quotes,
735 and drop "name" if it's actually just a repeat of the email address).
736
737 Vim interface improvements
738 --------------------------
739 Felipe Contreras provided a number of updates for the vim interface:
740
741   * Using sendmail directly rather than mailx,
742   * Implementing archive in show view
743   * Add support to mark as read in show and search views
744   * Add delete commands
745   * Various cleanups.
746
747 Bindings improvements
748 ---------------------
749 Ruby bindings are now much more complete
750
751   Including QUERY.sort, QUERY.to_s, MESSAGE.maildir_flags_to_tags,
752   MESSAGE.tags_to_maildir_flags, and MESSAGE.get_filenames
753
754 * Python bindings have been updated and extended
755   (docs online at http://packages.python.org/notmuch/)
756
757   New bindings:
758   - Message().get_filenames(),
759   - Message().tags_to_maildir_flags(),Message().maildir_flags_to_tags()
760   - list(Threads()) and list(Messages) works now
761
762   - Message().__cmp__() and __hash__()
763   These allow, for example:
764         if msg1 == msg2: ...
765
766   As well as set arithmetic on Messages():
767
768         s1, s2= set(msgs1), set(msgs2)
769         s1.union(s2)
770         s2 -= s1
771
772   Removed:
773      - len(Messages()) as it exhausted the iterator.
774        Use len(list(Messages())) or
775        Query.count_messages() to get the length.
776
777 Added initial Go bindings in bindings/go
778
779 New build-system features
780 -------------------------
781 Added support for building in a directory other than the source directory
782
783   This can be used with the widely-supported idiom of simply running
784   the configure script from some other directory:
785
786         mkdir build
787         cd build
788         ../configure
789         make
790
791 Fix to save configure options for future, implicit runs of configure
792
793   When a user updates the source (such as with "git pull") calling
794   "make" may cause an automatic re-run of the configure script. When
795   this happens, the configure script will automatically be called with
796   the same options the user originally passed in the most-recent
797   manual invocation of configure.
798
799 New test-suite feature
800 ----------------------
801 Binary for bash for running test suite now located via PATH.
802
803   The notmuch test suite requires a fairly recent version of bash (>=
804   bash 4). As some systems supply an older version of bash at
805   /bin/bash, the test suite is now updated to search $PATH to locate
806   the bash binary. This allows users of systems with old /bin/bash to
807   simply install bash >= 4 somewhere on $PATH before /bin and then use
808   the test suite.
809
810 Support for testing output with a trailing newline.
811
812   Previously, some tests would fail to notice a difference in the
813   presence/absence of a trailing newline in a program output, (which
814   has led to bugs in the past). Now, carefully-written tests (using
815   test_expect_equal_file rather than test_expect_equal) will detect
816   any change in the presence/absence of a trailing newline. Many tests
817   are updated to take advantage of this.
818
819 Avoiding accessing user's $HOME while running test suite
820
821   The test suite now carefully creates its own HOME directory. This
822   allows the test suite to be run with no existing HOME directory, (as
823   some build systems apparently do), and avoids test-suite differences
824   due to configuration files in the users HOME directory.
825
826
827 General bug fixes
828 -----------------
829 Output *all* files for "notmuch search --output=files"
830
831   For the cases where multiple files have the same Message ID,
832   previous versions of notmuch would output only one such file. This
833   command is now fixed to correctly output all files.
834
835 Fixed spurious search results from "overlapped" indexing of addresses
836
837   This fixed a bug where a search for:
838
839         to:user@elsewhere.com
840
841   would incorrectly match a message sent:
842
843         To: user@example,com, someone@elsewhere.com
844
845 Fix --output=json when search has no results
846
847   A bug present since notmuch 0.4 had caused searches with no results
848   to produce an invalid json object. This is now fixed to cleanly
849   return a valid json object representing an empty array "[]" as
850   expected.
851
852 fix the automatic detection of the From address for "notmuch reply"
853 from the Received headers in some cases.
854
855 Fix core dump on DragonFlyBSD due to -1 return value from
856 sysconf(_SC_GETPW_R_SIZE_MAX).
857
858 Cleaned up several memory leaks
859
860 Eliminated a few, rare segmentation faults and a double-free.
861
862 Fix libnotmuch library to only export notmuch API functions
863
864   Previous release of the notmuch library also exported some Xapian
865   C++ exception type symbols. These were never part of the library
866   interface and were never intended to be exported.
867
868 Emacs-interface bug fixes
869 -------------------------
870 Display any unexpected output or errors from "notmuch search" invocations
871
872   Previously any misformatted output or trailing error messages were
873   silently ignored. This output is now clearly displayed. This fix was
874   very helpful in identifying and fixing the bug described below.
875
876 Fix bug where some threads would be missing from large search results
877
878   When a search returned a "large" number of results, the emacs
879   interface was incorrectly dropping one thread every time the output
880   of the "notmuch search" process spanned the emacs read-buffer. This
881   is now fixed.
882
883 Avoid re-compression of .gz files (and similar) when saving attachment
884
885   Emacs was being too clever for its own good and trying to
886   re-compress pre-compressed .gz files when saving such attachments
887   (potentially corrupting the attachment). The emacs interface is
888   fixed to avoid this bug.
889
890 Fix hiding of a message when a previously-hidden citation is visible
891
892   Previously the citation would remain visible in this case. This is
893   fixed so that hiding a message hides all parts.
894
895 Notmuch 0.5 (2010-11-11)
896 ========================
897 New, general features
898 ---------------------
899 Maildir-flag synchronization
900
901   Notmuch now knows how to synchronize flags in maildir filenames with
902   tags in the notmuch database. The following flag/tag mappings are
903   supported:
904
905         Flag <-> Tag
906         ----     -----
907         'D'      draft
908         'F'      flagged
909         'P'      passed
910         'R'      replied
911         'S'      unread (added when 'S' flag is not present)
912
913   The synchronization occurs in both directions, (for example, adding
914   the 'S' flag to a file will cause the "unread" tag to be added, and
915   adding the "replied" tag to a message will cause the file to be
916   renamed with an 'R' flag).
917
918   This synchronization is enabled by default for users of the
919   command-line interface, (though only files in directories named
920   "cur" or "new" will be renamed). It can be disabled by setting the
921   new maildir.synchronize_flags option in the configuration file. For
922   example:
923
924         notmuch config set maildir.synchronize_flags false
925
926   Users upgrading may also want to run "notmuch setup" once (just
927   accept the existing configuration) to get a new, nicely-commented
928   [maildir] section added to the configuration file.
929
930   For users of the notmuch library, the new synchronization
931   functionality is available with the following two new functions:
932
933         notmuch_message_maildir_flags_to_tags
934         notmuch_message_tags_to_maildir_flags
935
936   It is anticipated that future improvements to this support will
937   allow for safe synchronization of the 'T' flag with the "deleted"
938   tag, as well as support for custom flag/tag mappings.
939
940 New library features
941 --------------------
942 Support for querying multiple filenames for a single message
943
944   It is common for the mailstore to contain multiple files with the
945   same message ID. Previously, notmuch would always hide these
946   duplicate files, (returning a single, arbitrary filename with
947   notmuch_message_get_filename).
948
949   With this release, library users can access all filenames for a
950   message with the new function:
951
952         notmuch_message_get_filenames
953
954   Together with notmuch_filenames_valid, notmuch_filenames_get, and
955   notmuch_filenames_move_to_next it is now possible to iterate over
956   all available filenames for a given message.
957
958 New command-line features
959 -------------------------
960 New "notmuch show --format=raw" for getting at original email contents
961
962   This new feature allows for a fully-functional email client to be
963   built on top of the notmuch command-line without needing any direct
964   access to the mail store itself.
965
966   For example, it's now possible to run "emacs -f notmuch" on a local
967   machine with only ssh access to the mail store/notmuch database. To
968   do this, simply set the notmuch-command variable in emacs to the
969   name of a script containing:
970
971         ssh user@host notmuch "$@"
972
973   If the ssh client has enabled connection sharing (ControlMaster
974   option in OpenSSH), the emacs interface can be quite responsive this
975   way.
976
977 General bug fixes
978 -----------------
979 Fix "notmuch search" to print nothing when nothing matches
980
981   The 0.4 release had a bug in which:
982
983         notmuch search <expression-with-no-matches>
984
985   would produce a single blank line of output, (where previous
986   versions would produce no output. This fix also causes a change in
987   the --format=json output, (which would previously produce "[]" and
988   now produces nothing).
989
990 Emacs interface improvements
991 ----------------------------
992 Fix to allow pipe ('|') command to work when using notmuch over ssh
993
994 Fix count of lines in hidden signatures.
995
996 Omit repeated subject lines in (collapsed) thread display.
997
998 Display current thread subject in a header line.
999
1000 Provide a "c i" binding to copy a thread ID from the search view.
1001
1002 Allow for notmuch-fcc-dirs to have a value of nil.
1003
1004   Also, the more complex form of notmuch-fcc-dirs now has a slightly
1005   different format. It no longer has a special first-element, fallback
1006   string. Instead it's now a list of cons cells where the car of each
1007   cell is a regular expression to be matched against the sender
1008   address, and the cdr is the name of a folder to use for an FCC. So
1009   the old fallback behavior can be achieved by including a final cell
1010   of (".*" . "default-fcc-folder").
1011
1012 Vim interface improvements
1013 --------------------------
1014 Felipe Contreras provided a number of updates for the vim interface.
1015
1016   These include optimizations, support for newer versions of vim, fixed
1017   support for sending mail on modern systems, new commands, and
1018   various cleanups.
1019
1020 New bindings
1021 ------------
1022 Added initial ruby bindings in bindings/ruby
1023
1024 Notmuch 0.4 (2010-11-01)
1025 ========================
1026 New command-line features
1027 -------------------------
1028 notmuch search --output=(summary|threads|messages|tags|files)
1029
1030   This new option allows for particular items to be returned from
1031   notmuch searches. The "summary" option is the default and behaves
1032   just as "notmuch search" has historically behaved.
1033
1034   The new option values allow for thread IDs, message IDs, lists of
1035   tags, and lists of filenames to be returned from searches. It is
1036   expected that this new option will be very useful in shell
1037   scripts. For example:
1038
1039         for file in $(notmuch search --output=files <search-terms>); do
1040                 <operations-on> "$file"
1041         done
1042
1043 notmuch show --format=mbox <search-specification>
1044
1045   This new option allows for the messages matching a search
1046   specification to be presented as an mbox. Specifically the "mboxrd"
1047   format is used which allows for reversible quoting of lines
1048   beginning with "From ". A reader should remove a single '>' from the
1049   beginning of all lines beginning with one or more '>' characters
1050   followed by the 5 characters "From ".
1051
1052 notmuch config [get|set] <section>.<item> [value ...]
1053
1054   The new top-level "config" command allows for any value in the
1055   notmuch configuration file to be queried or set to a new value. Both
1056   single-valued and multi-valued items are supported, as our any
1057   custom items stored in the configuration file.
1058
1059 Avoid setting Bcc header in "notmuch reply"
1060
1061   We decided that this was a bit heavy-handed as the actual mail
1062   user-agent should be responsible for setting any Bcc option. Also,
1063   see below for the notmuch/emacs user-agent now setting an Fcc by
1064   default rather than Bcc.
1065
1066 New library features
1067 --------------------
1068 Add notmuch_query_get_query_string and notmuch_query_get_sort
1069
1070   These are simply functions for querying properties of a
1071   notmuch_query_t object.
1072
1073 New emacs features
1074 ------------------
1075 Enable Fcc of all sent messages by default (to "sent" directory)
1076
1077   All messages sent from the emacs interface will now be saved to the
1078   notmuch mail store where they will be incorporated to the database
1079   by the next "notmuch new". By default, messages are saved to the
1080   "sent" directory at the top-level of the mail store. This directory
1081   can be customized by means of the "Notmuch Fcc Dirs" option in the
1082   notmuch customize interface.
1083
1084 Ability to all open messages in a thread to a pipe
1085
1086   Historically, the '|' keybinding allows for piping a single message
1087   to an external command. Now, by prefixing this key with a prefix
1088   argument, (for example, by pressing "Control-U |"), all open
1089   messages in the current thread will be sent to the external command.
1090
1091 Optional support for detecting inline patches
1092
1093   This hook is disabled by default but can be enabled with a checkbox
1094   under "Notmuch Show Insert Text/Plain Hook" in the notmuch customize
1095   interface. It allows for inline patches to be detected and treated
1096   as if they were attachments, (with context-sensitive highlighting).
1097
1098 Automatically tag messages as "replied" when sending a reply
1099
1100   Messages replied to within the emacs interface will now be tagged as
1101   "replied". This feature can easily be customized to add or remove
1102   other tags as well. For example, a user might use a tag of
1103   "needs-reply" and can configure this feature to automatically remove
1104   that tag when replying. See "Notmuch Message Mark Replied" in the
1105   notmuch customize interface.
1106
1107 Allow search-result color specifications to overlay each other
1108
1109   For example, one tag can specify the background color of matching
1110   lines, while another can specify the foreground. With this change,
1111   both settings will now be visible simultaneously, (which was not the
1112   case in previous releases). See "Notmuch Search Line Faces" in the
1113   notmuch customize interface.
1114
1115 Make hidden author names still available for incremental search.
1116
1117   When there is insufficient space to display all authors of a thread
1118   in search results, the names of hidden authors are now still made
1119   available to emacs' incremental search commands. As the user
1120   searches, matching lines will temporarily expand to show the hidden
1121   names.
1122
1123 New binding of Control-TAB (works like TAB in reverse)
1124
1125   Many notmuch nodes already use TAB to navigate forward through
1126   various items allowing actions, (message headers, email attachments,
1127   etc.). The new Control-TAB binding operates similarly but in the
1128   opposite direction.
1129
1130 New build-system features
1131 -------------------------
1132 Various portability fixes have been applied
1133
1134   These include fixes for build failures on at least Solaris, FreeBSD,
1135   and Fedora systems. We're hopeful that the notmuch code base is now
1136   more portable than ever before.
1137
1138 Arrange for libnotmuch to be found automatically after make install
1139
1140   The notmuch build system is now careful to help the user avoid
1141   errors of the form "libnotmuch.so could not be found" immediately
1142   after installing. This support takes two forms:
1143
1144         1. If the library is installed to a system directory,
1145            (configured in /etc/ld.so.conf), then "make install" will
1146            automatically run ldconfig.
1147
1148         2. If the library is installed to a non-system directory, the
1149            build system adds a DR_RUNPATH entry to the final binary
1150            pointing to the directory to which the library is installed.
1151
1152   When this support works, the user should be able to run notmuch
1153   immediately after "make install", without any errors trying to find
1154   the notmuch library, and without having to manually set environment
1155   variables such as LD_LIBRARY_PATH.
1156
1157 Check compiler/linker options before using them
1158
1159   The configure script now carefully checks that any desired
1160   compilation options, (whether for enabling compiler warnings, or for
1161   embedding rpath, etc.), are supported. Only supported options are
1162   used in the resulting Makefile.
1163
1164 New test-suite features
1165 -----------------------
1166 New modularization of test suite.
1167
1168   Thanks to a gracious relicensing of the test-suite infrastructure
1169   from the git project, notmuch now has a modular test suite. This
1170   provides the ability to run individual sections of the test suite
1171   rather than the whole things. It also provides better summary of
1172   test results, with support for tests that are expected to fail
1173   (BROKEN and FIXED) in addition to PASS and FAIL. Finally, it makes
1174   it easy to run the test suite within valgrind (pass --valgrind to
1175   notmuch-test or to any sub-script) which has been very useful.
1176
1177 New testing of emacs interface.
1178
1179   The test suite has been augmented to allow automated testing of the
1180   emacs interfaces. So far, this includes basic searches, display of
1181   threads, and tag manipulation. This also includes a test that a new
1182   message can successfully be sent out through a (dummy) SMTP server
1183   and that said message is successfully integrated into the notmuch
1184   database via the FCC setting.
1185
1186 General bug fixes
1187 -----------------
1188 Fix potential corruption of database when "notmuch new " is interrupted.
1189
1190   Previously, an interruption of "notmuch new" would (rarely) result
1191   in a corrupt database. The corruption would manifest itself by a
1192   persistent error of the form:
1193
1194         document ID of 1234 has no thread ID
1195
1196   The message-adding code has been carefully audited and reworked to
1197   avoid this sort of corruption regardless of when it is interrupted.
1198
1199 Fix failure with extremely long message ID headers.
1200
1201   Previously, a message with an extremely long message ID, (say, more
1202   than 300 characters), would fail to be added to notmuch, (triggering
1203   Xapian exceptions). This has now been fixed.
1204
1205 Fix for messages with "charset=unknown-8bit"
1206
1207   Previously, messages with this charset would cause notmuch to emit a
1208   GMime warning, (which would then trip up emacs or other interfaces
1209   parsing the notmuch results).
1210
1211 Fix notmuch_query_search_threads function to return NULL on any exception
1212
1213 Fix "notmuch search" to return non-zero if notmuch_query_search_threads fails
1214
1215   Previously, this command could confusingly report a Xapian
1216   exception, yet still return an error code of 0. It now correctly
1217   returns a failing error code of 1 in this case.
1218
1219 Emacs bug fixes
1220 ---------------
1221 Fix to handle a message with a subject containing, for example "[1234]"
1222
1223   Previously, a message subject containing a sequence of digits within
1224   square brackets would cause the emacs interface to mis-parse the
1225   output of "notmuch search". This would result in the message being
1226   mis-displayed and prevent the user from manipulating the message in
1227   the emacs interface.
1228
1229 Fix to correctly handle message IDs containing ".."
1230
1231   The emacs interface now properly quotes message IDs to avoid a
1232   Xapian bug in which the ".." within a message ID would be
1233   misinterpreted as a numeric range specification.
1234
1235 Python-binding fixes
1236 --------------------
1237 The python bindings for notmuch have been updated to work with python3.
1238
1239 Debian-specific fixes
1240 ---------------------
1241 Fix emacs initialization so "M-x notmuch" works for users by default.
1242
1243   Now, a new Debian user can immediately run "emacs -f notmuch" after
1244   "apt-get install notmuch". Previously, the user would have had to
1245   edit the ~/.emacs file to add "(require 'notmuch)" before this would
1246   work.
1247
1248 Notmuch 0.3.1 (2010-04-27)
1249 ==========================
1250 General bug fixes
1251 -----------------
1252 Fix an infinite loop in "notmuch reply"
1253
1254   This bug could be triggered by replying to a message where the
1255   user's primary email address did not appear in the To: header and
1256   the user had not configured any secondary email addresses. The bug
1257   was a simple re-use of the same iterator variable in nested loops.
1258
1259 Fix a potential SEGV in "notmuch search"
1260
1261   This bug could be triggered by an author name ending in a ','.
1262   Admittedly - that's almost certainly a spam email, but we never
1263   want notmuch to crash.
1264
1265 Emacs bug fixes
1266 ---------------
1267 Fix calculations for line wrapping in the primary "notmuch" view.
1268
1269 Fix Fcc support to prompt to create a directory if the specified Fcc
1270 directory does not exist.
1271
1272 Build fix
1273 ---------
1274 Fix build on OpenSolaris (at least) due to missing 'extern "C"' block.
1275
1276   Without this, the C++ sources could not find strcasestr and the
1277   final linking of notmuch would fail.
1278
1279 Notmuch 0.3 (2010-04-27)
1280 ========================
1281 New command-line features
1282 -------------------------
1283 User-configurable tags for new messages
1284
1285   A new "new.tags" option is available in the configuration file to
1286   determine which tags are applied to new messages. Run "notmuch
1287   setup" to generate new documentation within ~/.notmuch-config on how
1288   to specify this value.
1289
1290 Threads search results named based on subjects that match search
1291
1292   This means that when new mails arrived to a thread you've previously
1293   read, and the new mails have a new subject, you will see that
1294   subject in the search results rather than the old subject.
1295
1296 Faster operation of "notmuch tag" (avoid unneeded sorting)
1297
1298   Since the user just wants to tag all matching messages, we can make
1299   things perform a bit faster by avoiding the sort.
1300
1301 Even Better guessing of From: header for "notmuch reply"
1302
1303   Notmuch now looks at a number of headers when trying to figure out
1304   the best From: header to use in a reply. This is helpful if you have
1305   several configured email addresses, and you also subscribe to various
1306   mailing lists with different addresses, (so that mails you are
1307   replying to won't always include your subscribed address in the To:
1308   header).
1309
1310 Indication of author names that match a search
1311
1312   When notmuch displays threads as the result of a search, it now
1313   lists the authors that match the search before listing the other
1314   authors in the thread. It inserts a pipe '|' symbol between the last
1315   matching and first non-matching author. This is especially useful in
1316   a search that includes tag:unread. Now the authors of the unread
1317   messages in the thread are listed first.
1318
1319 New: Python bindings
1320 --------------------
1321 Sebastian Spaeth has contributed his python bindings for the notmuch
1322 library to the central repository. These bindings were previously
1323 known as "cnotmuch" within python but have now been renamed to be
1324 accessible with a simple, and more official-looking "import notmuch".
1325
1326 The bindings have already proven very useful as people proficient in
1327 python have been able to easily develop programs to do notmuch-based
1328 searches for email-address completion, maildir-flag synchronization,
1329 and other tasks.
1330
1331 These bindings are available within the bindings/python directory, but
1332 are not yet integrated into the top-level Makefiles, nor the top-level
1333 package-building scripts. Improvements are welcome.
1334
1335 Emacs interface improvements
1336 ----------------------------
1337 An entirely new initial view for notmuch, (friendly yet powerful)
1338
1339   Some of us call the new view "notmuch hello" but you can get at it
1340   by simply calling "emacs -f notmuch". The new view provides a search
1341   bar where new searches can be performed. It also displays a list of
1342   recent searches, along with a button to save any of these, giving it
1343   a new name as a "saved search". Many people find these "saved
1344   searches" one of the most convenient ways of organizing their mail,
1345   (providing all of the features of "folders" in other mail clients,
1346   but without any of the disadvantages).
1347
1348   Finally, this view can also optionally display all of the tags that
1349   exist in the database, along with a count for each tag, and a custom
1350   search of messages with that tag that's simply a click (or keypress)
1351   away.
1352
1353   Note: For users that liked the original mode of "emacs -f notmuch"
1354         immediately displaying a particular search result, we
1355         recommend instead running something like:
1356
1357                 emacs --eval '(notmuch search "tag:inbox" t)'
1358
1359         The "t" means to sort the messages in an "oldest first" order,
1360         (as notmuch would do previously by default). You can also
1361         leave that off to have your search results in "newest first"
1362         order.
1363
1364 Full-featured "customize" support for configuring notmuch
1365
1366   Notmuch now plugs in well to the emacs "customize" mode to make it
1367   much simpler to find things about the notmuch interface that can be
1368   tweaked by the user.
1369
1370   You can get to this mode by starting at the main "Customize" menu in
1371   emacs, then browsing through "Applications", "Mail", and
1372   "Notmuch". Or you can go straight to "M-x customize-group"
1373   "notmuch".
1374
1375   Once you're at the customize screen, you'll see a list of documented
1376   options that can be manipulated along with checkboxes, drop-down
1377   selectors, and text-entry boxes for configuring the various
1378   settings.
1379
1380 Support for doing tab-completion of email addresses
1381
1382   This support currently relies on an external program,
1383   (notmuch-addresses), that is not yet shipped with notmuch
1384   itself. But multiple, suitable implementations of this program have
1385   already been written that generate address completions by doing
1386   notmuch searches of your email collection. For example, providing
1387   first those addresses that you have composed messages to in the
1388   past, etc.
1389
1390   One such program (implemented in python with the python bindings to
1391   notmuch) is available via:
1392
1393         git clone  http://jkr.acm.jhu.edu/git/notmuch_addresses.git
1394
1395   Install that program as notmuch-addresses on your PATH, and then
1396   hitting TAB on a partial email address or name within the To: or Cc:
1397   line of an email message will provide matching completions.
1398
1399 Support for file-based (Fcc) delivery of sent messages to mail store
1400
1401   This isn't yet enabled by default. To enable this, one will have to
1402   set the "Notmuch Fcc Dirs" setting within the notmuch customize
1403   screen, (see its documentation there for details). We anticipate
1404   making this automatic in a future release.
1405
1406 New 'G' key binding to trigger mail refresh (G == "Get new mail")
1407
1408   The 'G' key works wherever '=' works. Before refreshing the screen
1409   it calls an external program that can be used to poll email servers,
1410   run notmuch new and setup specific tags for the new emails. The
1411   script to be called should be configured with the "Notmuch Poll
1412   Script" setting in the customize interface. This script will
1413   typically invoke "notmuch new" and then perhaps several "notmuch
1414   tag" commands.
1415
1416 Implement emacs message display with the JSON output from notmuch.
1417
1418   This is much more robust than the previous implementation, (where
1419   some HTML mails and mail quoting the notmuch code with the delimiter
1420   characters in it would cause the parser to fall over).
1421
1422 Better handling of HTML messages and MIME attachments (inline images!)
1423
1424   Allow for any MIME parts that emacs can display to be displayed
1425   inline. This includes inline viewing of image attachments, (provided
1426   the window is large enough to fit the image at its natural size).
1427
1428   Much more robust handling of HTML messages. Currently both text/plain
1429   and text/html alternates will be rendered next to each other. In a
1430   future release, users will be able to decide to see only one or the
1431   other representation.
1432
1433   Each attachment now has its own button so that attachments can be
1434   saved individually (the 'w' key is still available to save all
1435   attachments).
1436
1437 Customizable support for tidying of text/plain message content
1438
1439   Many new functions are available for tidying up message
1440   content. These include options such as wrapping long lines,
1441   compressing duplicate blank lines, etc.
1442
1443   Most of these are disabled by default, but can easily be enabled by
1444   clicking the available check boxes under the "Notmuch Show Insert
1445   Text/Plain Hook" within the notmuch customize screen.
1446
1447 New support for searchable citations (even when hidden)
1448
1449   When portions of overly-long citations are hidden, the contents of
1450   these citations will still be available for emacs' standard
1451   "incremental search" functions. When the search matches any portion
1452   of a hidden citation, the citation will become visible temporarily
1453   to display the search result.
1454
1455 More flexible handling of header visibility
1456
1457   As an answer to complaints from many users, the To, Cc, and Date
1458   headers of messages are no longer hidden by default. For those users
1459   that liked that these were hidden, a new "Notmuch Messages Headers
1460   Visible" option in the customize interface can be set to nil. The
1461   visibility of headers can still be toggled on a per-message basis
1462   with the 'h' keybinding.
1463
1464   For users that don't want to see some subset of those headers, the
1465   new "Notmuch Message Headers" variable can be customized to list
1466   only those headers that should be present in the display of a message.
1467
1468 The Return key now toggles message visibility anywhere
1469
1470   Previously this worked only on the first summary-line of a message.
1471
1472 Customizable formatting of search results
1473
1474   The user can easily customize the order, width, and formatting of
1475   the various fields in a "notmuch search" buffer. See the "Notmuch
1476   Search Result Format" section of the customize interface.
1477
1478 Generate nicer names for search buffers when using a saved search.
1479
1480 Add a notmuch User-Agent header when sending mail from notmuch/emacs.
1481
1482 New keybinding (M-Ret) to open all collapsed messages in a thread.
1483
1484 New library feature
1485 -------------------
1486 Provide a new NOTMUCH_SORT_UNSORTED value for queries
1487
1488   This can be somewhat faster when sorting simply isn't desired. For
1489   example when collecting a set of messages that will all be
1490   manipulated identically, (adding a tag, removing a tag, deleting the
1491   messages), then there's no advantage to sorting the messages by
1492   date.
1493
1494 Build fixes
1495 -----------
1496 Fix to compile against GMime 2.6
1497
1498   Previously notmuch insisted on being able to find GMime 2.4, (even
1499   though GMime 2.6 would have worked all along).
1500
1501 Fix configure script to accept (and ignore) various standard options.
1502
1503   For example, those that the Gentoo build scripts expect configure to
1504   accept are now all accepted.
1505
1506 Test suite
1507 ----------
1508 A large number of new tests for the many new features.
1509
1510 Better display of output from failed tests.
1511
1512   Now shows failures with diff rather than forcing the user to gaze at
1513   complete actual and expected output looking for deviation.
1514
1515 Notmuch 0.2 (2010-04-16)
1516 ========================
1517 This is the second release of the notmuch mail system, with actual
1518 detailed release notes this time!
1519
1520 This release consists of a number of minor new features that make
1521 notmuch more pleasant to use, and a few fairly major bug fixes.
1522
1523 We didn't quite hit our release target of "about a week" from the 0.1
1524 release, (0.2 is happening 11 days after 0.1), but we hope to do
1525 better for next week. Look forward to some major features coming to
1526 notmuch in subsequent releases.
1527
1528 -Carl
1529
1530 General features
1531 ----------------
1532 Better guessing of From: header.
1533
1534   Notmuch now tries harder to guess which configured address should be
1535   used as the From: line in a "notmuch reply". It will examine the
1536   Received: headers if it fails to find any configured address in To:
1537   or Cc:. This allows it to often choose the correct address even when
1538   replying to a message sent to a mailing list, and not directly to a
1539   configured address.
1540
1541 Make "notmuch count" with no arguments count all messages
1542
1543   Previously, it was hard to construct a search term that was
1544   guaranteed to match all messages.
1545
1546 Provide a new special-case search term of "*" to match all messages.
1547
1548   This can be used in any command accepting a search term, such as
1549   "notmuch search '*'". Note that you'll want to take care that the
1550   shell doesn't expand * against the current files. And note that the
1551   support for "*" is a special case. It's only meaningful as a single
1552   search term and loses its special meaning when combined with any
1553   other search terms.
1554
1555 Automatically detect thread connections even when a parent message is
1556 missing.
1557
1558   Previously, if two or more message were received with a common
1559   parent, but that parent was not received, then these messages would
1560   not be recognized as belonging to the same thread. This is now fixed
1561   so that such messages are properly connected in a thread.
1562
1563 General bug fixes
1564 -----------------
1565 Fix potential data loss in "notmuch new" with SIGINT
1566
1567   One code path in "notmuch new" was not properly handling
1568   SIGINT. Previously, this could lead to messages being removed from
1569   the database (and their tags being lost) if the user pressed
1570   Control-C while "notmuch new" was working.
1571
1572 Fix segfault when a message includes a MIME part that is empty.
1573
1574 Fix handling of non-ASCII characters with --format=json
1575
1576   Previously, characters outside the range of 7-bit ASCII were
1577   silently dropped from the JSON output. This led to corrupted display
1578   of utf-8 content in the upcoming notmuch web-based frontends.
1579
1580 Fix headers to be properly decoded in "notmuch reply"
1581
1582   Previously, the user might see:
1583
1584         Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?=
1585
1586   rather than:
1587
1588         Subject: Re: Rozlučka
1589
1590   The former text is properly encoded to be RFC-compliant SMTP, will
1591   be sent correctly, and will be properly decoded by the
1592   recipient. But the user trying to edit the reply would likely be
1593   unable to read or edit that field in its encoded form.
1594
1595 Emacs client features
1596 ---------------------
1597 Show the last few lines of citations as well as the first few lines.
1598
1599   It's often the case that the last sentence of a citation is what is
1600   being replied to directly, so the last few lines are often much more
1601   important. The number of lines shown at the beginning and end of any
1602   citation can be configured, (notmuch-show-citation-lines-prefix and
1603   notmuch-show-citation-lines-suffix).
1604
1605 The '+' and '-' commands in the search view can now add and remove
1606 tags by region.
1607
1608   Selective bulk tagging is now possible by selecting a region of
1609   threads and then using either the '+' or '-' keybindings. Bulk
1610   tagging is still available for all threads matching the current
1611   search with the '*' binding.
1612
1613 More meaningful buffer names for thread-view buffers.
1614
1615   Notmuch now uses the Subject of the thread as the buffer
1616   name. Previously it was using the thread ID, which is a meaningless
1617   number to the user.
1618
1619 Provide for customized colors of threads in search view based on tags.
1620
1621   See the documentation of notmuch-search-line-faces, (or us "M-x
1622   customize" and browse to the "notmuch" group within "Applications"
1623   and "Mail"), for details on how to configure this colorization.
1624
1625 Build-system features
1626 ---------------------
1627 Add support to properly build libnotmuch on Darwin systems (OS X).
1628
1629 Add support to configure for many standard options.
1630
1631   We include actual support for:
1632
1633         --includedir --mandir --sysconfdir
1634
1635   And accept and silently ignore several more:
1636
1637         --build --infodir --libexecdir --localstatedir
1638         --disable-maintainer-mode --disable-dependency-tracking
1639
1640 Install emacs client in "make install" rather than requiring a
1641 separate "make install-emacs".
1642
1643 Automatically compute versions numbers between releases.
1644
1645   This support uses the git-describe notation, so a version such as
1646   0.1-144-g43cbbfc indicates a version that is 144 commits since the
1647   0.1 release and is available as git commit "43cbbfc".
1648
1649 Add a new "make test" target to run the test suite and actually verify
1650 its results.
1651
1652 Notmuch 0.1 (2010-04-05)
1653 ========================
1654 This is the first release of the notmuch mail system.
1655
1656 It includes the libnotmuch library, the notmuch command-line
1657 interface, and an emacs-based interface to notmuch.
1658
1659 Note: Notmuch will work best with Xapian 1.0.18 (or later) or Xapian
1660 1.1.4 (or later). Previous versions of Xapian (whether 1.0 or 1.1) had
1661 a performance bug that made notmuch very slow when modifying
1662 tags. This would cause distracting pauses when reading mail while
1663 notmuch would wait for Xapian when removing the "inbox" and "unread"
1664 tags from messages in a thread.