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