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