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