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