]> git.notmuchmail.org Git - notmuch/blob - NEWS
emacs: add stash support for git send-email command line
[notmuch] / NEWS
1 Notmuch 0.20 (UNRELEASED)
2
3 Contrib
4 -------
5
6 `notmuch-deliver` is removed. As far as we know, all functionality
7 previously provided by `notmuch-deliver` should now be provided by
8 `notmuch insert`, provided by the main notmuch binary.
9
10 Notmuch 0.19 (2014-11-14)
11 =========================
12
13 Overview
14 --------
15
16 This release improves the reliability of `notmuch dump` and the error
17 handling for `notmuch insert`. The new `notmuch address` command is
18 intended to make searching for email addresses more convenient. At the
19 library level the revised handling of missing messages fixes at least
20 one bug in threading. The release also includes several interface
21 improvements to the emacs interface, most notably the ability to bind
22 keyboard shortcuts to saved searches.
23
24 Command-Line Interface
25 ----------------------
26
27 Stopped `notmuch dump` failing if someone writes to the database
28
29   The dump command now takes the write lock when running. This
30   prevents other processes from writing to the database during the
31   dump which would cause the dump to fail. Note, if another notmuch
32   process already has the write lock the dump will not start, so
33   script callers should still check the return value.
34
35 `notmuch insert` requires succesful message indexing for success status
36
37   Previously the `notmuch insert` subcommand indicated success even if
38   the message indexing failed, as long as the message was delivered to
39   file system. This could have lead to delivered messages missing
40   tags, etc. `notmuch insert` is now more strict, also requiring
41   succesful indexing for success status. Use the new `--keep` option
42   to revert to the old behaviour (keeping the delivered message file
43   and returning success even if indexing fails).
44
45 `notmuch insert` has gained support for `post-insert` hook
46
47   The new `post-insert` hook is run after message delivery, similar to
48   `post-new`. There's also a new option `notmuch insert --no-hooks` to
49   skip the hook. See the notmuch-hooks(1) man page for details.
50
51 `notmuch deliver` is deprecated
52
53   With this release we believe that `notmuch insert` has reached
54   parity with `notmuch deliver`. We recommend that all users of
55   `notmuch deliver` switch to `notmuch insert` as the former is
56   currently unmaintained.
57
58 `notmuch search` now supports `--duplicate=N` option with `--output=messages`
59
60   Complementing the `notmuch search --duplicate=N --output=files`
61   options, the new `--duplicate=N --output=messages` combination
62   limits output of message IDs to messages matching search terms that
63   have at least `N` files associated with them.
64
65 Added `notmuch address` subcommand
66
67   This new subcommand searches for messages matching the given search
68   terms, and prints the addresses from them. Duplicate addresses are
69   filtered out. The `--output` option controls which of the following
70   information is printed: sender addresses, recipient addresses and
71   count of duplicate addresses.
72
73 Emacs Interface
74 ---------------
75
76 Use the `j` key to access saved searches from anywhere in notmuch
77
78   `j` is now globally bound to `notmuch-jump`, which provides fast,
79   interactive keyboard shortcuts to saved searches.  For example,
80   with the default saved searches `j i` from anywhere in notmuch will
81   bring up the inbox.
82
83 Improved handling of the unread tag
84
85   Notmuch now marks an open message read (i.e., removes the unread
86   tag) if point enters the message at any time in a show buffer
87   regardless of how point got there (mouse click, cursor command, page
88   up/down, notmuch commands such as n,N etc). This fixes various
89   anomalies or bugs in the previous handling. Additionally it is
90   possible to customize the mark read handling by setting
91   `notmuch-show-mark-read-function` to a custom function.
92
93 Expanded default saved search settings
94
95   The default saved searches now include several more common searches,
96   as well as shortcut keys for `notmuch-jump`.
97
98 Improved `q` binding in notmuch buffers
99
100   `q` will now bury rather than kill a notmuch search, show or tree
101   buffer if there are multiple windows showing the buffer. If only a
102   single window is showing the buffer, it is killed.
103
104 `notmuch-show-stash-mlarchive-link-alist` now supports functions
105
106   Some list archives may use a more complicated scheme for referring
107   to messages than just concatenated URL and message ID. For example,
108   patchwork requires a query to translate message ID to a patchwork
109   patch ID. `notmuch-show-stash-mlarchive-link-alist` now supports
110   functions to better cover such cases. See the help documentation for
111   the variable for details.
112
113 Library changes
114 ---------------
115
116 Introduced database version 3 with support for "database features."
117
118   Features are independent aspects of the database schema.
119   Representing these independently of the database version number will
120   let us evolve the database format faster and more incrementally,
121   while maintaining better forwards and backwards compatibility.
122
123 Library users are no longer required to call `notmuch_database_upgrade`
124
125   Previously, library users were required to call
126   `notmuch_database_needs_upgrade` and `notmuch_database_upgrade`
127   before using a writable database.  Even the CLI didn't get this
128   right, and it is no longer required.  Now, individual APIs may
129   return `NOTMUCH_STATUS_UPGRADE_REQUIRED` if the database format is
130   too out of date for that API.
131
132 Library users can now abort an atomic section by closing the database
133
134   Previously there was no supported way to abort an atomic section.
135   Callers can now simply close the database, and any outstanding
136   atomic section will be aborted.
137
138 Add return status to `notmuch_database_close` and
139 `notmuch_database_destroy`
140
141 Bug fixes and performance improvements for thread linking
142
143   The database now represents missing-but-referenced messages ("ghost
144   messages") similarly to how it represents regular messages.  This
145   enables an improved thread linking algorithm that performs better
146   and fixes a bug that sometimes prevented notmuch from linking
147   messages into the same thread.
148
149 nmbug
150 -----
151
152 The Perl script has been translated to Python; you'll need Python 2.7
153 or anything from the 3.x line.  Most of the user-facing interface is
154 the same, but `nmbug help` is not `nmbug --help`, and the following nmbug
155 commands have slightly different interfaces: `archive`, `commit`,
156 `fetch`, `log`, `pull`, `push`, and `status`.  For details on the
157 new interface for a given command, run `nmbug COMMAND --help`.
158
159 nmbug-status
160 ------------
161
162 `nmbug-status` can now optionally load header and footer templates
163 from the config file.  Use something like:
164
165     {
166       "meta": {
167         "header": "<!DOCTYPE html>\n<html lang="en">\n...",
168         "footer": "</body></html>",
169          ...
170       },
171       ...
172     },
173
174 Python Bindings
175 ---------------
176
177 Add support for `notmuch_query_add_tag_exclude`
178
179 Build System
180 ------------
181
182 The notmuch binaries and libraries are now build with debugging symbols
183 by default.  Users concerned with disk space should change the
184 defaults when configuring or use the strip(1) command.
185
186 Notmuch 0.18.2 (2014-10-25)
187 ===========================
188
189 Test Suite
190 ----------
191
192 Translate T380-atomicity to use gdb/python
193
194   The new version is compatible with gdb 7.8
195
196 Emacs 24.4 related bug fixes
197
198   The Messages buffer became read-only, and the generated mime
199   structure for signatures changed slightly.
200
201 Simplify T360-symbol-hiding
202
203    Replace the use of `objdump` on the object files with `nm` on the
204    resulting lib.
205
206 Notmuch 0.18.1 (2014-06-25)
207 ===========================
208
209 This is a bug fix and portability release.
210
211 Build System
212 ------------
213
214 Add a workaround for systems without zlib.pc
215
216 Make emacs install robust against the non-existence of emacs
217
218 Put notmuch lib directory first in RPATH
219
220 Fix handling of `html_static_path` in sphinx
221
222   Both the python bindings and the main docs had spurious settings of
223   this variable.
224
225 Test Suite
226 ----------
227
228 Use --quick when starting emacs
229
230   This avoids a hang in the T160-json tests.
231
232 Allow pending break points in atomicity script
233
234   This allows the atomicity tests to run on several more architectures/OSes.
235
236 Command-Line Interface
237 ----------------------
238
239 To improve portability use fsync instead of fdatasync in
240 `notmuch-dump`. There should be no functional difference.
241
242 Library changes
243 ---------------
244
245 Resurrect support for single-message mbox files
246
247   The removal introduced a bug with previously indexed single-message
248   mboxes.  This support remains deprecated.
249
250 Fix for phrase indexing
251
252   There were several bugs where words intermingled from different
253   headers and MIME parts could match a single phrase query.  This fix
254   will affect only newly indexed messages.
255
256 Emacs Interface
257 ---------------
258
259 Make sure tagging on an empty query is harmless
260
261   Previously tagging an empty query could lead to tags being
262   unintentionally removed.
263
264 Notmuch 0.18 (2014-05-06)
265 =========================
266
267 Overview
268 --------
269
270 This new release includes some enhancements to searching for messages
271 by filesystem location (`folder:` and `path:` prefixes under *General*
272 below).  Saved searches in *Emacs* have also been enhanced to allow
273 distinct search orders for each one.  Another enhancement to the
274 *Emacs* interface is that replies to encrypted messages are now
275 encrypted, reducing the risk of unintentional information disclosure.
276 The default dump output format has changed to the more robust
277 `batch-tag` format. The previously deprecated parsing of single
278 message mboxes has been removed. For detailed release notes, see
279 below.
280
281 General
282 -------
283
284 The `folder:` search prefix now requires an exact match
285
286   The `folder:` prefix has been changed to search for email messages
287   by the exact, case sensitive maildir or MH folder name. Wildcard
288   matching (`folder:foo*`) is no longer supported. The new behaviour
289   allows for more accurate mail folder based searches, makes it
290   possible to search for messages in the top-level folder, and should
291   lead to less surprising results than the old behaviour. Users are
292   advised to see the `notmuch-search-terms` manual page for details,
293   and review how the change affects their existing `folder:` searches.
294
295 There is a new `path:` search prefix
296
297   The new `path:` search prefix complements the `folder:` prefix. The
298   `path:` prefix searches for email messages that are in particular
299   directories within the mail store, optionally recursively using a
300   special syntax. See the `notmuch-search-terms` manual page for
301   details.
302
303 Notmuch database upgrade due to `folder:` and `path:` changes
304
305   The above mentioned changes to the `folder:` prefix and the addition
306   of `path:` prefix require a Notmuch database upgrade. This will be
307   done automatically, without prompting on the next time `notmuch new`
308   is run after the upgrade. The upgrade is not reversible, and the
309   upgraded database will not be readable by older versions of
310   Notmuch. As a safeguard, a database dump will be created in the
311   `.notmuch` directory before upgrading.
312
313 Library changes
314 ---------------
315
316 Notmuch database upgrade
317
318   The libnotmuch consumers are reminded to handle database upgrades
319   properly, either by relying on running `notmuch new`, or checking
320   `notmuch_database_needs_upgrade()` and calling
321   `notmuch_database_upgrade()` as necessary. This has always been the
322   case, but in practise there have been no database upgrades in any
323   released version of Notmuch before now.
324
325 Support for indexing mbox files has been dropped
326
327   There has never been proper support for mbox files containing
328   multiple messages, and the support for single-message mbox files has
329   been deprecated since Notmuch 0.15. The support has now been
330   dropped, and all mbox files will be rejected during indexing.
331
332 Message header parsing changes
333
334   Notmuch previously had an internal parser for message headers. The
335   parser has now been dropped in favour of letting GMime parse both
336   the headers and the message MIME structure at the same pass. This is
337   mostly an internal change, but the GMime parser is stricter in its
338   interpretation of the headers. This may result in messages with
339   slightly malformed message headers being now rejected.
340
341 Command-Line Interface
342 ----------------------
343
344 `notmuch dump` now defaults to `batch-tag` format
345
346   The old format is still available with `--format=sup`.
347
348 `notmuch new` has a --quiet option
349
350   This option suppresses the progress and summary reports.
351
352 `notmuch insert` respects maildir.synchronize_flags config option
353
354   Do not synchronize tags to maildir flags in `notmuch insert` if the
355   user does not want it.
356
357 The commands set consistent exit status codes on failures
358
359   The cli commands now consistently set exit status of 1 on failures,
360   except where explicitly otherwise noted. The notable expections are
361   the status codes for format version mismatches for commands that
362   support formatted output.
363
364 Bug fix for checking configured new.tags for invalid tags
365
366   `notmuch new` and `notmuch insert` now check the user configured
367   new.tags for invalid tags, and refuse to apply them, similar to
368   `notmuch tag`. Invalid tags are currently the empty string and tags
369   starting with `-`.
370
371 Emacs Interface
372 ---------------
373
374 Init file
375
376   If the file pointed by new variable `notmuch-init-file` (typically
377   `~/.emacs.d/notmuch-config.el`) exists, it is loaded at the end of
378   `notmuch.el`. Users can put their personal notmuch emacs lisp based
379   configuration/customization items there instead of filling
380   `~/.emacs` with these.
381
382 Changed format for saved searches
383
384   The format for `notmuch-saved-searches` has changed, but old style
385   saved searches are still supported. The new style means that a saved
386   search can store the desired sort order for the search, and it can
387   store a separate query to use for generating the count notmuch
388   shows.
389
390   The variable is fully customizable and any configuration done
391   through customize should *just work*, with the additional options
392   mentioned above. For manual customization see the documentation for
393   `notmuch-saved-searches`.
394
395   IMPORTANT: a new style notmuch-saved-searches variable will break
396   previous versions of notmuch-emacs (even search will not work); to
397   fix remove the customization for notmuch-saved-searches.
398
399   If you have a custom saved search sort function (not unsorted or
400   alphabetical) then the sort function will need to be
401   modified. Replacing (car saved-search) by (notmuch-saved-search-get
402   saved-search :name) and (cdr saved-search) by
403   (notmuch-saved-search-get saved-search :query) should be sufficient.
404
405 The keys of `notmuch-tag-formats` are now regexps
406
407   Previously, the keys were literal strings.  Customized settings of
408   `notmuch-tag-formats` will continue to work as before unless tags
409   contain regexp special characters like `.` or `*`.
410
411 Changed tags are now shown in the buffer
412
413   Previously tag changes made in a buffer were shown immediately. In
414   some cases (particularly automatic tag changes like marking read)
415   this made it hard to see what had happened (e.g., whether the
416   message had been unread).
417
418   The changes are now shown explicitly in the buffer: by default
419   deleted tags are displayed with red strike-through and added tags
420   are displayed underlined in green (inverse video is used for deleted
421   tags if the terminal does not support strike-through).
422
423   The variables `notmuch-tag-deleted-formats` and
424   `notmuch-tag-added-formats`, which have the same syntax as
425   `notmuch-tag-formats`, allow this to be customized.
426
427   Setting `notmuch-tag-deleted-formats` to `'((".*" nil))` and
428   `notmuch-tag-added-formats` to `'((".*" tag))` will give the old
429   behavior of hiding deleted tags and showing added tags identically
430   to tags already present.
431
432 Version variable
433
434   The new, build-time generated variable `notmuch-emacs-version` is used
435   to distinguish between notmuch cli and notmuch emacs versions.
436   The function `notmuch-hello-versions` (bound to 'v' in notmuch-hello
437   window) prints both notmuch cli and notmuch emacs versions in case
438   these differ from each other.
439   This is especially useful when using notmuch remotely.
440
441 Ido-completing-read initialization in Emacs 23
442
443   `ido-completing-read` in Emacs 23 versions 1 through 3 freezes unless
444   it is initialized. Defadvice-based *Ido* initialization is defined
445   for these Emacs versions.
446
447 Bug fix for saved searches with newlines in them
448
449   Split lines confuse `notmuch count --batch`, so we remove embedded
450   newlines before calling notmuch count.
451
452 Bug fixes for sender identities
453
454   Previously, Emacs would rewrite some sender identities in unexpected
455   and undesirable ways.  Now it will use identities exactly as
456   configured in `notmuch-identities`.
457
458 Replies to encrypted messages will be encrypted by default
459
460   In the interest of maintaining confidentiality of communications,
461   the Notmuch Emacs interface now automatically adds the mml tag to
462   encrypt replies to encrypted messages. This should make it less
463   likely to accidentally reply to encrypted messages in plain text.
464
465 Reply pushes mark before signature
466
467   We push mark and set point on reply so that the user can easily cut
468   the quoted text. The mark is now pushed before the signature, if
469   any, instead of end of buffer so the signature is preserved.
470
471 Message piping uses the originating buffer's working directory
472
473   `notmuch-show-pipe-message` now uses the originating buffer's
474   current default directory instead of that of the `*notmuch-pipe*`
475   buffer's.
476
477 nmbug
478 -----
479
480 nmbug adds a `clone` command for setting up the initial repository and
481 uses `@{upstream}` instead of `FETCH_HEAD` to track upstream changes.
482
483   The `@{upstream}` change reduces ambiguity when fetching multiple
484   branches, but requires existing users update their `NMBGIT`
485   repository (usually `~/.nmbug`) to distinguish between local and
486   remote-tracking branches.  The easiest way to do this is:
487
488   1. If you have any purely local commits (i.e. they aren't in the
489      nmbug repository on nmbug.tethera.net), push them to a remote
490      repository.  We'll restore them from the backup in step 4.
491   2. Remove your `NMBGIT` repository (e.g. `mv .nmbug .nmbug.bak`).
492   3. Use the new `clone` command to create a fresh clone:
493
494         nmbug clone http://nmbug.tethera.net/git/nmbug-tags.git
495
496   4. If you had local commits in step 1, add a remote for that
497      repository and fetch them into the new repository.
498
499 Notmuch 0.17 (2013-12-30)
500 =========================
501
502 Incompatible change in SHA1 computation
503 ---------------------------------------
504
505 Previously on big endian architectures like sparc and powerpc the
506 computation of SHA1 hashes was incorrect. This meant that messages
507 with overlong or missing message-ids were given different computed
508 message-ids than on more common little endian architectures like i386
509 and amd64.  If you use notmuch on a big endian architecture, you are
510 strongly advised to make a backup of your tags using `notmuch dump`
511 before this upgrade. You can locate the affected files using something
512 like:
513
514     notmuch dump | \
515       awk '/^notmuch-sha1-[0-9a-f]{40} / \
516         {system("notmuch search --exclude=false --output=files id:" $1)}'
517
518 Command-Line Interface
519 ----------------------
520
521 New options to better support handling duplicate messages
522
523   If more than one message file is associated with a message-id,
524   `notmuch search --output=files` will print all of them. A new
525   `--duplicate=N` option can be used to specify which duplicate to
526   print for each message.
527
528   `notmuch count` now supports `--output=files` option to output the
529   number of files associated with matching messages. This may be
530   bigger than the number of matching messages due to duplicates
531   (i.e. multiple files having the same message-id).
532
533 Improved `notmuch new` performance for unchanged folders
534
535   `notmuch new` now skips over unchanged folders more efficiently,
536   which can substantially improve the performance of checking for new
537   mail in some situations (like NFS-mounted Maildirs).
538
539 `notmuch reply --format=text` RFC 2047-encodes headers
540
541   Previously, this used a mix of standard MIME encoding for the reply
542   body and UTF-8 for the headers.  Now, the text format reply template
543   RFC 2047-encodes the headers, making the output a valid RFC 2822
544   message.  The JSON/sexp format is unchanged.
545
546 `notmuch compact` command
547
548   The new `compact` command exposes Xapian's compaction
549   functionality through a more convenient interface than
550   `xapian-compact`. `notmuch compact` will compact the database to a
551   temporary location, optionally backup the original database, and
552   move the compacted database into place.
553
554 Emacs Interface
555 ---------------
556
557 `notmuch-tree` (formerly `notmuch-pick`) has been added to mainline
558
559   `notmuch-tree` is a threaded message view for the emacs
560   interface. Each message is one line in the results and the thread
561   structure is shown using UTF-8 box drawing characters (similar to
562   Mutt's threaded view). It comes between search and show in terms of
563   amount of output and can be useful for viewing both single threads
564   and multiple threads.
565
566   Using `notmuch-tree`
567
568   The main key entries to notmuch tree are
569
570   'z' enter a query to view using notmuch tree (works in hello,
571       search, show and tree mode itself)
572
573   'Z' view the current query in tree notmuch tree (works from search
574       and show)
575
576   Once in tree mode, keybindings are mostly in line with the rest of
577   notmuch and are all viewable with '?' as usual.
578
579   Customising `notmuch-tree`
580
581   `notmuch-tree` has several customisation variables. The most
582   significant is the first notmuch-tree-show-out which determines the
583   behaviour when selecting a message (with RET) in tree view. By
584   default tree view uses a split window showing the single message in
585   the bottom pane. However, if this option is set then it views the
586   whole thread in the complete window jumping to the selected message
587   in the thread. In either case command-prefix selects the other option.
588
589 Tagging threads in search is now race-free
590
591   Previously, adding or removing a tag from a thread in a search
592   buffer would affect messages that had arrived after the search was
593   performed, resulting in, for example, archiving messages that were
594   never seen.  Tagging now affects only the messages that were in the
595   thread when the search was performed.
596
597 `notmuch-hello` refreshes when switching to the buffer
598
599   The hello buffer now refreshes whenever you switch to the buffer,
600   regardless of how you get there.  You can disable automatic
601   refreshing by customizing `notmuch-hello-auto-refresh`.
602
603 Specific mini-buffer prompts for tagging operations
604
605   When entering tags to add or remove, the mini-buffer prompt now
606   indicates what operation will be performed (e.g., "Tag thread", "Tag
607   message", etc).
608
609 Built-in help improvements
610
611   Documentation for many commands has been improved, as displayed by
612   `notmuch-help` (usually bound to "?").  The bindings listed by
613   `notmuch-help` also now include descriptions of prefixed commands.
614
615 Quote replies as they are displayed in show view
616
617   We now render the parts for reply quoting the same way they are
618   rendered for show. At this time, the notable change is that replies
619   to text/calendar are now pretty instead of raw vcalendar.
620
621 Fixed inconsistent use of configured search order
622
623   All ways of interactively invoking search now honor the value of
624   `notmuch-search-oldest-first`.
625
626 Common keymap for notmuch-wide bindings
627
628   Several key bindings have been moved from mode-specific keymaps to
629   the single `notmuch-common-keymap`, which is inherited by each
630   notmuch mode.  If you've customized your key bindings, you may want
631   to move some of them to the common keymap.
632
633 The `notmuch-tag` function now requires a list of tag changes
634
635   For users who have scripted the Emacs interface: the `notmuch-tag`
636   API has changed.  Previously, it accepted either a list of tag
637   changes or a space-separated string of tag changes.  The latter is
638   no longer supported and the function now returns nothing.
639
640 Fixed `notmuch-reply` putting reply in primary selection
641
642   On emacs 24 notmuch-reply used to put the cited text into the
643   primary selection (which could lead to inadvertently pasting this
644   cited text elsewhere). Now the primary-selection is not changed.
645
646 Fixed `notmuch-show` invisible part handling
647
648   In some obscure cases part buttons and invisibility had strange
649   interactions: in particular, the default action for some parts gave
650   the wrong action. This has been fixed.
651
652 Fixed `notmuch-show` attachment viewers and stderr
653
654   In emacs 24.3+ viewing an attachment could cause spurious text to
655   appear in the show buffer (any stderr or stdout the viewer
656   produced). By default this output is now discarded. For debugging,
657   setting `notmuch-show-attachment-debug` causes notmuch to keep the
658   viewer's stderr and stdout in a separate buffer.
659
660 Fixed `notmuch-mua-reply` point placement when signature involved
661
662   By restricting cursor movement to body section for cursor placement
663   after signature is inserted, the cursor cannot "leak" to header
664   section anymore. Now inserted citation content will definitely go to
665   the body part of the message.
666
667 Vim Interface
668 -------------
669
670   It is now possible to compose new messages in the Vim interface, as
671   opposed reply to existing messages.  There is also support for
672   going straight to a search (bypassing the folders view).
673
674 Notmuch 0.16 (2013-08-03)
675 =========================
676
677 Command-Line Interface
678 ----------------------
679
680 Support for delivering messages to Maildir
681
682   There is a new command `insert` that adds a message to a Maildir
683   folder and notmuch index.
684
685 `notmuch count --batch` option
686
687   `notmuch count` now supports batch operations similar to `notmuch
688   tag`. This is mostly an optimization for remote notmuch usage.
689
690 `notmuch tag` option to remove all tags from matching messages
691
692   `notmuch tag --remove-all` option has been added to remove all tags
693   from matching messages. This can be combined with adding new tags,
694   resulting in setting (rather than modifying) the tags of the
695   messages.
696
697 Decrypting commands explicitly expect a gpg-agent
698
699   Decryption in `notmuch show` and `notmuch reply` has only ever
700   worked with a functioning gpg-agent. This is now made explicit in
701   code and documentation. The functional change is that it's now
702   possible to have gpg-agent running, but gpg "use-agent"
703   configuration option disabled, not forcing the user to use the agent
704   everywhere.
705
706 Configuration file saves follow symbolic links
707
708   The notmuch commands that save the configuration file now follow
709   symbolic links instead of overwrite them.
710
711 Top level option to specify configuration file
712
713   It's now possible to specify the configuration file to use on the
714   command line using the `notmuch --config=FILE` option.
715
716 Bash command-line completion
717
718   The notmuch command-line completion support for the bash shell has
719   been rewritten. Supported completions include all the notmuch
720   commands, command-line arguments, values for keyword arguments,
721   search prefixes (such as "subject:" or "from:") in all commands that
722   use search terms, tags after + and - in `notmuch tag`, tags after
723   "tag:" prefix, user's email addresses after "from:" and "to:"
724   prefixes, and config options (and some config option values) in
725   `notmuch config`. The new completion support depends on the
726   bash-completion package.
727
728 Deprecated commands "part" and "search-tags" are removed.
729
730 Emacs Interface
731 ---------------
732
733 New keymap to view/save parts; removed s/v/o/| part button bindings
734
735   The commands to view, save, and open MIME parts are now prefixed
736   with "." (". s" to save, ". v" to view, etc) and can be invoked with
737   point anywhere in a part, unlike the old commands, which were
738   restricted to part buttons.  The old "s"/"v"/"o"/"|" commands on
739   part buttons have been removed since they clashed with other
740   bindings (notably "s" for search!) and could not be invoked when
741   there was no part button.  The new, prefixed bindings appear in
742   show's help, so you no longer have to memorize them.
743
744 Default part save directory is now `mm-default-directory`
745
746   Previously, notmuch offered to save parts and attachments to a mix
747   of `mm-default-directory`, `mailcap-download-directory`, and `~/`.
748   This has been standardized on `mm-default-directory`.
749
750 Key bindings for next/previous thread
751
752   Show view has new key bindings M-n and M-p to move to the next and
753   previous thread in the search results.
754
755 Better handling of errors in search buffers
756
757   Instead of interleaving errors in search result buffers, search mode
758   now reports errors in the minibuffer.
759
760 Faster search and show
761
762   Communication between Emacs and the notmuch CLI is now more
763   efficient because it uses the CLI's S-expression support.  As a
764   result, search mode should now fill search buffers faster and
765   threads should show faster.
766
767 No Emacs 22 support
768
769   The Emacs 22 support added late 2010 was sufficient only for a short
770   period of time. After being incomplete for roughly 2 years the code
771   in question was now removed from this release.
772
773 Vim Front-End
774 -------------
775
776 The vim based front-end has been replaced with a new one that uses the Ruby
777 bindings. The old font-end is available in the contrib subfolder.
778
779 Python Bindings
780 ---------------
781
782 Fix loading of libnotmuch shared library on OS X (Darwin) systems.
783
784 Notmuch 0.15.2 (2013-02-17)
785 ===========================
786
787 Build fixes
788 -----------
789
790 Update dependencies to avoid problems when building in parallel.
791
792 Internal test framework changes
793 -------------------------------
794
795 Adjust Emacs test watchdog mechanism to cope with `process-attributes`
796 being unimplemented.
797
798 Notmuch 0.15.1 (2013-01-24)
799 ===========================
800
801 Internal test framework changes
802 -------------------------------
803
804 Set a default value for TERM when running tests. This fixes certain
805 build failures in non-interactive environments.
806
807 Notmuch 0.15 (2013-01-18)
808 =========================
809
810 General
811 -------
812
813 Date range search support
814
815   The `date:` prefix can now be used in queries to restrict the results
816   to only messages within a particular time range (based on the Date:
817   header) with a range syntax of `date:<since>..<until>`. Notmuch
818   supports a wide variety of expressions in `<since>` and
819   `<until>`. Please refer to the `notmuch-search-terms(7)` manual page
820   for details.
821
822 Empty tag names and tags beginning with "-" are deprecated
823
824   Such tags have been a frequent source of confusion and cause
825   (sometimes unresolvable) conflicts with other syntax.  notmuch tag
826   no longer allows such tags to be added to messages.  Removing such
827   tags continues to be supported to allow cleanup of existing tags,
828   but may be removed in a future release.
829
830 Command-Line Interface
831 ----------------------
832
833 `notmuch new` no longer chokes on mboxes
834
835   `notmuch new` now rejects mbox files containing more than one
836   message, rather than treating the file as one giant message.
837
838 Support for single message mboxes is deprecated
839
840   For historical reasons, `notmuch new` will index mbox files
841   containing a single message; however, this behavior is now
842   officially deprecated.
843
844 Fixed `notmuch new` to skip ignored broken symlinks
845
846   `notmuch new` now correctly skips symlinks if they are in the
847   ignored files list.  Previously, it would abort when encountering
848   broken symlink, even if it was ignored.
849
850 New dump/restore format and tagging interface
851
852   There is a new `batch-tag` format for dump and restore that is more
853   robust, particularly with respect to tags and message-ids containing
854   whitespace.
855
856   `notmuch tag` now supports the ability to read tag operations and
857   queries from an input stream, in a format compatible with the new
858   dump/restore format.
859
860 Bcc and Reply-To headers are now available in notmuch show json output
861
862   The `notmuch show --format=json` now includes "Bcc" and "Reply-To" headers.
863   For example notmuch Emacs client can now have these headers visible
864   when the headers are added to the `notmuch-message-headers` variable.
865
866 CLI callers can now request a specific output format version
867
868   `notmuch` subcommands that support structured output now support a
869   `--format-version` argument for requesting a specific version of the
870   structured output, enabling better compatibility and error handling.
871
872 `notmuch search` has gained a null character separated text output format
873
874   The new --format=text0 output format for `notmuch search` prints
875   output separated by null characters rather than newline
876   characters. This is similar to the find(1) -print0 option, and works
877   together with the xargs(1) -0 option.
878
879 Emacs Interface
880 ---------------
881
882 Removal of the deprecated `notmuch-folders` variable
883
884   `notmuch-folders` has been deprecated since the introduction of saved
885   searches and the notmuch hello view in notmuch 0.3. `notmuch-folders`
886   has now been removed. Any remaining users should migrate to
887   `notmuch-saved-searches`.
888
889 Visibility of MIME parts can be toggled
890
891   Each part of a multi-part MIME email can now be shown or hidden
892   using the button at the top of each part (by pressing RET on it or
893   by clicking).  For emails with multiple alternative formats (e.g.,
894   plain text and HTML), only the preferred format is shown initially,
895   but other formats can be shown using their part buttons.  To control
896   the behavior of this, see
897   `notmuch-multipart/alternative-discouraged` and
898   `notmuch-show-all-multipart/alternative-parts`.
899
900   Note notmuch-show-print-message (bound to '#' by default) will print
901   all parts of multipart/alternative message regardless of whether
902   they are currently hidden or shown in the buffer.
903
904 Emacs now buttonizes mid: links
905
906   mid: links are a standardized way to link to messages by message ID
907   (see RFC 2392).  Emacs now hyperlinks mid: links to the appropriate
908   notmuch search.
909
910 Handle errors from bodypart insertions
911
912   If displaying the text of a message in show mode causes an error (in
913   the `notmuch-show-insert-part-*` functions), notmuch no longer cuts
914   off thread display at the offending message.  The error is now
915   simply displayed in place of the message.
916
917 Emacs now detects version mismatches with the notmuch CLI
918
919   Emacs now detects and reports when the Emacs interface version and
920   the notmuch CLI version are incompatible.
921
922 Improved text/calendar content handling
923
924   Carriage returns in embedded text/calendar content caused insertion
925   of the calendar content fail. Now CRs are removed before calling icalendar
926   to extract icalendar data. In case icalendar extraction fails an error
927   is thrown for the bodypart insertion function to deal with.
928
929 Disabled coding conversions when reading in `with-current-notmuch-show-message`
930
931   Depending on the user's locale, saving attachments containing 8-bit
932   data may have performed an unintentional encoding conversion,
933   corrupting the saved attachment.  This has been fixed by making
934   `with-current-notmuch-show-message` disable coding conversion.
935
936 Fixed errors with HTML email containing images in Emacs 24
937
938   Emacs 24 ships with a new HTML renderer that produces better output,
939   but is slightly buggy.  We work around a bug that caused it to fail
940   for HTML email containing images.
941
942 Fixed handling of tags with unusual characters in them
943
944   Emacs now handles tags containing spaces, quotes, and parenthesis.
945
946 Fixed buttonization of id: links without quote characters
947
948   Emacs now correctly buttonizes id: links where the message ID is not
949   quoted.
950
951 `notmuch-hello` refresh point placement improvements
952
953   Refreshing the `notmuch-hello` buffer does a better job of keeping
954   the point where it was.
955
956 Automatic tag changes are now unified and customizable
957
958   All the automatic tag changes that the Emacs interface makes when
959   reading, archiving, or replying to messages, can now be
960   customized. Any number of tag additions and removals is supported
961   through the `notmuch-show-mark-read`, `notmuch-archive-tags`, and
962   `notmuch-message-replied-tags` customization variables.
963
964 Support for stashing the thread id in show view
965
966   Invoking `notmuch-show-stash-message-id` with a prefix argument
967   stashes the (local and database specific) thread id of the current
968   thread instead of the message id.
969
970 New add-on tool: notmuch-pick
971 -----------------------------
972
973 The new contrib/ tool `notmuch-pick` is an experimental threaded message
974 view for the emacs interface. Each message is one line in the results
975 and the thread structure is shown using UTF-8 box drawing characters
976 (similar to Mutt's threaded view). It comes between search and show in
977 terms of amount of output and can be useful for viewing both single
978 threads and multiple threads. See the notmuch-pick README file for
979 further details and installation.
980
981 Portability
982 -----------
983
984 notmuch now builds on OpenBSD.
985
986 Internal test framework changes
987 -------------------------------
988
989 The emacsclient binary is now user-configurable
990
991   The test framework now accepts `TEST_EMACSCLIENT` in addition to
992   `TEST_EMACS` for configuring the emacsclient to use.  This is
993   necessary to avoid using an old emacsclient with a new emacs, which
994   can result in buggy behavior.
995
996 Notmuch 0.14 (2012-08-20)
997 =========================
998
999 General bug fixes
1000 -----------------
1001
1002 Maildir tag synchronization
1003
1004   Maildir flag-to-tag synchronization now applies only to messages in
1005   maildir-like directory structures.  Previously, it applied to any
1006   message that had a maildir "info" part, which meant it could
1007   incorrectly synchronize tags for non-maildir messages, while at the
1008   same time failing to synchronize tags for newly received maildir
1009   messages (typically causing new messages to not receive the "unread"
1010   tag).
1011
1012 Command-Line Interface
1013 ----------------------
1014
1015   The deprecated positional output file argument to `notmuch dump` has
1016   been replaced with an `--output` option. The input file positional
1017   argument to `notmuch restore` has been replaced with an `--input`
1018   option for consistency with dump.  These changes simplify the syntax
1019   of dump/restore options and make them more consistent with other
1020   notmuch commands.
1021
1022 Emacs Interface
1023 ---------------
1024
1025 Search results now get re-colored when tags are updated
1026
1027 The formatting of tags in search results can now be customized
1028
1029   Previously, attempting to change the format of tags in
1030   `notmuch-search-result-format` would usually break tagging from
1031   search-mode.  We no longer make assumptions about the format.
1032
1033 Experimental support for multi-line search result formats
1034
1035   It is now possible to embed newlines in
1036   `notmuch-search-result-format` to make individual search results
1037   span multiple lines.
1038
1039 Next/previous in search and show now move by boundaries
1040
1041   All "next" and "previous" commands in the search and show modes now
1042   move to the next/previous result or message boundary.  This doesn't
1043   change the behavior of "next", but "previous" commands will first
1044   move to the beginning of the current result or message if point is
1045   inside the result or message.
1046
1047 Search now uses the JSON format internally
1048
1049   This should address problems with unusual characters in authors and
1050   subject lines that could confuse the old text-based search parser.
1051
1052 The date shown in search results is no longer padded before applying
1053 user-specified formatting
1054
1055   Previously, the date in the search results was padded to fixed width
1056   before being formatted with `notmuch-search-result-format`.  It is
1057   no longer padded.  The default format has been updated, but if
1058   you've customized this variable, you may have to change your date
1059   format from `"%s "` to `"%12s "`.
1060
1061 The thread-id for the `target-thread` argument for `notmuch-search` should
1062 now be supplied without the "thread:" prefix.
1063
1064 Notmuch 0.13.2 (2012-06-02)
1065 ===========================
1066
1067 Bug-fix release
1068 ---------------
1069
1070 Update `contrib/notmuch-deliver` for API changes in 0.13. This fixes a
1071 compilation error for this contrib package.
1072
1073 Notmuch 0.13.1 (2012-05-29)
1074 ===========================
1075
1076 Bug-fix release
1077 ---------------
1078
1079 Fix inserting of UTF-8 characters from *text/plain* parts in reply
1080
1081   While notmuch gained ability to insert content from other than *text/plain*
1082   parts of email whenever *text/plain* parts are not available (notably
1083   HTML-only emails), replying to mails that do have *text/plain* the
1084   non-ASCII characters were incorrectly decoded. This is now fixed.
1085
1086 `notmuch_database_get_directory` and
1087 `notmuch_database_find_message_by_filename` now work on read-only
1088 databases
1089
1090   Previously, these functions attempted to create directory documents
1091   that didn't exist and would return an error or abort when given a
1092   read-only database.  Now they no longer create directory documents
1093   and simply return a `NULL` object if the directory does not exist,
1094   as documented.
1095
1096 Fix compilation of ruby bindings
1097
1098   Revert to dynamic linking, since the statically linked bindings did
1099   not work well.
1100
1101 Notmuch 0.13 (2012-05-15)
1102 =========================
1103
1104 Command-Line Interface
1105 ----------------------
1106
1107 JSON reply format
1108
1109   `notmuch reply` can now produce JSON output that contains the headers
1110   for a reply message and full information about the original message
1111   begin replied to. This allows MUAs to create replies intelligently.
1112   For example, an MUA that can parse HTML might quote HTML parts.
1113
1114   Calling notmuch reply with `--format=json` imposes the restriction that
1115   only a single message is returned by the search, as replying to
1116   multiple messages does not have a well-defined behavior. The default
1117   retains its current behavior for multiple message replies.
1118
1119 Tag exclusion
1120
1121   Tags can be automatically excluded from search results by adding them
1122   to the new `search.exclude_tags` option in the Notmuch config file.
1123
1124   This behaviour can be overridden by explicitly including an excluded
1125   tag in your query, for example:
1126
1127         notmuch search $your_query and tag:$excluded_tag
1128
1129   Existing users will probably want to run `notmuch setup` again to add
1130   the new well-commented [search] section to the configuration file.
1131
1132   For new configurations, accepting the default setting will cause the
1133   tags "deleted" and "spam" to be excluded, equivalent to running:
1134
1135         notmuch config set search.exclude_tags deleted spam
1136
1137 Raw show format changes
1138
1139   The output of show `--format=raw` has changed for multipart and
1140   message parts.  Previously, the output was a mash of somewhat-parsed
1141   headers and transfer-decoded bodies.  Now, such parts are reproduced
1142   faithfully from the original source.  Message parts (which includes
1143   part 0) output the full message, including the message headers (but
1144   not the transfer headers).  Multipart parts output the part as
1145   encoded in the original message, including the part's headers.  Leaf
1146   parts, as before, output the part's transfer-decoded body.
1147
1148 Listing configuration items
1149
1150   The new `config list` command prints out all configuration items and
1151   their values.
1152
1153 Emacs Interface
1154 ---------------
1155
1156 Changes to tagging interface
1157
1158   The user-facing tagging functions in the Emacs interface have been
1159   normalized across all notmuch modes.  The tagging functions are now
1160   notmuch-search-tag in search-mode, and notmuch-show-tag in
1161   show-mode.  They accept a string representing a single tag change,
1162   or a list of tag changes.  See 'M-x describe-function notmuch-tag'
1163   for more information.
1164
1165   NOTE: This breaks compatibility with old tagging functions, so user
1166   may need to update in custom configurations.
1167
1168 Reply improvement using the JSON format
1169
1170   Emacs now uses the JSON reply format to create replies. It obeys
1171   the customization variables message-citation-line-format and
1172   message-citation-line-function when creating the first line of the
1173   reply body, and it will quote HTML parts if no text/plain parts are
1174   available.
1175
1176 New add-on tool: notmuch-mutt
1177 -----------------------------
1178
1179 The new contrib/ tool `notmuch-mutt` provides Notmuch integration for
1180 the Mutt mail user agent. Using it, Mutt users can perform mail
1181 search, thread reconstruction, and mail tagging/untagging without
1182 leaving Mutt.  notmuch-mutt, formerly distributed under the name
1183 `mutt-notmuch` by Stefano Zacchiroli, will be maintained as a notmuch
1184 contrib/ from now on.
1185
1186 Library changes
1187 ---------------
1188
1189 The API changes detailed below break binary and source compatibility,
1190 so libnotmuch has been bumped to version 3.0.0.
1191
1192 The function `notmuch_database_close` has been split into
1193 `notmuch_database_close` and `notmuch_database_destroy`
1194
1195   This makes it possible for long running programs to close the xapian
1196   database and thus release the lock associated with it without
1197   destroying the data structures obtained from it.
1198
1199 `notmuch_database_open`, `notmuch_database_create`, and
1200 `notmuch_database_get_directory` now return errors
1201
1202   The type signatures of these functions have changed so that the
1203   functions now return a `notmuch_status_t` and take an out-argument for
1204   returning the new database object or directory object.
1205
1206 Go bindings changes
1207 -------------------
1208
1209 Go 1 compatibility
1210
1211   The go bindings and the `notmuch-addrlookup` utility are now
1212   compatible with go 1.
1213
1214 Notmuch 0.12 (2012-03-20)
1215 =========================
1216
1217 Command-Line Interface
1218 ----------------------
1219
1220 Reply to sender
1221
1222   `notmuch reply` has gained the ability to create a reply template
1223   for replying just to the sender of the message, in addition to reply
1224   to all. The feature is available through the new command line option
1225   `--reply-to=(all|sender)`.
1226
1227 Mail store folder/file ignore
1228
1229   A new configuration option, `new.ignore`, lets users specify a
1230   ;-separated list of file and directory names that will not be
1231   searched for messages by `notmuch new`.
1232
1233   NOTE: *Every* file/directory that goes by one of those names will
1234   be ignored, independent of its depth/location in the mail store.
1235
1236 Unified help and manual pages
1237
1238   The notmuch help command now runs man for the appropriate page.  If
1239   you install notmuch somewhere "unusual", you may need to update
1240   MANPATH.
1241
1242 Manual page for notmuch configuration options
1243
1244   The notmuch CLI configuration file options are now documented in the
1245   notmuch-config(1) manual page in addition to the configuration file
1246   itself.
1247
1248 Emacs Interface
1249 ---------------
1250
1251 Reply to sender
1252
1253   The Emacs interface has, with the new CLI support, gained the
1254   ability to reply to sender in addition to reply to all. In both show
1255   and search modes, 'r' has been bound to reply to sender, replacing
1256   reply to all, which now has key binding 'R'.
1257
1258 More flexible and consistent tagging operations
1259
1260   All tagging operations ('+', '-', '*') now accept multiple tags with
1261   '+' or '-' prefix, like '*' operation in notmuch-search view before.
1262
1263   '*' operation (`notmuch-show-tag-all`) is now available in
1264   notmuch-show view.
1265
1266   `notmuch-show-{add,remove}-tag` functions no longer accept tag
1267   argument, `notmuch-show-tag-message` should be used instead.  Custom
1268   bindings using these functions should be updated, e.g.:
1269
1270         (notmuch-show-remove-tag "unread")
1271
1272   should be changed to:
1273
1274         (notmuch-show-tag-message "-unread")
1275
1276 Refreshing the show view ('=' by default) no longer opens or closes messages
1277
1278   To get the old behavior of putting messages back in their initial
1279   opened/closed state, use a prefix argument, e.g., 'C-u ='.
1280
1281 Attachment buttons can be used to view or save attachments.
1282
1283   When the cursor is on an attachment button the key 's' can be used
1284   to save the attachment, the key 'v' to view the attachment in the
1285   default mailcap application, and the key 'o' prompts the user for an
1286   application to use to open the attachment. By default Enter or mouse
1287   button 1 saves the attachment but this is customisable (option
1288   Notmuch Show Part Button Default Action).
1289
1290 New functions
1291
1292   `notmuch-show-stash-mlarchive-link{,-and-go}` allow stashing and
1293   optionally visiting a URI to the current message at one of a number
1294   of Mailing List Archives.
1295
1296 Fix MML tag quoting in replies
1297
1298   The MML tag quoting fix of 0.11.1 unintentionally quoted tags
1299   inserted in `message-setup-hook`. Quoting is now limited to the
1300   cited message.
1301
1302 Show view archiving key binding changes
1303
1304   The show view archiving key bindings 'a' and 'x' now remove the
1305   "inbox" tag from the current message only (instead of thread), and
1306   move to the next message. At the last message, 'a' proceeds to the
1307   next thread in search results, and 'x' returns to search
1308   results. The thread archiving functions are now available in 'A' and
1309   'X'.
1310
1311 Support text/calendar MIME type
1312
1313   The text/calendar MIME type is now supported in addition to
1314   text/x-vcalendar.
1315
1316 Generate inline patch fake attachment file names from message subject
1317
1318   Use the message subject to generate file names for the inline patch
1319   fake attachments. The names are now similar to the ones generated by
1320   'git format-patch' instead of just "inline patch". See "Notmuch Show
1321   Insert Text/Plain Hook" in the notmuch customize interface.
1322
1323 Enable `notmuch-search-line-faces` by default
1324
1325   Make the `notmuch-search-line-faces` functionality more discoverable
1326   for new users by showing "unread" messages bold and "flagged"
1327   messages blue by default in the search view.
1328
1329 Printing Support
1330
1331   notmuch-show mode now has simple printing support, bound to '#' by
1332   default. You can customize the variable notmuch-print-mechanism.
1333
1334 Library changes
1335 ---------------
1336
1337 New functions
1338
1339   `notmuch_query_add_tag_exclude` supports the new tag exclusion
1340   feature.
1341
1342 Python bindings changes
1343 -----------------------
1344
1345 Python 3.2 compatibility
1346
1347   The python bindings are now compatible with both python 2.5+ and 3.2.
1348
1349 Added missing unicode conversions
1350
1351   Python strings have to be encoded to and decoded from utf-8 when
1352   calling libnotmuch functions. Porting the bindings to python 3.2
1353   revealed a few function calls that were missing these conversions.
1354
1355 Build fixes
1356 -----------
1357
1358 Compatibility with GMime 2.6
1359
1360   It is now possible to build notmuch against both GMime 2.4 and 2.6.
1361   However, a bug in GMime 2.6 before 2.6.5 causes notmuch not to
1362   report signatures where the signer key is unavailable (GNOME bug
1363   668085).  For compatibility with GMime 2.4's tolerance of "From "
1364   headers we require GMime 2.6 >= 2.6.7.
1365
1366 Notmuch 0.11.1 (2012-02-03)
1367 ===========================
1368
1369 Bug-fix release
1370 ---------------
1371
1372 Fix error handling in python bindings
1373
1374   The python bindings in 0.11 failed to detect NULL pointers being
1375   returned from libnotmuch functions and thus failed to raise
1376   exceptions to indicate the error condition. Any subsequent calls
1377   into libnotmuch caused segmentation faults.
1378
1379 Quote MML tags in replies
1380
1381   MML tags are text codes that Emacs uses to indicate attachments
1382   (among other things) in messages being composed.  The Emacs
1383   interface did not quote MML tags in the quoted text of a reply.
1384   User could be tricked into replying to a maliciously formatted
1385   message and not editing out the MML tags from the quoted text.  This
1386   could lead to files from the user's machine being attached to the
1387   outgoing message.  The Emacs interface now quotes these tags in
1388   reply text, so that they do not effect outgoing messages.
1389
1390 Notmuch 0.11 (2012-01-13)
1391 =========================
1392
1393 Command-Line Interface
1394 ----------------------
1395
1396 Hooks
1397
1398   Hooks have been introduced to notmuch. Hooks are scripts that notmuch
1399   invokes before and after certain actions. Initially, `notmuch new`
1400   supports `pre-new` and `post-new` hooks that are run before and after
1401   importing new messages into the database.
1402
1403 `notmuch reply --decrypt bugfix`
1404
1405   The `notmuch reply` command with `--decrypt` argument had a rarely
1406   occurring bug that caused an encrypted message not to be decrypted
1407   sometimes. This is now fixed.
1408
1409 Performance
1410 -----------
1411
1412 Automatic tag query optimization
1413
1414   `notmuch tag` now automatically optimizes the user's query to
1415   exclude messages whose tags won't change.  In the past, we've
1416   suggested that people do this by hand; this is no longer necessary.
1417
1418 Don't sort messages when creating a dump file
1419
1420   This speeds up tag dumps considerably, without any loss of
1421   information. To replicate the old behavior of sorted output (for
1422   example to compare two dump files), one can use e.g. `sort(1)`.
1423
1424 Memory Management
1425 -----------------
1426
1427 Reduction of memory leaks
1428
1429   Two memory leaks when searching and showing messages were identified
1430   and fixed in this release.
1431
1432 Emacs Interface
1433 ---------------
1434
1435 Bug fixes
1436
1437   notmuch-show-advance (bound to the spacebar in notmuch-show-mode) had
1438   a bug that caused it to always jump to the next message, even if it
1439   should have scrolled down to show more of the current message instead.
1440   This is now fixed.
1441
1442 Support `notmuch new` as a notmuch-poll-script
1443
1444   It's now possible to use `notmuch new` as a notmuch-poll-script
1445   directly. This is also the new default. This allows taking better
1446   advantage of the `notmuch new` hooks from emacs without intermediate
1447   scripts.
1448
1449 Improvements in saved search management
1450
1451   New saved searches are now appended to the list of saved searches,
1452   not inserted in front. It's also possible to define a sort function
1453   for displaying saved searches; alphabetical sort is provided.
1454
1455 Hooks for notmuch-hello
1456
1457   Two new hooks have been added: "notmuch-hello-mode-hook" (called after
1458   entering notmuch-hello-mode) and "notmuch-hello-refresh-hook" (called
1459   after updating a notmuch-hello buffer).
1460
1461 New face for crypto parts headers
1462
1463   Crypto parts used to be displayed with a hardcoded color. A new face
1464   has been introduced to fix this: notmuch-crypto-part-header. It
1465   defaults to the same value as before, but can be customized to match
1466   other color themes.
1467
1468 Use space as default thousands separator
1469
1470   Large numbers in notmuch-hello are now displayed using a space as
1471   thousands separator (e.g. "123 456" instead of "123,456"). This can be
1472   changed by customizing "notmuch-hello-thousands-separator".
1473
1474 Call notmuch-show instead of notmuch-search when clicking on
1475 buttonized id: links
1476
1477 New function notmuch-show-advance
1478
1479   This new function advances through just the current thread, and is
1480   less invasive than notmuch-show-advance-and-archive.  It can easily
1481   be bound to SPC with:
1482
1483         (define-key notmuch-show-mode-map " " 'notmuch-show-advance)
1484
1485 Various performance improvements
1486
1487 New add-on tool
1488 ---------------
1489
1490 The tool `contrib/notmuch-deliver` helps with initial delivery and
1491 tagging of mail (replacing running `notmuch new`).
1492
1493
1494 Notmuch 0.10.2 (2011-12-04)
1495 ===========================
1496
1497 Bug-fix release
1498 ---------------
1499
1500 Fix crash in python bindings
1501
1502   The python bindings did not call `g_type_init`, which caused crashes
1503   for some, but not all users.
1504
1505 Notmuch 0.10.1 (2011-11-25)
1506 ===========================
1507
1508 Bug-fix release
1509 ---------------
1510
1511 Fix `--help` argument
1512
1513   Argument processing changes in 0.10 introduced a bug where
1514   `notmuch --help` crashed while `notmuch help` worked fine.
1515   This is fixed in 0.10.1.
1516
1517 Notmuch 0.10 (2011-11-23)
1518 =========================
1519
1520 New build and testing features
1521 ------------------------------
1522
1523 Emacs tests are now done in `dtach`. This means that dtach is now
1524 needed to run the notmuch test suite, at least until the checking for
1525 prerequisites is improved.
1526
1527 Full test coverage of the stashing feature in Emacs.
1528
1529 New command-line features
1530 -------------------------
1531
1532 Add `notmuch restore --accumulate` option
1533
1534   The `--accumulate` switch causes the union of the existing and new tags to
1535   be applied, instead of replacing each message's tags as they are read in
1536   from the dump file.
1537
1538 Add search terms to `notmuch dump`
1539
1540   The dump command now takes an optional search term much like notmuch
1541   search/show/tag. The output file argument of dump is deprecated in
1542   favour of using stdout.
1543
1544 Add `notmuch search` `--offset` and `--limit` options
1545
1546   The search command now takes options `--offset=[-]N` and `--limit=N` to
1547   limit the number of results shown.
1548
1549 Add `notmuch count --output` option
1550
1551   The count command is now capable of counting threads in addition to
1552   messages. This is selected using the new `--output=(threads|messages)`
1553   option.
1554
1555 New emacs UI features
1556 ---------------------
1557
1558 Add tab-completion for `notmuch-search` and `notmuch-search-filter`
1559
1560   These functions now support completion tags for query parts
1561   starting with "tag:".
1562
1563 Turn "id:MSG-ID" links into buttons associated with notmuch searches
1564
1565   Text of the form "id:MSG-ID" in mails is now a clickable button that
1566   opens a notmuch search for the given message id.
1567
1568 Add keybinding ('c I') for stashing Message-ID's without an id: prefix
1569
1570   Reduces manual labour when stashing them for use outside notmuch.
1571
1572 Do not query on `notmuch-search` exit
1573
1574   It is harmless to kill the external notmuch process, so the user
1575   is no longer interrogated when they interrupt a search.
1576
1577 Performance
1578 -----------
1579
1580 Emacs now constructs large search buffers more efficiently
1581
1582 Search avoids opening and parsing message files
1583
1584   We now store more information in the database so search no longer
1585   has to open every message file to get basic headers.  This can
1586   improve search speed by as much as 10X, but taking advantage of this
1587   requires a database rebuild:
1588
1589         notmuch dump > notmuch.dump
1590         # Backup, then remove notmuch database ($MAIL/.notmuch)
1591         notmuch new
1592         notmuch restore notmuch.dump
1593
1594 New collection of add-on tools
1595 ------------------------------
1596
1597 The source directory "contrib" contains tools built on notmuch.  These
1598 tools are not part of notmuch, and you should check their individual
1599 licenses.  Feel free to report problems with them to the notmuch
1600 mailing list.
1601
1602 nmbug - share tags with a given prefix
1603
1604   nmbug helps maintain a git repo containing all tags with a given
1605   prefix (by default "notmuch::"). Tags can be shared by commiting
1606   them to git in one location and restoring in another.
1607
1608 Notmuch 0.9 (2011-10-01)
1609 ========================
1610
1611 New, general features
1612 ---------------------
1613
1614 Correct handling of interruptions during `notmuch new`
1615
1616   `notmuch new` now operates as a series of small, self-consistent
1617   transactions, so it can correctly resume after an interruption or
1618   crash.  Previously, interruption could lose existing tags, fail to
1619   detect messages on resume, or leave the database in a state
1620   temporarily or permanently inconsistent with the mail store.
1621
1622 Library changes
1623 ---------------
1624
1625 New functions
1626
1627   `notmuch_database_begin_atomic` and `notmuch_database_end_atomic`
1628   allow multiple database operations to be performed atomically.
1629
1630   `notmuch_database_find_message_by_filename` does exactly what it says.
1631
1632 API changes
1633
1634   `notmuch_database_find_message` (and `n_d_f_m_by_filename`) now return
1635   a status indicator and uses an output parameter for the
1636   message. This change required changing the SONAME of libnotmuch to
1637   libnotmuch.so.2
1638
1639 Python bindings changes
1640 -----------------------
1641
1642   - Re-encode python unicode objects to utf-8 before passing back to
1643     libnotmuch.
1644   - Support `Database().begin_atomic()/end_atomic()`
1645   - Support `Database().find_message_by_filename()`
1646     NB! This needs a db opened in READ-WRITE mode currently, or it will crash
1647     the python process. The is a limitation (=bug) of the underlying libnotmuch.
1648   - Fixes where we would not throw NotmuchErrors when we should (Justus Winter)
1649   - Update for `n_d_find_message*` API changes (see above).
1650
1651 Ruby bindings changes
1652 ---------------------
1653
1654   - Wrap new library functions `notmuch_database_{begin,end}_atomic.`
1655   - Add new exception `Notmuch::UnbalancedAtomicError.`
1656   - Rename destroy to destroy! according to Ruby naming conventions.
1657   - Update for `n_d_find_message*` API changes (see above).
1658
1659 Emacs improvements
1660 ------------------
1661
1662   * Add gpg callback to crypto sigstatus buttons to retrieve/refresh
1663     signing key.
1664   * Add `notmuch-show-refresh-view` function (and corresponding binding)
1665     to refresh the view of a notmuch-show buffer.
1666
1667 Reply formatting cleanup
1668 ------------------------
1669
1670   `notmuch reply` no longer includes notification that non-leafnode
1671   MIME parts are being suppressed.
1672
1673 Notmuch 0.8 (2011-09-10)
1674 ========================
1675
1676 Improved handling of message/rfc822 parts
1677
1678   Both in the CLI and the emacs interface.  Output of rfc822 parts now
1679   includes the primary headers, as well as the body and all subparts.
1680   Output of the completely raw rfc822-formatted message, including all
1681   headers, is unfortunately not yet supported (but hopefully will be
1682   soon).
1683
1684 Improved Build system portability
1685
1686   Certain parts of the shell script generating notmuch.sym were
1687   specific to the GNU versions of sed and nm. The new version should
1688   be more portable to e.g. OpenBSD.
1689
1690 Documentation update for Ruby bindings
1691
1692   Added documentation, typo fixes, and improved support for rdoc.
1693
1694 Unicode, iterator, PEP8 changes for python bindings
1695
1696   - PEP8 (code formatting) changes for python files.
1697   - Remove `Tags.__len__` ; see 0.6 release notes for motivation.
1698   - Decode headers as UTF8, encode (unicode) database paths as UTF8.
1699
1700 Notmuch 0.7 (2011-08-01)
1701 ========================
1702
1703 Vim interface improvements
1704 --------------------------
1705
1706 Jason Woofenden provided a number of bug fixes for the Vim interface
1707
1708   * fix citation/signature fold lengths
1709   * fix cig/cit parsing within multipart/*
1710   * fix on-screen instructions for show-signature
1711   * fix from list reformatting in search view
1712   * fix space key: now archives (did opposite)
1713
1714 Uwe Kleine-König contributed
1715
1716   * use full path for sendmail/doc fix
1717   * fix compose temp file name
1718
1719 Python Bindings changes
1720 -----------------------
1721
1722 Sebastian Spaeth contributed two changes related to unicode and UTF8:
1723
1724   * message tags are now explicitly unicode
1725   * query string is encoded as a UTF8 byte string
1726
1727 Build-System improvements
1728 -------------------------
1729
1730 Generate notmuch.sym after the relevant object files
1731
1732   This fixes a bug in parallel building. Thanks to Thomas Jost for the
1733   patch.
1734
1735 Notmuch 0.6.1 (2011-07-17)
1736 ==========================
1737
1738 Bug-fix release
1739 ---------------
1740
1741 Re-export Xapian exception typeinfo symbols
1742
1743   It turned out our aggressive symbol hiding caused problems for
1744   people running gcc 4.4.5.
1745
1746 Notmuch 0.6 (2011-07-01)
1747 =======================
1748
1749 New, general features
1750 ---------------------
1751
1752 Folder-based searching
1753
1754   Notmuch queries can now include a search term to match the
1755   directories in which mail files are stored (within the mail
1756   storage). The syntax is as follows:
1757
1758         folder:<path>
1759
1760   For example, one might use things such as:
1761
1762         folder:spam
1763         folder:2011-*
1764         folder:work/todo
1765
1766   to match any path containing a directory "spam", "work/todo", or
1767   containing a directory starting with "2011-", respectively.
1768
1769   This feature is particularly useful for users of delivery-agent
1770   software (such as procmail or maildrop) that is filtering mail and
1771   delivering it to particular folders, or users of systems such as
1772   Gmail that use filesystem directories to indicate message tags.
1773
1774   NOTE: Only messages that are newly indexed with this version of
1775   notmuch will be searchable with folder: terms. In order to enable
1776   this feature for all mail, the entire notmuch index will need to be
1777   rebuilt as follows:
1778
1779         notmuch dump > notmuch.dump
1780         # Backup, then remove notmuch database ($MAIL/.notmuch)
1781         notmuch new
1782         notmuch restore notmuch.dump
1783
1784 Support for PGP/MIME
1785
1786   Both the command-line interface and the emacs-interface have new
1787   support for PGP/MIME, detailed below. Thanks to Daniel Kahn Gillmor
1788   and Jameson Graef Rollins for making this happen.
1789
1790 New, automatic tags: "signed" and "encrypted"
1791
1792   These tags will automatically be applied to messages containing
1793   multipart/signed and multipart/encrypted parts.
1794
1795   NOTE: Only messages that are newly indexed with this version of
1796   notmuch will receive these tags.
1797
1798 New command-line features
1799 -------------------------
1800
1801 Add new "notmuch show --verify" option for signature verification
1802
1803   This option instruct notmuch to verify the signature of
1804   PGP/MIME-signed parts.
1805
1806 Add new "notmuch show --decrypt" and "notmuch reply --decrypt" options
1807
1808   This option instructs notmuch to decrypt PGP/MIME-encrypted parts.
1809   Note that this feature currently requires gpg-agent and a passphrase entry
1810   tool (e.g. pinentry-gtk or pinentry-curses).
1811
1812 Proper nesting of multipart parts in "notmuch show" output
1813
1814   MIME parts are now display with proper nesting to reflect original
1815   MIME hierarchy of a message. This allows clients to correctly
1816   analyze the MIME structure, (such as, for example, determining to
1817   which parts a signature part applies).
1818
1819 Add new "notmuch show --part" option
1820
1821   This is a replacement for the older "notmuch part" command, (which
1822   is now deprecated—it should still work as always, but is no longer
1823   documented). Putting part output under "notmuch show" allows for all
1824   of the "notmuch show" options to be applied when extracting a single
1825   part, (such as --format=json for extracting a message part with JSON
1826   formatting).
1827
1828 Deprecate "notmuch search-tags" (in favor of "notmuch search --output=tags *")
1829
1830   The "notmuch search-tags" sub-command has been redundant since the
1831   addition of the --output=tags option to "notmuch search". We now
1832   make that more clear by deprecating "notmuch search-tags", (dropping
1833   it from the documentation). We do continue to support the old syntax
1834   by translating it internally to the new call.
1835
1836 Performance improvements
1837 ------------------------
1838
1839 Faster searches (by doing fewer searches to construct threads)
1840
1841   Whenever a user asks for search results as threads, notmuch first
1842   performs a search for messages matching the query, then performs
1843   additional searches to find other messages in the resulting threads.
1844
1845   Removing inefficiencies and redundancies in these secondary searches
1846   results in a measured speedups of 1.5x for a typical search.
1847
1848 Faster searches (by doing fewer passes to gather message data)
1849
1850   Optimizing Xapian data access patterns (using a single pass to get
1851   all message-document data rather than a pass for each data type)
1852   results in a measured speedup of 1.7x for a typical search.
1853
1854   The benefits of this optimization combine with the preceding
1855   optimization. With both in place, Austin Clements measured a speedup
1856   of 2.5x for a search of all messages in his inbox (was 4.5s, now
1857   1.8s). Thanks, Austin!
1858
1859 Faster initial indexing
1860
1861   More efficient indexing of new messages results in a measured
1862   speedup of 1.4x for the initial indexing of 3 GB of mail (1h 14m
1863   rather than 1h 46m). Thanks to Austin Clements and Michal Sojka.
1864
1865 Make "notmuch new" faster for unchanged directories
1866
1867   Optimizing to not do any further examinations of sub-directories
1868   when the filesystem indicates that a directory is unchanged from the
1869   last "notmuch new" results in measured speedups of 8.5 for the "No
1870   new mail" case, (was 0.77s, now 0.09s). Thanks to Karel Zak.
1871
1872 New emacs-interface features
1873 ----------------------------
1874
1875 Support for PGP/MIME (GnuPG)
1876
1877   Automatically indicate validity of signatures for multipart/signed
1878   messages.  Automatically display decrypted content for
1879   multipart/encrypted messages.  See the emacs variable
1880   notmuch-crypto-process-mime for more information. Note that this
1881   needs gpg-agent and a pinentry tool just as the command-line tools.
1882   Also note there is no support SMIME yet.
1883
1884 Output of pipe command is now displayed if pipe command fails
1885
1886   This is extremely useful in the common use case of piping a patch to
1887   "git am". If git fails to cleanly merge the patch the error messages
1888   from the failed merge are now clearly displayed to the user, (where
1889   previously they were silently hidden from the user).
1890
1891 User-selectable From address
1892
1893   A user can choose which configured email addresses should be used as
1894   the From address whenever composing a new message. To do so, simply
1895   press C-u before the command which will open a new message. Emacs
1896   will prompt for the from address to use.
1897
1898   The user can customize the "Notmuch Identities" setting in the
1899   notmuch customize group in order to use addresses other than those in
1900   the notmuch configuration file if desired.
1901
1902   The user can also choose to always be prompted for the from address
1903   when composing a new message (without having to use C-u) by setting
1904   the "Notmuch Always Prompt For Sender" option in the notmuch
1905   customize group.
1906
1907 Hiding of repeated subjects in collapsed thread view
1908
1909   In notmuch-show mode, if a collapsed message has the same subject as
1910   its parent, the subject is not shown.
1911
1912 Automatic detection and hiding of original message in top-posted message
1913
1914   When a message contains a line looking something like:
1915
1916         ----- Original Message -----
1917
1918   emacs hides this and all subsequent lines as an "original message",
1919   (allowing the user to click or press enter on the "original message"
1920   button to display it again). This makes the handling of top-posted
1921   citations work much like conventional citations.
1922
1923 New hooks for running code when tags are modified
1924
1925   Some users want to perform additional actions whenever a particular
1926   tag is added/removed from a message. This could be used to, for
1927   example, interface with some external spam-recognition training
1928   tool. To facilitate this, two new hooks are added which can be
1929   modified in the following settings of the notmuch customize group:
1930
1931         Notmuch Before Tag Hook
1932         Notmuch After Tag Hook
1933
1934 New optional support for hiding some multipart/alternative parts
1935
1936   Many emails are sent with redundant content within a
1937   multipart/alternative group (such as a text/plain part as well as a
1938   text/html part). Users can configure the setting:
1939
1940         Notmuch Show All Multipart/Alternative Parts
1941
1942   to "off" in the notmuch customize group to have the interface
1943   automatically hide some part alternatives (such as text/html
1944   parts). This new part hiding is not configured by default yet
1945   because there's not yet a simple way to re-display such a hidden
1946   part if it is not actually redundant with a displayed part.
1947
1948 Better rendering of text/x-vcalendar parts
1949
1950   These parts are now displayed in a format suitable for use with the
1951   emacs diary.
1952
1953 Avoid getting confused by Subject and Author fields with newline characters
1954
1955   Replacing all characters with ASCII code less than 32 with a question mark.
1956
1957 Cleaner display of From line in email messages
1958
1959   Remove double quotes, and drop "name" if it's actually just a repeat of
1960   the email address.
1961
1962 Vim interface improvements
1963 --------------------------
1964
1965 Felipe Contreras provided a number of updates for the vim interface:
1966
1967   * Using sendmail directly rather than mailx,
1968   * Implementing archive in show view
1969   * Add support to mark as read in show and search views
1970   * Add delete commands
1971   * Various cleanups.
1972
1973 Bindings improvements
1974 ---------------------
1975
1976 Ruby bindings are now much more complete
1977
1978   Including `QUERY.sort`, `QUERY.to_s`, `MESSAGE.maildir_flags_to_tags`,
1979   `MESSAGE.tags_to_maildir_flags`, and `MESSAGE.get_filenames`
1980
1981 Python bindings have been updated and extended
1982
1983   (docs online at http://packages.python.org/notmuch/)
1984
1985   New bindings:
1986
1987   - `Message().get_filenames()`, `Message().tags_to_maildir_flags()`,
1988     `Message().maildir_flags_to_tags()`, `list(Threads())` and
1989     `list(Messages)` works now
1990   - `Message().__cmp__()` and `__hash__()`
1991
1992   These allow, for example:
1993
1994         if msg1 == msg2: ...
1995
1996   As well as set arithmetic on `Messages()`:
1997
1998         s1, s2 = set(msgs1), set(msgs2)
1999         s1.union(s2)
2000         s2 -= s1
2001
2002   Removed:
2003
2004   - `len(Messages())` as it exhausted the iterator
2005
2006   Use `len(list(Messages()))` or `Query.count_messages()`
2007   to get the length.
2008
2009 Added initial Go bindings in bindings/go
2010
2011 New build-system features
2012 -------------------------
2013
2014 Added support for building in a directory other than the source directory
2015
2016   This can be used with the widely-supported idiom of simply running
2017   the configure script from some other directory:
2018
2019         mkdir build
2020         cd build
2021         ../configure
2022         make
2023
2024 Fix to save configure options for future, implicit runs of configure
2025
2026   When a user updates the source (such as with "git pull") calling
2027   "make" may cause an automatic re-run of the configure script. When
2028   this happens, the configure script will automatically be called with
2029   the same options the user originally passed in the most-recent
2030   manual invocation of configure.
2031
2032 New test-suite feature
2033 ----------------------
2034
2035 Binary for bash for running test suite now located via PATH
2036
2037   The notmuch test suite requires a fairly recent version of bash (>=
2038   bash 4). As some systems supply an older version of bash at
2039   /bin/bash, the test suite is now updated to search $PATH to locate
2040   the bash binary. This allows users of systems with old /bin/bash to
2041   simply install bash >= 4 somewhere on $PATH before /bin and then use
2042   the test suite.
2043
2044 Support for testing output with a trailing newline
2045
2046   Previously, some tests would fail to notice a difference in the
2047   presence/absence of a trailing newline in a program output, (which
2048   has led to bugs in the past). Now, carefully-written tests (using
2049   `test_expect_equal_file` rather than `test_expect_equal`) will detect
2050   any change in the presence/absence of a trailing newline. Many tests
2051   are updated to take advantage of this.
2052
2053 Avoiding accessing user's $HOME while running test suite
2054
2055   The test suite now carefully creates its own HOME directory. This
2056   allows the test suite to be run with no existing HOME directory, (as
2057   some build systems apparently do), and avoids test-suite differences
2058   due to configuration files in the users HOME directory.
2059
2060
2061 General bug fixes
2062 -----------------
2063
2064 Output *all* files for "notmuch search --output=files"
2065
2066   For the cases where multiple files have the same Message ID,
2067   previous versions of notmuch would output only one such file. This
2068   command is now fixed to correctly output all files.
2069
2070 Fixed spurious search results from "overlapped" indexing of addresses
2071
2072   This fixed a bug where a search for:
2073
2074         to:user@elsewhere.com
2075
2076   would incorrectly match a message sent:
2077
2078         To: user@example,com, someone@elsewhere.com
2079
2080 Fix --output=json when search has no results
2081
2082   A bug present since notmuch 0.4 had caused searches with no results
2083   to produce an invalid json object. This is now fixed to cleanly
2084   return a valid json object representing an empty array "[]" as
2085   expected.
2086
2087 Fix the automatic detection of the From address for "notmuch reply"
2088 from the Received headers in some cases
2089
2090 Fix core dump on DragonFlyBSD due to -1 return value from
2091 `sysconf(_SC_GETPW_R_SIZE_MAX)`
2092
2093 Cleaned up several memory leaks
2094
2095 Eliminated a few, rare segmentation faults and a double-free
2096
2097 Fix libnotmuch library to only export notmuch API functions
2098
2099   Previous release of the notmuch library also exported some Xapian
2100   C++ exception type symbols. These were never part of the library
2101   interface and were never intended to be exported.
2102
2103 Emacs-interface bug fixes
2104 -------------------------
2105
2106 Display any unexpected output or errors from "notmuch search" invocations
2107
2108   Previously any misformatted output or trailing error messages were
2109   silently ignored. This output is now clearly displayed. This fix was
2110   very helpful in identifying and fixing the bug described below.
2111
2112 Fix bug where some threads would be missing from large search results
2113
2114   When a search returned a "large" number of results, the emacs
2115   interface was incorrectly dropping one thread every time the output
2116   of the "notmuch search" process spanned the emacs read-buffer. This
2117   is now fixed.
2118
2119 Avoid re-compression of .gz files (and similar) when saving attachment
2120
2121   Emacs was being too clever for its own good and trying to
2122   re-compress pre-compressed .gz files when saving such attachments
2123   (potentially corrupting the attachment). The emacs interface is
2124   fixed to avoid this bug.
2125
2126 Fix hiding of a message when a previously-hidden citation is visible
2127
2128   Previously the citation would remain visible in this case. This is
2129   fixed so that hiding a message hides all parts.
2130
2131 Notmuch 0.5 (2010-11-11)
2132 ========================
2133
2134 New, general features
2135 ---------------------
2136
2137 Maildir-flag synchronization
2138
2139   Notmuch now knows how to synchronize flags in maildir filenames with
2140   tags in the notmuch database. The following flag/tag mappings are
2141   supported:
2142
2143         Flag <-> Tag
2144         ----     -----
2145         'D'      draft
2146         'F'      flagged
2147         'P'      passed
2148         'R'      replied
2149         'S'      unread (added when 'S' flag is not present)
2150
2151   The synchronization occurs in both directions, (for example, adding
2152   the 'S' flag to a file will cause the "unread" tag to be added, and
2153   adding the "replied" tag to a message will cause the file to be
2154   renamed with an 'R' flag).
2155
2156   This synchronization is enabled by default for users of the
2157   command-line interface, (though only files in directories named
2158   "cur" or "new" will be renamed). It can be disabled by setting the
2159   new `maildir.synchronize_flags` option in the configuration file. For
2160   example:
2161
2162         notmuch config set maildir.synchronize_flags false
2163
2164   Users upgrading may also want to run "notmuch setup" once (just
2165   accept the existing configuration) to get a new, nicely-commented
2166   [maildir] section added to the configuration file.
2167
2168   For users of the notmuch library, the new synchronization
2169   functionality is available with the following two new functions:
2170
2171         notmuch_message_maildir_flags_to_tags
2172         notmuch_message_tags_to_maildir_flags
2173
2174   It is anticipated that future improvements to this support will
2175   allow for safe synchronization of the 'T' flag with the "deleted"
2176   tag, as well as support for custom flag/tag mappings.
2177
2178 New library features
2179 --------------------
2180
2181 Support for querying multiple filenames for a single message
2182
2183   It is common for the mailstore to contain multiple files with the
2184   same message ID. Previously, notmuch would always hide these
2185   duplicate files, (returning a single, arbitrary filename with
2186   `notmuch_message_get_filename`).
2187
2188   With this release, library users can access all filenames for a
2189   message with the new function:
2190
2191         notmuch_message_get_filenames
2192
2193   Together with `notmuch_filenames_valid`, `notmuch_filenames_get`,
2194   and `notmuch_filenames_move_to_next` it is now possible to iterate
2195   over all available filenames for a given message.
2196
2197 New command-line features
2198 -------------------------
2199
2200 New "notmuch show --format=raw" for getting at original email contents
2201
2202   This new feature allows for a fully-functional email client to be
2203   built on top of the notmuch command-line without needing any direct
2204   access to the mail store itself.
2205
2206   For example, it's now possible to run "emacs -f notmuch" on a local
2207   machine with only ssh access to the mail store/notmuch database. To
2208   do this, simply set the notmuch-command variable in emacs to the
2209   name of a script containing:
2210
2211         ssh user@host notmuch "$@"
2212
2213   If the ssh client has enabled connection sharing (ControlMaster
2214   option in OpenSSH), the emacs interface can be quite responsive this
2215   way.
2216
2217 General bug fixes
2218 -----------------
2219
2220 Fix "notmuch search" to print nothing when nothing matches
2221
2222   The 0.4 release had a bug in which:
2223
2224         notmuch search <expression-with-no-matches>
2225
2226   would produce a single blank line of output, (where previous
2227   versions would produce no output. This fix also causes a change in
2228   the --format=json output, (which would previously produce "[]" and
2229   now produces nothing).
2230
2231 Emacs interface improvements
2232 ----------------------------
2233
2234 Fix to allow pipe ('|') command to work when using notmuch over ssh
2235
2236 Fix count of lines in hidden signatures
2237
2238 Omit repeated subject lines in (collapsed) thread display
2239
2240 Display current thread subject in a header line
2241
2242 Provide a "c i" binding to copy a thread ID from the search view
2243
2244 Allow for notmuch-fcc-dirs to have a value of nil
2245
2246   Also, the more complex form of notmuch-fcc-dirs now has a slightly
2247   different format. It no longer has a special first-element, fallback
2248   string. Instead it's now a list of cons cells where the car of each
2249   cell is a regular expression to be matched against the sender
2250   address, and the cdr is the name of a folder to use for an FCC. So
2251   the old fallback behavior can be achieved by including a final cell
2252   of (".*" . "default-fcc-folder").
2253
2254 Vim interface improvements
2255 --------------------------
2256
2257 Felipe Contreras provided a number of updates for the vim interface
2258
2259   These include optimizations, support for newer versions of vim, fixed
2260   support for sending mail on modern systems, new commands, and
2261   various cleanups.
2262
2263 New bindings
2264 ------------
2265
2266 Added initial ruby bindings in bindings/ruby
2267
2268 Notmuch 0.4 (2010-11-01)
2269 ========================
2270
2271 New command-line features
2272 -------------------------
2273
2274 `notmuch search --output=(summary|threads|messages|tags|files)`
2275
2276   This new option allows for particular items to be returned from
2277   notmuch searches. The "summary" option is the default and behaves
2278   just as "notmuch search" has historically behaved.
2279
2280   The new option values allow for thread IDs, message IDs, lists of
2281   tags, and lists of filenames to be returned from searches. It is
2282   expected that this new option will be very useful in shell
2283   scripts. For example:
2284
2285         for file in $(notmuch search --output=files <search-terms>); do
2286                 <operations-on> "$file"
2287         done
2288
2289 `notmuch show --format=mbox <search-specification>`
2290
2291   This new option allows for the messages matching a search
2292   specification to be presented as an mbox. Specifically the "mboxrd"
2293   format is used which allows for reversible quoting of lines
2294   beginning with "From ". A reader should remove a single '>' from the
2295   beginning of all lines beginning with one or more '>' characters
2296   followed by the 5 characters "From ".
2297
2298 `notmuch config [get|set] <section>.<item> [value ...]`
2299
2300   The new top-level "config" command allows for any value in the
2301   notmuch configuration file to be queried or set to a new value. Both
2302   single-valued and multi-valued items are supported, as our any
2303   custom items stored in the configuration file.
2304
2305 Avoid setting Bcc header in "notmuch reply"
2306
2307   We decided that this was a bit heavy-handed as the actual mail
2308   user-agent should be responsible for setting any Bcc option. Also,
2309   see below for the notmuch/emacs user-agent now setting an Fcc by
2310   default rather than Bcc.
2311
2312 New library features
2313 --------------------
2314
2315 Add `notmuch_query_get_query_string` and `notmuch_query_get_sort`
2316
2317   These are simply functions for querying properties of a
2318   `notmuch_query_t` object.
2319
2320 New emacs features
2321 ------------------
2322
2323 Enable Fcc of all sent messages by default (to "sent" directory)
2324
2325   All messages sent from the emacs interface will now be saved to the
2326   notmuch mail store where they will be incorporated to the database
2327   by the next "notmuch new". By default, messages are saved to the
2328   "sent" directory at the top-level of the mail store. This directory
2329   can be customized by means of the "Notmuch Fcc Dirs" option in the
2330   notmuch customize interface.
2331
2332 Ability to all open messages in a thread to a pipe
2333
2334   Historically, the '|' keybinding allows for piping a single message
2335   to an external command. Now, by prefixing this key with a prefix
2336   argument, (for example, by pressing "Control-U |"), all open
2337   messages in the current thread will be sent to the external command.
2338
2339 Optional support for detecting inline patches
2340
2341   This hook is disabled by default but can be enabled with a checkbox
2342   under "Notmuch Show Insert Text/Plain Hook" in the notmuch customize
2343   interface. It allows for inline patches to be detected and treated
2344   as if they were attachments, (with context-sensitive highlighting).
2345
2346 Automatically tag messages as "replied" when sending a reply
2347
2348   Messages replied to within the emacs interface will now be tagged as
2349   "replied". This feature can easily be customized to add or remove
2350   other tags as well. For example, a user might use a tag of
2351   "needs-reply" and can configure this feature to automatically remove
2352   that tag when replying. See "Notmuch Message Mark Replied" in the
2353   notmuch customize interface.
2354
2355 Allow search-result color specifications to overlay each other
2356
2357   For example, one tag can specify the background color of matching
2358   lines, while another can specify the foreground. With this change,
2359   both settings will now be visible simultaneously, (which was not the
2360   case in previous releases). See "Notmuch Search Line Faces" in the
2361   notmuch customize interface.
2362
2363 Make hidden author names still available for incremental search
2364
2365   When there is insufficient space to display all authors of a thread
2366   in search results, the names of hidden authors are now still made
2367   available to emacs' incremental search commands. As the user
2368   searches, matching lines will temporarily expand to show the hidden
2369   names.
2370
2371 New binding of Control-TAB (works like TAB in reverse)
2372
2373   Many notmuch nodes already use TAB to navigate forward through
2374   various items allowing actions, (message headers, email attachments,
2375   etc.). The new Control-TAB binding operates similarly but in the
2376   opposite direction.
2377
2378 New build-system features
2379 -------------------------
2380
2381 Various portability fixes have been applied
2382
2383   These include fixes for build failures on at least Solaris, FreeBSD,
2384   and Fedora systems. We're hopeful that the notmuch code base is now
2385   more portable than ever before.
2386
2387 Arrange for libnotmuch to be found automatically after make install
2388
2389   The notmuch build system is now careful to help the user avoid
2390   errors of the form "libnotmuch.so could not be found" immediately
2391   after installing. This support takes two forms:
2392
2393   1. If the library is installed to a system directory,
2394      (configured in /etc/ld.so.conf), then "make install" will
2395      automatically run ldconfig.
2396
2397   2. If the library is installed to a non-system directory, the
2398      build system adds a `DR_RUNPATH` entry to the final binary
2399      pointing to the directory to which the library is installed.
2400
2401   When this support works, the user should be able to run notmuch
2402   immediately after "make install", without any errors trying to find
2403   the notmuch library, and without having to manually set environment
2404   variables such as `LD_LIBRARY_PATH`.
2405
2406 Check compiler/linker options before using them
2407
2408   The configure script now carefully checks that any desired
2409   compilation options, (whether for enabling compiler warnings, or for
2410   embedding rpath, etc.), are supported. Only supported options are
2411   used in the resulting Makefile.
2412
2413 New test-suite features
2414 -----------------------
2415
2416 New modularization of test suite
2417
2418   Thanks to a gracious relicensing of the test-suite infrastructure
2419   from the git project, notmuch now has a modular test suite. This
2420   provides the ability to run individual sections of the test suite
2421   rather than the whole things. It also provides better summary of
2422   test results, with support for tests that are expected to fail
2423   (BROKEN and FIXED) in addition to PASS and FAIL. Finally, it makes
2424   it easy to run the test suite within valgrind (pass --valgrind to
2425   notmuch-test or to any sub-script) which has been very useful.
2426
2427 New testing of emacs interface
2428
2429   The test suite has been augmented to allow automated testing of the
2430   emacs interfaces. So far, this includes basic searches, display of
2431   threads, and tag manipulation. This also includes a test that a new
2432   message can successfully be sent out through a (dummy) SMTP server
2433   and that said message is successfully integrated into the notmuch
2434   database via the FCC setting.
2435
2436 General bug fixes
2437 -----------------
2438
2439 Fix potential corruption of database when "notmuch new" is interrupted
2440
2441   Previously, an interruption of "notmuch new" would (rarely) result
2442   in a corrupt database. The corruption would manifest itself by a
2443   persistent error of the form:
2444
2445         document ID of 1234 has no thread ID
2446
2447   The message-adding code has been carefully audited and reworked to
2448   avoid this sort of corruption regardless of when it is interrupted.
2449
2450 Fix failure with extremely long message ID headers
2451
2452   Previously, a message with an extremely long message ID, (say, more
2453   than 300 characters), would fail to be added to notmuch, (triggering
2454   Xapian exceptions). This has now been fixed.
2455
2456 Fix for messages with "charset=unknown-8bit"
2457
2458   Previously, messages with this charset would cause notmuch to emit a
2459   GMime warning, (which would then trip up emacs or other interfaces
2460   parsing the notmuch results).
2461
2462 Fix `notmuch_query_search_threads` function to return NULL on any exception
2463
2464 Fix "notmuch search" to return non-zero if `notmuch_query_search_threads`
2465 fails
2466
2467   Previously, this command could confusingly report a Xapian
2468   exception, yet still return an error code of 0. It now correctly
2469   returns a failing error code of 1 in this case.
2470
2471 Emacs bug fixes
2472 ---------------
2473
2474 Fix to handle a message with a subject containing, for example "[1234]"
2475
2476   Previously, a message subject containing a sequence of digits within
2477   square brackets would cause the emacs interface to mis-parse the
2478   output of "notmuch search". This would result in the message being
2479   mis-displayed and prevent the user from manipulating the message in
2480   the emacs interface.
2481
2482 Fix to correctly handle message IDs containing ".."
2483
2484   The emacs interface now properly quotes message IDs to avoid a
2485   Xapian bug in which the ".." within a message ID would be
2486   misinterpreted as a numeric range specification.
2487
2488 Python-binding fixes
2489 --------------------
2490
2491 The python bindings for notmuch have been updated to work with python3.
2492
2493 Debian-specific fixes
2494 ---------------------
2495
2496 Fix emacs initialization so "M-x notmuch" works for users by default
2497
2498   Now, a new Debian user can immediately run "emacs -f notmuch" after
2499   "apt-get install notmuch". Previously, the user would have had to
2500   edit the ~/.emacs file to add "(require 'notmuch)" before this would
2501   work.
2502
2503 Notmuch 0.3.1 (2010-04-27)
2504 ==========================
2505
2506 General bug fixes
2507 -----------------
2508
2509 Fix an infinite loop in "notmuch reply"
2510
2511   This bug could be triggered by replying to a message where the
2512   user's primary email address did not appear in the To: header and
2513   the user had not configured any secondary email addresses. The bug
2514   was a simple re-use of the same iterator variable in nested loops.
2515
2516 Fix a potential SEGV in "notmuch search"
2517
2518   This bug could be triggered by an author name ending in a ','.
2519   Admittedly - that's almost certainly a spam email, but we never
2520   want notmuch to crash.
2521
2522 Emacs bug fixes
2523 ---------------
2524
2525 Fix calculations for line wrapping in the primary "notmuch" view
2526
2527 Fix Fcc support to prompt to create a directory if the specified Fcc
2528 directory does not exist
2529
2530 Build fix
2531 ---------
2532
2533 Fix build on OpenSolaris (at least) due to missing 'extern "C"' block
2534
2535   Without this, the C++ sources could not find strcasestr and the
2536   final linking of notmuch would fail.
2537
2538 Notmuch 0.3 (2010-04-27)
2539 ========================
2540
2541 New command-line features
2542 -------------------------
2543
2544 User-configurable tags for new messages
2545
2546   A new "new.tags" option is available in the configuration file to
2547   determine which tags are applied to new messages. Run "notmuch
2548   setup" to generate new documentation within ~/.notmuch-config on how
2549   to specify this value.
2550
2551 Threads search results named based on subjects that match search
2552
2553   This means that when new mails arrived to a thread you've previously
2554   read, and the new mails have a new subject, you will see that
2555   subject in the search results rather than the old subject.
2556
2557 Faster operation of "notmuch tag" (avoid unneeded sorting)
2558
2559   Since the user just wants to tag all matching messages, we can make
2560   things perform a bit faster by avoiding the sort.
2561
2562 Even Better guessing of From: header for "notmuch reply"
2563
2564   Notmuch now looks at a number of headers when trying to figure out
2565   the best From: header to use in a reply. This is helpful if you have
2566   several configured email addresses, and you also subscribe to various
2567   mailing lists with different addresses, (so that mails you are
2568   replying to won't always include your subscribed address in the To:
2569   header).
2570
2571 Indication of author names that match a search
2572
2573   When notmuch displays threads as the result of a search, it now
2574   lists the authors that match the search before listing the other
2575   authors in the thread. It inserts a pipe '|' symbol between the last
2576   matching and first non-matching author. This is especially useful in
2577   a search that includes tag:unread. Now the authors of the unread
2578   messages in the thread are listed first.
2579
2580 New: Python bindings
2581 --------------------
2582
2583 Sebastian Spaeth has contributed his python bindings for the notmuch
2584 library to the central repository. These bindings were previously
2585 known as "cnotmuch" within python but have now been renamed to be
2586 accessible with a simple, and more official-looking "import notmuch".
2587
2588 The bindings have already proven very useful as people proficient in
2589 python have been able to easily develop programs to do notmuch-based
2590 searches for email-address completion, maildir-flag synchronization,
2591 and other tasks.
2592
2593 These bindings are available within the bindings/python directory, but
2594 are not yet integrated into the top-level Makefiles, nor the top-level
2595 package-building scripts. Improvements are welcome.
2596
2597 Emacs interface improvements
2598 ----------------------------
2599
2600 An entirely new initial view for notmuch, (friendly yet powerful)
2601
2602   Some of us call the new view "notmuch hello" but you can get at it
2603   by simply calling "emacs -f notmuch". The new view provides a search
2604   bar where new searches can be performed. It also displays a list of
2605   recent searches, along with a button to save any of these, giving it
2606   a new name as a "saved search". Many people find these "saved
2607   searches" one of the most convenient ways of organizing their mail,
2608   (providing all of the features of "folders" in other mail clients,
2609   but without any of the disadvantages).
2610
2611   Finally, this view can also optionally display all of the tags that
2612   exist in the database, along with a count for each tag, and a custom
2613   search of messages with that tag that's simply a click (or keypress)
2614   away.
2615
2616   NOTE: For users that liked the original mode of "emacs -f notmuch"
2617   immediately displaying a particular search result, we recommend
2618   instead running something like:
2619
2620         emacs --eval '(notmuch search "tag:inbox" t)'
2621
2622   The "t" means to sort the messages in an "oldest first" order,
2623   (as notmuch would do previously by default). You can also
2624   leave that off to have your search results in "newest first"
2625   order.
2626
2627 Full-featured "customize" support for configuring notmuch
2628
2629   Notmuch now plugs in well to the emacs "customize" mode to make it
2630   much simpler to find things about the notmuch interface that can be
2631   tweaked by the user.
2632
2633   You can get to this mode by starting at the main "Customize" menu in
2634   emacs, then browsing through "Applications", "Mail", and
2635   "Notmuch". Or you can go straight to "M-x customize-group"
2636   "notmuch".
2637
2638   Once you're at the customize screen, you'll see a list of documented
2639   options that can be manipulated along with checkboxes, drop-down
2640   selectors, and text-entry boxes for configuring the various
2641   settings.
2642
2643 Support for doing tab-completion of email addresses
2644
2645   This support currently relies on an external program,
2646   (notmuch-addresses), that is not yet shipped with notmuch
2647   itself. But multiple, suitable implementations of this program have
2648   already been written that generate address completions by doing
2649   notmuch searches of your email collection. For example, providing
2650   first those addresses that you have composed messages to in the
2651   past, etc.
2652
2653   One such program (implemented in python with the python bindings to
2654   notmuch) is available via:
2655
2656         git clone  http://jkr.acm.jhu.edu/git/notmuch_addresses.git
2657
2658   Install that program as notmuch-addresses on your PATH, and then
2659   hitting TAB on a partial email address or name within the To: or Cc:
2660   line of an email message will provide matching completions.
2661
2662 Support for file-based (Fcc) delivery of sent messages to mail store
2663
2664   This isn't yet enabled by default. To enable this, one will have to
2665   set the "Notmuch Fcc Dirs" setting within the notmuch customize
2666   screen, (see its documentation there for details). We anticipate
2667   making this automatic in a future release.
2668
2669 New 'G' key binding to trigger mail refresh (G == "Get new mail")
2670
2671   The 'G' key works wherever '=' works. Before refreshing the screen
2672   it calls an external program that can be used to poll email servers,
2673   run notmuch new and setup specific tags for the new emails. The
2674   script to be called should be configured with the "Notmuch Poll
2675   Script" setting in the customize interface. This script will
2676   typically invoke "notmuch new" and then perhaps several "notmuch
2677   tag" commands.
2678
2679 Implement emacs message display with the JSON output from notmuch
2680
2681   This is much more robust than the previous implementation, (where
2682   some HTML mails and mail quoting the notmuch code with the delimiter
2683   characters in it would cause the parser to fall over).
2684
2685 Better handling of HTML messages and MIME attachments (inline images!)
2686
2687   Allow for any MIME parts that emacs can display to be displayed
2688   inline. This includes inline viewing of image attachments, (provided
2689   the window is large enough to fit the image at its natural size).
2690
2691   Much more robust handling of HTML messages. Currently both text/plain
2692   and text/html alternates will be rendered next to each other. In a
2693   future release, users will be able to decide to see only one or the
2694   other representation.
2695
2696   Each attachment now has its own button so that attachments can be
2697   saved individually (the 'w' key is still available to save all
2698   attachments).
2699
2700 Customizable support for tidying of text/plain message content
2701
2702   Many new functions are available for tidying up message
2703   content. These include options such as wrapping long lines,
2704   compressing duplicate blank lines, etc.
2705
2706   Most of these are disabled by default, but can easily be enabled by
2707   clicking the available check boxes under the "Notmuch Show Insert
2708   Text/Plain Hook" within the notmuch customize screen.
2709
2710 New support for searchable citations (even when hidden)
2711
2712   When portions of overly-long citations are hidden, the contents of
2713   these citations will still be available for emacs' standard
2714   "incremental search" functions. When the search matches any portion
2715   of a hidden citation, the citation will become visible temporarily
2716   to display the search result.
2717
2718 More flexible handling of header visibility
2719
2720   As an answer to complaints from many users, the To, Cc, and Date
2721   headers of messages are no longer hidden by default. For those users
2722   that liked that these were hidden, a new "Notmuch Messages Headers
2723   Visible" option in the customize interface can be set to nil. The
2724   visibility of headers can still be toggled on a per-message basis
2725   with the 'h' keybinding.
2726
2727   For users that don't want to see some subset of those headers, the
2728   new "Notmuch Message Headers" variable can be customized to list
2729   only those headers that should be present in the display of a message.
2730
2731 The Return key now toggles message visibility anywhere
2732
2733   Previously this worked only on the first summary-line of a message.
2734
2735 Customizable formatting of search results
2736
2737   The user can easily customize the order, width, and formatting of
2738   the various fields in a "notmuch search" buffer. See the "Notmuch
2739   Search Result Format" section of the customize interface.
2740
2741 Generate nicer names for search buffers when using a saved search
2742
2743 Add a notmuch User-Agent header when sending mail from notmuch/emacs
2744
2745 New keybinding (M-Ret) to open all collapsed messages in a thread
2746
2747 New library feature
2748 -------------------
2749
2750 Provide a new `NOTMUCH_SORT_UNSORTED` value for queries
2751
2752   This can be somewhat faster when sorting simply isn't desired. For
2753   example when collecting a set of messages that will all be
2754   manipulated identically, (adding a tag, removing a tag, deleting the
2755   messages), then there's no advantage to sorting the messages by
2756   date.
2757
2758 Build fixes
2759 -----------
2760
2761 Fix to compile against GMime 2.6
2762
2763   Previously notmuch insisted on being able to find GMime 2.4, (even
2764   though GMime 2.6 would have worked all along).
2765
2766 Fix configure script to accept (and ignore) various standard options
2767
2768   For example, those that the Gentoo build scripts expect configure to
2769   accept are now all accepted.
2770
2771 Test suite
2772 ----------
2773
2774 A large number of new tests for the many new features
2775
2776 Better display of output from failed tests
2777
2778   Now shows failures with diff rather than forcing the user to gaze at
2779   complete actual and expected output looking for deviation.
2780
2781 Notmuch 0.2 (2010-04-16)
2782 ========================
2783
2784 This is the second release of the notmuch mail system, with actual
2785 detailed release notes this time!
2786
2787 This release consists of a number of minor new features that make
2788 notmuch more pleasant to use, and a few fairly major bug fixes.
2789
2790 We didn't quite hit our release target of "about a week" from the 0.1
2791 release, (0.2 is happening 11 days after 0.1), but we hope to do
2792 better for next week. Look forward to some major features coming to
2793 notmuch in subsequent releases.
2794
2795 -Carl
2796
2797 General features
2798 ----------------
2799
2800 Better guessing of From: header
2801
2802   Notmuch now tries harder to guess which configured address should be
2803   used as the From: line in a "notmuch reply". It will examine the
2804   Received: headers if it fails to find any configured address in To:
2805   or Cc:. This allows it to often choose the correct address even when
2806   replying to a message sent to a mailing list, and not directly to a
2807   configured address.
2808
2809 Make "notmuch count" with no arguments count all messages
2810
2811   Previously, it was hard to construct a search term that was
2812   guaranteed to match all messages.
2813
2814 Provide a new special-case search term of "*" to match all messages
2815
2816   This can be used in any command accepting a search term, such as
2817   "notmuch search '*'". Note that you'll want to take care that the
2818   shell doesn't expand * against the current files. And note that the
2819   support for "*" is a special case. It's only meaningful as a single
2820   search term and loses its special meaning when combined with any
2821   other search terms.
2822
2823 Automatically detect thread connections even when a parent message is
2824 missing
2825
2826   Previously, if two or more message were received with a common
2827   parent, but that parent was not received, then these messages would
2828   not be recognized as belonging to the same thread. This is now fixed
2829   so that such messages are properly connected in a thread.
2830
2831 General bug fixes
2832 -----------------
2833
2834 Fix potential data loss in "notmuch new" with SIGINT
2835
2836   One code path in "notmuch new" was not properly handling
2837   SIGINT. Previously, this could lead to messages being removed from
2838   the database (and their tags being lost) if the user pressed
2839   Control-C while "notmuch new" was working.
2840
2841 Fix segfault when a message includes a MIME part that is empty
2842
2843 Fix handling of non-ASCII characters with --format=json
2844
2845   Previously, characters outside the range of 7-bit ASCII were
2846   silently dropped from the JSON output. This led to corrupted display
2847   of utf-8 content in the upcoming notmuch web-based frontends.
2848
2849 Fix headers to be properly decoded in "notmuch reply"
2850
2851   Previously, the user might see:
2852
2853         Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?=
2854
2855   rather than:
2856
2857         Subject: Re: Rozlučka
2858
2859   The former text is properly encoded to be RFC-compliant SMTP, will
2860   be sent correctly, and will be properly decoded by the
2861   recipient. But the user trying to edit the reply would likely be
2862   unable to read or edit that field in its encoded form.
2863
2864 Emacs client features
2865 ---------------------
2866
2867 Show the last few lines of citations as well as the first few lines
2868
2869   It's often the case that the last sentence of a citation is what is
2870   being replied to directly, so the last few lines are often much more
2871   important. The number of lines shown at the beginning and end of any
2872   citation can be configured, (notmuch-show-citation-lines-prefix and
2873   notmuch-show-citation-lines-suffix).
2874
2875 The '+' and '-' commands in the search view can now add and remove
2876 tags by region
2877
2878   Selective bulk tagging is now possible by selecting a region of
2879   threads and then using either the '+' or '-' keybindings. Bulk
2880   tagging is still available for all threads matching the current
2881   search with the '*' binding.
2882
2883 More meaningful buffer names for thread-view buffers
2884
2885   Notmuch now uses the Subject of the thread as the buffer
2886   name. Previously it was using the thread ID, which is a meaningless
2887   number to the user.
2888
2889 Provide for customized colors of threads in search view based on tags
2890
2891   See the documentation of notmuch-search-line-faces, (or us "M-x
2892   customize" and browse to the "notmuch" group within "Applications"
2893   and "Mail"), for details on how to configure this colorization.
2894
2895 Build-system features
2896 ---------------------
2897
2898 Add support to properly build libnotmuch on Darwin systems (OS X)
2899
2900 Add support to configure for many standard options
2901
2902   We include actual support for:
2903
2904         --includedir --mandir --sysconfdir
2905
2906   And accept and silently ignore several more:
2907
2908         --build --infodir --libexecdir --localstatedir
2909         --disable-maintainer-mode --disable-dependency-tracking
2910
2911 Install emacs client in "make install" rather than requiring a
2912 separate "make install-emacs"
2913
2914 Automatically compute versions numbers between releases
2915
2916   This support uses the git-describe notation, so a version such as
2917   0.1-144-g43cbbfc indicates a version that is 144 commits since the
2918   0.1 release and is available as git commit "43cbbfc".
2919
2920 Add a new "make test" target to run the test suite and actually
2921 verify its results
2922
2923 Notmuch 0.1 (2010-04-05)
2924 ========================
2925
2926 This is the first release of the notmuch mail system.
2927
2928 It includes the libnotmuch library, the notmuch command-line
2929 interface, and an emacs-based interface to notmuch.
2930
2931 Note: Notmuch will work best with Xapian 1.0.18 (or later) or Xapian
2932 1.1.4 (or later). Previous versions of Xapian (whether 1.0 or 1.1) had
2933 a performance bug that made notmuch very slow when modifying
2934 tags. This would cause distracting pauses when reading mail while
2935 notmuch would wait for Xapian when removing the "inbox" and "unread"
2936 tags from messages in a thread.
2937
2938
2939 <!--
2940  Local variables:
2941  mode: text
2942  tab-width: 8
2943  indent-tabs-mode: nil
2944  End:
2945  vi: sw=8 ts=8 et
2946 -->