]> git.notmuchmail.org Git - notmuch/blob - NEWS
NEWS: News for my changes for 0.29
[notmuch] / NEWS
1 Notmuch 0.29 (UNRELEASED)
2 =========================
3
4 General
5 -------
6
7 Add "body:" field to allow searching for terms that occur only in the
8 message body. Users will need to reindex their mail to take advantage
9 of this feature.
10
11 Add support for indexing user specified headers (e.g. List-Id). See
12 notmuch-config(1) for details. This requires reindexing after changing
13 the set of headers to be indexed.
14
15 Fix bug for searching in some headers for Xapian keywords in quoted
16 strings.
17
18 Add support for gzip compressed mail messages (/not/ multi-message
19 mboxes); e.g. `gzip -9 $MAIL/archive/giant-message && notmuch new`
20 should work. Note that maildir flag syncing for gzipped messages is
21 currently untested.
22
23 Command Line Interface
24 ----------------------
25
26 `notmuch show` now supports --body=false and --include-html with
27 --format=text
28
29 Fix several performance problems with `notmuch reindex`.
30
31 Emacs
32 -----
33
34 The minimum supported major version of Emacs is now 24.
35
36 Support for GNU Emacs older than 25.1 is deprecated with this release,
37 and may be removed in a future release.
38
39 Notmuch-emacs documentation is somewhat expanded. More contributions
40 are very welcome.
41
42 Build System
43 ------------
44
45 Notmuch release tarballs are now compressed with `xz`.
46
47 We now provide conventional detached signatures of the release
48 tarballs in addition to the signed `sha256sum` files.
49
50 Dependencies
51 ------------
52
53 Support for GMime 2.6 is removed. The minimum supported version of
54 GMime is now 3.0.3.  GMime also needs to have been compiled with
55 cryptography support.
56
57 Notmuch 0.28.4 (2019-05-05)
58 ===========================
59
60 Command line interface
61 ----------------------
62
63 Fix a spurious error when using `notmuch show --raw` on messages whose
64 size is a multiple of the internal buffer size.
65
66 Notmuch 0.28.3 (2019-03-05)
67 ===========================
68
69 Library
70 -------
71
72 Fix a bug with the internal data structure _notmuch_string_map_t used
73 by message properties.
74
75 Build System
76 ------------
77
78 Serialize calls to sphinx-build to avoid race condition.
79 `
80 Notmuch 0.28.2 (2019-02-17)
81 ===========================
82
83 Emacs
84 -----
85
86 Invoke gpg with --batch and --no-tty.
87
88 Python Bindings
89 ---------------
90
91 Fix documentation build with Python 3.7. Note that Python >= 3.3 is
92 now needed to build this documentation.
93
94 Notmuch 0.28.1 (2019-02-01)
95 ===========================
96
97 Build System
98 ------------
99
100 `configure` no longer uses the special variable BASH, as this causes
101 problems on systems where /bin/sh is bash.
102
103 Notmuch 0.28 (2018-10-12)
104 =========================
105
106 General
107 -------
108
109 Improve threading
110
111   The threading algorithm has been updated to consider all references,
112   not just the heuristically chosen parent (e.g. when that parent is
113   not in the database). The heuristic for choosing a parent message
114   has also been updated to again consider the In-Reply-To header, if
115   it looks sensible. Re-indexing might be needed to take advantage of
116   the latter change.
117
118 Handle mislabelled Windows-1252 parts
119
120   Messages that contain Windows-1252 are apparently frequently
121   mislabelled as ISO 8859-1. Use GMime functionality to apply the
122   correct encoding for such messages.
123
124 Command Line Interface
125 ----------------------
126
127 Support relative database paths
128
129   Database paths (i.e. parameters to `notmuch config set
130   database.path`) without a leading `/` are now interpreted relative
131   to $HOME of the invoking user.
132
133 Emacs
134 -----
135
136 Improve stderr handling
137
138   Add a real sentinel process to clean up stderr buffer. This is
139   needed on e.g. macOS.
140
141 Call `notmuch-mua-send-hook` hooks when sending a message
142
143   This hook was documented, but not functional for a very long time.
144
145 Completion
146 ----------
147
148 The zsh completion has been updated to cover most of the notmuch
149 CLI. Internally it uses regexp searching, so needs at least Notmuch
150 0.24.
151
152 Build System
153 ------------
154
155 The build system now installs notmuch-mutt and notmuch-emacs-mua with
156 absolute shebangs, following the conventions of most Linux
157 distributions.
158
159 Test Suite
160 ----------
161
162 Fix certain tests that were failing with GMime 2.6. Users are reminded
163 that support for versions of GMime before 3.0.3 has been deprecated
164 since Notmuch 0.25.
165
166 Notmuch 0.27 (2018-06-13)
167 =========================
168
169 General
170 -------
171
172 Add support for thread:{} queries
173
174   Queries of the form `thread:{foo} and thread:{bar}` match threads
175   containing (possibly distinct) messages matching foo and bar. See
176   `notmuch-search-terms(7)` for details.
177
178 Command Line Interface
179 ----------------------
180
181 Add the --full-scan option to `notmuch new`
182
183   This option disables mtime based optimization of scanning for new mail.
184
185 Add new --decrypt=stash option for `notmuch show`
186
187   This facilitates a workflow for encrypted messages where message
188   cleartext are indexed on first read, but the user's decryption key
189   does not have to be available during message receipt.
190
191 Documentation
192 -------------
193
194 An initial manual for `notmuch-emacs` is now installed by default (in
195 `info` format).
196
197 Dependencies
198 ------------
199
200 As of this release, support for versions of Xapian before 1.4.0 is
201 deprecated, and may disappear in a future release of notmuch.
202
203 Notmuch 0.26.2 (2018-04-28)
204 ===========================
205
206 Library Changes
207 ---------------
208
209 Work around Xapian bug with `get_mset(0,0, x)`
210
211   This causes aborts in `_notmuch_query_count_documents` on
212   e.g. Fedora 28.  The underlying bug is fixed in Xapian commit
213   f92e2a936c1592, and will be fixed in Xapian 1.4.6.
214
215 Make thread indexing more robust against reference loops
216
217   Choose a thread root by date in case of reference loops. Fix a
218   related abort in `notmuch show`.
219
220 Notmuch 0.26.1 (2018-04-02)
221 ===========================
222
223 Library Changes
224 ---------------
225
226 Bump the library minor version. This should have happened in 0.26, but
227 better late than never.
228
229
230 Notmuch 0.26 (2018-01-09)
231 =========================
232
233 Command Line Interface
234 ----------------------
235
236 Support for re-indexing existing messages
237
238   There is a new subcommand, `notmuch reindex`, which re-indexes all
239   messages matching supplied search terms.  This permits users to
240   change the way specific messages are indexed.
241
242   Note that for messages with multiple variants in the message
243   archive, the recorded Subject: of may change upon reindexing,
244   depending on the order in which the variants are indexed.
245
246 Improved error reporting in notmuch new
247
248   Give more details when reporting certain Xapian exceptions.
249
250 Support maildir synced tags in `new.tags`
251
252   Tags `draft`, `flagged`, `passed`, and `replied` are now supported
253   in `new.tags`. The tag `unread` is still special in the presence of
254   maildir syncing, and will be added for files in `new/` regardless of
255   the setting of `new.tags`.
256
257 Support /regex/ in new.ignore
258
259   Files and directories may be ignored based on regular expressions.
260
261 Allow `notmuch insert --folder=""`
262
263   This inserts into the top level folder.
264
265 Strip trailing '/' from folder path for notmuch insert
266
267   This prevents a potential problem with duplicated database records.
268
269 New option --output=address for notmuch address
270
271 Make `notmuch show` more robust against deleting duplicate files
272
273 The option --decrypt now takes an explicit argument
274
275   The --decrypt option to `notmuch show` and `notmuch reply` now takes
276   an explicit argument.  If you were used to invoking `notmuch show
277   --decrypt`, you should switch to `notmuch show --decrypt=true`.
278
279 Boolean and keyword arguments now take a `--no-` prefix
280
281 Encrypted Mail
282 --------------
283
284 Indexing cleartext of encrypted e-mails
285
286   It's now possible to include the cleartext of encrypted e-mails in
287   the notmuch index.  This makes it possible to search your encrypted
288   e-mails with the same ease as searching cleartext.  This can be done
289   on a per-message basis by passing --decrypt=true to indexing
290   commands (new, insert, reindex), or by default by running "notmuch
291   config set index.decrypt true".
292
293   Encrypted messages whose cleartext is indexed will typically also
294   have their session keys stashed as properties associated with the
295   message.  Stashed session keys permit rapid rendering of long
296   encrypted threads, and disposal of expired encryption-capable keys.
297   If for some reason you want cleartext indexing without stashed
298   session keys, use --decrypt=nostash for your indexing commands (or
299   run "notmuch config set index.decrypt nostash"). See `index.decrypt`
300   in notmuch-config(1) for more details.
301
302   Note that stashed session keys permit reconstruction of the
303   cleartext of the encrypted message itself, and the contents of the
304   index are roughly equivalent to the cleartext as well.  DO NOT USE
305   this feature without considering the security of your index.
306
307 Emacs
308 -----
309
310 Guard against concurrent searches in notmuch-tree
311
312 Use make-process when available
313
314   This allows newer Emacs to separate stdout and stderr from the
315   notmuch command without using temporary files.
316
317 Library Changes
318 ---------------
319
320 Indexing files with duplicate message-id
321
322   Files with duplicate message-id's are now indexed, and searchable
323   via terms and phrases. There are known issues related to
324   presentation of results and regular-expression search, but in
325   principle no mail file should be completely unsearchable now.
326
327 New functions to count files
328
329   Two new functions in the libnotmuch API:
330   `notmuch_message_count_files`, and `notmuch_thread_get_total_files`.
331
332 New function to remove properties
333
334   A new function was added to the libnotmuch API to make it easier to
335   drop all properties with a common pattern:
336   `notmuch_message_remove_all_properties_with_prefix`
337
338 Change of return value of `notmuch_thread_get_authors`
339
340   In certain corner cases, `notmuch_thread_get_authors` previously
341   returned NULL.  This has been replaced by an empty string, since the
342   possibility of NULL was not documented.
343
344 Transition `notmuch_database_add_message` to `notmuch_database_index_file`
345
346   When indexing an e-mail message, the new
347   `notmuch_database_index_file` function is the preferred form, and
348   the old `notmuch_database_add_message` is deprecated.  The new form
349   allows passing a set of options to the indexing engine, which the
350   operator may decide to change from message to message.
351
352 Test Suite
353 ----------
354
355 Out-of-tree builds
356
357   The test suite now works properly with out-of-tree builds, i.e. with
358   separate source and build directories. The --root option to tests
359   has been dropped. The same can now be achieved more reliably using
360   out-of-tree builds.
361
362 Python Bindings
363 ---------------
364
365 Python bindings specific Debian packaging is removed
366
367   The bindings have been build by the top level Debian packaging for a
368   long time, and `bindings/python/debian` has bit-rotted.
369
370 Open mail files in binary mode when using Python 3
371
372   This avoids certain encoding related crashes under Python 3.
373
374 Add python bindings for `notmuch_database_{get,set}_config*`
375
376 Optional `decrypt_policy` flag is available for notmuch.database().index_file()
377
378 nmbug
379 -----
380
381 nmbug's internal version increases to 0.3 in this notmuch release.
382 User-facing changes with this notmuch release:
383
384 * Accept failures to unset `core.worktree` in `clone`, which allows
385   nmbug to be used with Git 2.11.0 and later.
386 * Auto-checkout in `clone` if it wouldn't clobber existing content,
387   which makes the initial clone more convenient.
388 * Only error for invalid diff lines in `tags/`, which allows for
389   `README`s and similar in nmbug repositories.
390
391 Documentation
392 -------------
393
394 New man page: notmuch-properties(7)
395
396   This new page to the manual describes common conventions for how
397   properties are used by libnotmuch, the CLI, and associated programs.
398   External projects that use properties are encouraged to claim their
399   properties and conventions here to avoid collisions.
400
401 Notmuch 0.25.3 (2017-12-08)
402 ===========================
403
404 Emacs
405 -----
406
407 Extend mitigation (disabling handling x-display in text/enriched) for
408 Emacs bug #28350 to Emacs versions before 24.4 (i.e. without
409 `advice-add`).
410
411 Command Line Interface
412 ----------------------
413
414 Correctly report userid validity. Fix test suite failure for GMime >=
415 3.0.3. This change raises the minimum supported version of GMime 3.x
416 to 3.0.3.
417
418 Notmuch 0.25.2 (2017-11-05)
419 ===========================
420
421 Command Line Interface
422 ----------------------
423
424 Fix segfault in notmuch-show crypto handling when compiled against
425 GMime 2.6; this was a regression in 0.25.
426
427 General
428 -------
429
430 Support for GMime before 3.0 is now deprecated, and will be removed in
431 a future release.
432
433 Notmuch 0.25.1 (2017-09-11)
434 ===========================
435
436 Emacs
437 -----
438
439 Disable handling x-display in text/enriched messages. Mitigation for
440 Emacs bug #28350.
441
442 Notmuch 0.25 (2017-07-25)
443 =========================
444
445 General
446 -------
447
448 Add regexp searching for mid, paths, and tags.
449
450 Skip HTML tags when indexing
451
452   In particular this avoids indexing large inline images.
453
454 Command Line Interface
455 ----------------------
456
457 Bash completion is now installed to /usr/share by default.
458
459 Allow space as separator for keyword arguments.
460
461 Emacs
462 -----
463
464 Support for stashing message timestamp in show and tree views
465
466   Invoking `notmuch-show-stash-date` with a prefix argument
467   stashes the unix timestamp of the current message instead of
468   the date string.
469
470 Don't use 'function' as variable name, workaround emacs bug 26406.
471
472 Library Changes
473 ---------------
474
475 Add workaround for date parsing of bad input in older GMime
476
477   In certain circumstances, older GMime libraries could return
478   negative numbers when parsing syntactically invalid dates.
479
480 Replace deprecated functions with status returning versions
481
482   API of notmuch_query_{search,count}_{messages,threads} has
483   changed.  notmuch_query_add_tag_exclude now returns a status
484   value.
485
486 Add support for building against GMime 3.0.
487
488 Rename libutil.a to libnotmuch_util.a.
489
490 libnotmuch SONAME is incremented to libnotmuch.so.5.
491
492 Notmuch 0.24.2 (2017-06-01)
493 ===========================
494
495 Command Line Interface
496 ----------------------
497
498 Fix output from `notmuch dump --include=properties` to not include tags.
499
500 Emacs
501 -----
502
503 Fix filename stashing in tree view.
504
505 Notmuch 0.24.1 (2017-04-01)
506 ===========================
507
508 General
509 -------
510
511 Fix regressions in non-regexp search for `from:` and `subject:`
512
513   The regexp search code in 0.24 introduced a regression in the
514   handling of empty queries and wildcards. These are both corrected in
515   this release.
516
517 Command Line Interface
518 ----------------------
519
520 Fix several memory leaks in `notmuch show`
521
522 Update NEWS for 0.24 to mention schema changes
523
524 Fix bug in dump header
525
526   The previous version of the dump header failed to mention the
527   inclusion of tags. This fix bumps the version number of the dump
528   format to 3. There are no other changes to the format.
529
530 Library Changes
531 ---------------
532
533 Fix a read-after-free in the library.
534
535 Notmuch 0.24 (2017-03-12)
536 =========================
537
538 General
539 -------
540
541 Regular expression searches supported for `from:` and `subject:`
542
543   This requires recent Xapian (1.4+) See notmuch-search-terms(7) for
544   details.
545
546 Command Line Interface
547 ----------------------
548
549 Run external `notmuch-` prefixed commands as subcommands
550
551   You can now add your own `notmuch-` prefixed commands in PATH, and
552   have notmuch run them as if they were notmuch commands. See the
553   `notmuch(1)` man page for details
554
555 New default output format to 3
556
557   See devel/schemata for details. Users of the structured output
558   format are reminded of the `--format-version` argument to `notmuch
559   show` and `notmuch search` which can prevent breakage when the
560   default format changes.
561
562 Emacs
563 -----
564
565 Postpone and resume messages in `notmuch-message-mode` (composition)
566
567   Notmuch now has built in support for postponing, saving and resuming
568   messages. The default bindings are C-x C-s to save a draft, C-c C-p
569   to postpone a draft (save and exit compose buffer), and "e" in show
570   or tree view to resume.
571
572   Draft messages are tagged with `notmuch-draft-tags` (draft by
573   default) so you may wish to add that to the excluded tags list. When
574   saving a previously saved draft message the earlier draft gets
575   tagged deleted.
576
577   Note that attachments added before postponing will be included as
578   they were when you postponed in the final message.
579
580 Address Completion
581
582   It is now possible to save the list of address completions for
583   notmuch's internal completion between runs of emacs. This makes the
584   first calls to address completion much better and faster. For
585   privacy reasons it is disabled by default, to enable set or
586   customize `notmuch-address-save-filename`.
587
588 Tag jump menu
589
590   It is now possible to configure tagging shortcuts (with an interface
591   like notmuch jump). For example (by default) k u will remove the
592   unread tag, and k s will add a tag "spam" and remove the inbox
593   tag. Pressing k twice will do the reverse operation so, for example,
594   k k s removes the spam tag and adds the inbox tag. See the customize
595   variable `notmuch-tagging-keys` for more information.
596
597 Refresh all buffers
598
599   It is now possible to refresh all notmuch buffers to reflect the
600   current state of the database with a single command, `M-=`.
601
602 Stop display of `application/*` parts
603
604   By default gnus displays all `application/*` parts such as
605   application/zip in the message buffer. This has several undesirable
606   effects for notmuch (security, triggering errors etc). Notmuch now
607   overrides this and does not display them by default. If you have
608   customized `mm-inline-override-types` then we assume you know what
609   you want and do not interfere; if you do want to stop the display of
610   `application/*` add `application/*` to your customization. If you want
611   to allow `application/*` then set `mm-inline-override-types` to
612   "non/existent".
613
614 Small change in the api for notmuch-search-tag
615
616   When `notmuch-search-tag` is called non-interactively and the region
617   is set, then it only tags the threads in the region. (Previously it
618   only tagged the current thread.)
619
620 Bugfix for sending messages with very long headers
621
622   Previously emacs didn't fold very long headers when sending which
623   could cause the MTA to refuse to send the message. This makes sure
624   it does fold any long headers so the message is RFC compliant.
625
626 `notmuch emacs-mua` command installed with the Emacs interface
627
628   We've carried a `notmuch-emacs-mua` script in the source tree for
629   quite some time. It can be used to launch the Notmuch Emacs
630   interface from the command line in many different ways. Starting
631   with this release, it will be installed with the Emacs
632   interface. With the new external subcommand support, the script
633   transparently becomes a new notmuch command. See the
634   `notmuch-emacs-mua(1)` man page for details.
635
636 Notmuch Emacs desktop integration
637
638   The desktop integration file will now be installed with the Notmuch
639   Emacs interface, adding a Notmuch menu item and configuration to
640   allow the user to set up Notmuch Emacs as the `mailto:` URL handler.
641
642 Library changes
643 ---------------
644
645 `notmuch_query_count_messages` is now non-destructive
646
647   Internally the implementation of excludes has changed to make this
648   possible.
649
650 Improved handling of DatabaseModifiedError
651
652   Previously uncaught exceptions reading message metadata are now
653   handled.
654
655 Notmuch 0.23.7 (2017-02-28)
656 ===========================
657
658 Test Suite
659 ----------
660
661 Drop use of gpgconf --create-socketdir. Move $GNUPGHOME to /tmp.
662
663   It turns out the hardcoded use of /run/user in gpg doesn't work out
664   that well in some environments. The more low tech fix is to move all
665   of $GNUPGHOME to somewhere where we can control the length of the
666   paths.
667
668 Notmuch 0.23.6 (2017-02-27)
669 ===========================
670
671 Command Line Interface
672 ----------------------
673
674 Fix read-after-free bug in `notmuch new`.
675
676 Test Suite
677 ----------
678
679 Use gpgconf --create-socketdir if available.
680
681   GnuPG has a facility to use sockets in /run or /var/run to avoid
682   problems with long socket paths, but this is not enabled by default
683   for GNUPGHOME other than $HOME/.gnupg. Enable it, if possible.
684
685 Notmuch 0.23.5 (2017-01-09)
686 ===========================
687
688 Build system
689 ------------
690
691 Fix quoting bug in configure. This had introduced a RUNPATH into the
692 notmuch binary in cases where it was not not needed.
693
694 Notmuch 0.23.4 (2016-12-24)
695 ===========================
696
697 Command Line Interface
698 ----------------------
699
700 Improve error handling in notmuch insert
701
702   Database lock errors no longer prevent message file delivery to the
703   filesystem.  Certain errors during `notmuch insert` most likely to
704   be temporary return EX_TEMPFAIL.
705
706 Emacs
707 -----
708
709 Restore autoload cookie for notmuch-search.
710
711 Notmuch 0.23.3 (2016-11-27)
712 ===========================
713
714 Command Line Interface
715 ----------------------
716
717 Treat disappearing files during notmuch new as non-fatal.
718
719 Test Suite
720 ----------
721
722 Fix incompatibility (related to signature size) with gnupg 2.1.16.
723
724 Notmuch 0.23.2 (2016-11-20)
725 ===========================
726
727 Emacs
728 -----
729
730 Fix notmuch-interesting-buffer and notmuch-cycle-notmuch-buffers.
731
732   notmuch-tree-mode and notmuch-message-mode buffers are now
733   considered interesting by `notmuch-interesting-buffer` and
734   `notmuch-cycle-notmuch-buffers`.
735
736 Restore compatibility with Emacs 23.
737
738   Notmuch support for Emacs 23 is now deprecated.
739
740 Notmuch 0.23.1 (2016-10-23)
741 ===========================
742
743 General
744 -------
745
746 Require Xapian >= 1.2.6
747
748   The ifdef branch for older Xapian (pre-compact API) had bit-rotted.
749
750 Emacs
751 -----
752
753 Fix default colours for unread and flagged messages
754
755   In 0.23 the default colours for unread and flagged messages in
756   search view were accidentally swapped. This release returns them to
757   the original colours.
758
759   A related change in 0.23 broke the customize widget for
760   notmuch-search-line-faces. This is now fixed.
761
762 Fix test failure with Emacs 25.1
763
764   A previously undiscovered jit-lock related bug was exposed by Emacs
765   25, causing a notmuch-show mode test to fail. This release fixes the
766   bug, and hence the test.
767
768 Notmuch 0.23 (2016-10-03)
769 =========================
770
771 General (Xapian 1.4+)
772 ---------------------
773
774 Compiling against Xapian 1.4 enables several new features.
775
776 Support for single argument date: queries
777
778   `date:<expr>` is equivalent to `date:<expr>..<expr>`.
779
780 Support for blocking opens
781
782   When opening a database notmuch by default will wait for another
783   process to release a write lock, rather than returning an error.
784
785 Support for named queries
786
787   Named queries (also known as 'saved searches') can be defined with a
788   `query:name` format. The expansion of these queries is stored in the
789   database and they can be used from any notmuch client.
790
791 Library
792 -------
793
794 Message property API
795
796   libnotmuch now supports the attachment of arbitrary key-value pairs
797   to messages. These can be used by various tools to manage their
798   private data without polluting the user tag space. They also support
799   iteration of values with the same key or same key prefix.
800
801 Bug fix for `notmuch_directory_set_mtime`
802
803   Update cached mtime to match on-disk mtime.
804
805 CLI
806 ---
807
808 Support for compile time options
809
810   A group of `built_with` keys is now supported for notmuch
811   config. Initial keys in this group are `compact`, `field_processor`,
812   and `retry_lock`.
813
814 Dump/Restore support for configuration information and properties
815
816   Any configuration information stored in the database (initially just
817   named queries) is dumped and restored. Similarly any properties
818   attached to messages are also dumped and restored. Any new
819   information in the dump format is prefixed by '#' to allow existing
820   scripts to ignore it.
821
822 Emacs
823 -----
824
825 Make notmuch-message-mode use insert for fcc
826
827   Notmuch-message-mode now defaults to using notmuch insert for
828   fcc. The old file based fcc behaviour can be restored by setting the
829   defcustom `notmuch-maildir-use-notmuch-insert` to nil.
830
831   When using notmuch insert, `notmuch-fcc-dirs` must be a subdirectory
832   of the mailstore (absolute paths are not permitted) followed by any
833   tag changes to be applied to the inserted message. The tag changes
834   are applied after the default tagging for new messages. For example
835   setting the header to "sentmail -inbox +sent" would insert the
836   message in the subdirectory sentmail of the mailstore, add the tag
837   "sent", and not add the (normally added) "inbox" tag.
838
839   Finally, if the insert fails (e.g. if the database is locked) the
840   user is presented with the option to retry, ignore, or edit the
841   header.
842
843 Make internal address completion customizable
844
845   There is a new defcustom `notmuch-address-internal-completion` which
846   controls how the internal completion works: it allows the user to
847   choose whether to match on messages the user sent, or the user
848   received, and to filter the messages used for the match, for example
849   by date.
850
851 Allow internal address completion on an individual basis
852
853   There is a new function `notmuch-address-toggle-internal-completion`
854   (by default it has no keybinding) which allows users who normally
855   use an external completion command to use the builtin internal
856   completion for the current buffer.
857
858   Alternatively, if the user has company-mode enabled, then the user
859   can use company mode commands such as `company-complete` to
860   activate the builtin completion for an individual completion.
861
862 Resend messages
863
864   The function `notmuch-show-resend-message` (bound to `b` in show
865   and tree modes) will (attempt to) send current message to new
866   recipients. The headers of the message won't be altered (e.g. `To:`
867   may point to yourself). New `Resent-To:`, `Resent-From:` and so on
868   will be added instead.
869
870 Face customization is easier
871
872   New faces `notmuch-tag-unread`, `notmuch-tag-flagged`,
873   `notmuch-tag-deleted`, `notmuch-tag-added`,
874   `notmuch-search-flagged-face` and `notmuch-search-unread-face` are
875   now used by default. Customize `notmuch-faces` to modify them.
876
877 Omit User-Agent header by default when sending mail
878
879 Ruby Bindings
880 -------------
881
882 Add support for `notmuch_database_get_all_tags`
883
884 Go Bindings
885 -----------
886
887 Go bindings moved to contrib
888
889 Add support for `notmuch_threads_t` and `notmuch_thread_t`
890
891 Fixed constant values so they are not all zero anymore
892
893   Previously, it was impossible to open writable database handles,
894   because `DATABASE_MODE_READ_ONLY` and `DATABASE_MODE_READ_WRITE` were
895   both set to zero.
896   The same issue occurred with sort modes.
897
898 Notmuch 0.22.2 (2016-09-08)
899 ===========================
900
901 Test Suite
902 ----------
903
904 Silence gdb more
905
906   Have gdb write to a log file instead of stdout, hiding some more
907   (harmless) stderr chatter which causes test failures.
908
909 Hardcode fingerprint in PGP/MIME tests
910
911   Make the tests more robust against changing GnuPG output formats.
912
913 Notmuch 0.22.1 (2016-07-19)
914 ===========================
915
916 Library
917 -------
918
919 Correct the definition of `LIBNOTMUCH_CHECK_VERSION`.
920
921 Document the (lack of) operations permitted on a closed database.
922
923 Test Suite
924 ----------
925
926 Fix race condition in dump / restore tests.
927
928 Notmuch-Mutt
929 ------------
930
931 Use `env` to locate perl.
932
933 Emacs
934 -----
935
936 Tell `message-mode` mode that outgoing messages are mail
937
938   This makes message-mode configuration behave more predictably.
939
940 Respect charset of MIME parts when reading them
941
942   Fix previous assumption that everyone uses UTF-8.
943
944 Notmuch 0.22 (2016-04-26)
945 =========================
946
947 General
948 -------
949
950 Xapian 1.3 support
951
952   Notmuch should now build (and the test suite should pass) on recent
953   releases of Xapian 1.3.x. It has been tested with Xapian 1.3.5.
954
955 Limited support for S/MIME messages
956
957   Signature verification is supported, but not decryption. S/MIME
958   signature creation and S/MIME encryption are supported via built-in
959   support in Emacs. S/MIME support is not extensively tested at this
960   time.
961
962 Bug Fixes
963
964    Fix for threading bug involving deleting and re-adding
965    messages. Fix for case-sensitive content disposition headers. Fix
966    handling of 1 character directory names at top level.
967
968 Command Line Interface
969 ----------------------
970
971 `notmuch show` now supports verifying S/MIME signatures
972
973   This support relies on an appropriately configured `gpgsm`.
974
975 Build System
976 ------------
977
978 Drop dependency on "pkg-config emacs".
979
980 Emacs Interface
981 ---------------
982
983 Notmuch replies now include all parts shown in the show view
984
985   There are two main user visible changes. The first is that rfc822
986   parts are now included in replies.
987
988   The second change is that part headers are now included in the reply
989   buffer to provide visible separation of the parts. The choice of
990   which part headers to show is customizable via the variable
991   `notmuch-mua-reply-insert-header-p-function`.
992
993 Filtering or Limiting messages is now bound to `l` in the search view
994
995   This binding now matches the analogous binding in show view.
996
997 `F` forwards all open messages in a thread
998
999   When viewing a thread of messages, the new binding `F` can be used
1000   to generate a new outgoing message which forwards all of the open
1001   messages in the thread. This is analogous to the `f` binding, which
1002   forwards only the current message.
1003
1004 Preferred content type can be determined from the message content
1005
1006   More flexibility in choosing which sub-part of a
1007   multipart/alternative part is initially shown is available by
1008   setting `notmuch-multipart/alternative-discouraged` to a function
1009   that returns a list of discouraged types. The function so specified
1010   is passed the message as an argument and can examine the message
1011   content to determine which content types should be discouraged. This
1012   is in addition to the current capabilities (i.e. setting
1013   `notmuch-multipart/alternative-discouraged` to a list of discouraged
1014   types).
1015
1016 When viewing a thread ("show" mode), queries that match no messages no
1017 longer generate empty buffers
1018
1019   Should an attempt be made to view the thread corresponding to a
1020   query that matches no messages, a warning message is now displayed
1021   and the terminal bell rung rather than displaying an empty buffer
1022   (or, in some cases, displaying an empty buffer and throwing an
1023   error). This also affects re-display of the current thread.
1024
1025 Handle S/MIME signatures in emacs
1026
1027   The emacs interface is now capable making and verifying S/MIME
1028   signatures.
1029
1030 `notmuch-message-address-insinuate` is now a no-op
1031
1032   This reduces the amount of interference with non-notmuch uses of
1033   message-mode.
1034
1035 Address completion improvements
1036
1037   An external script is no longer needed for address completion; if
1038   you previously configured one, customize the variable
1039   `notmuch-address-command` to try the internal completion. If
1040   `company-mode` is available, notmuch uses it by default for
1041   interactive address completion.
1042
1043 Test and experiment with the emacs MUA available in source tree
1044
1045   `./devel/try-emacs-mua` runs emacs and fills the window with
1046   information how to try the MUA safely. Emacs is configured to use
1047   the notmuch (lisp) files located in `./emacs` directory.
1048
1049 Documentation
1050 -------------
1051
1052 New `notmuch-report(1)` and `notmuch-report.json(5)` man pages
1053 describe `notmuch-report` and its JSON configuration file.  You can
1054 build these files by running `make` in the `devel/nmbug/doc`
1055 directory.
1056
1057 notmuch-report
1058 --------------
1059
1060 Renamed from `nmbug-status`.  This script generates reports based on
1061 notmuch queries, and doesn't really have anything to do with nmbug,
1062 except for sharing the `NMBGIT` environment variable.  The new name
1063 focuses on the script's action, instead of its historical association
1064 with the nmbug workflow.  This should make it more discoverable for
1065 users looking for generic notmuch reporting tools.
1066
1067 The default configuration file name (extracted from the `config`
1068 branch of `NBMGIT` has changed from `status-config.json` to
1069 `notmuch-report.json` so it is more obviously associated with the
1070 report-generating script.  The configuration file also has a new
1071 `meta.message-url` setting, which is documented in
1072 `notmuch-report.json(5)`.
1073
1074 `notmuch-report` now wraps query phrases in parentheses when and-ing
1075 them together, to avoid confusion about clause grouping.
1076
1077 Notmuch 0.21 (2015-10-29)
1078 =========================
1079
1080 General
1081 -------
1082
1083 Notmuch now requires gmime >= 2.6.7. The gmime 2.4 series is no longer
1084 supported.
1085
1086 Database revision tracking: `lastmod:` queries
1087
1088   Each message now has a metadata revision number that increases with
1089   every tagging operation. See the discussion of `lastmod:` in
1090   `notmuch-search-terms(7)` for more information.
1091
1092 Date queries now support `date:<expr>..!` shorthand for
1093 `date:<expr>..<expr>`
1094
1095   You can use, for example, `date:yesterday..!` to match from the
1096   beginning of yesterday to the end of yesterday. For further details,
1097   please refer to the `notmuch-search-terms` manual page.
1098
1099 Notmuch database upgrade to support `lastmod:` queries
1100
1101   The above mentioned `lastmod:` prefix. This will be done
1102   automatically, without prompting on the next time `notmuch new` is
1103   run after the upgrade. The upgrade is not reversible, and the
1104   upgraded database will not be readable by older versions of
1105   Notmuch. As a safeguard, a database dump will be created in the
1106   `.notmuch` directory before upgrading.
1107
1108 Build System
1109 ------------
1110
1111 The ruby bindings are now built as part of the main notmuch build
1112 process. This can be disabled with the `--without-ruby` option to
1113 configure.
1114
1115 Building the documentation can be disabled with the `--without-docs`
1116 option to configure.
1117
1118 Skipped individual tests are no longer considered as failures.
1119
1120 Command Line Interface
1121 ----------------------
1122
1123 Database revision tracking
1124
1125   Two new options were added to support revision tracking. A global
1126   option "--uuid" (`notmuch(1)`) was added for to detect counter
1127   rollover and reinitialization, and `notmuch-count(1)` gained a
1128   `--lastmod` option to query database revision tracking data.
1129
1130 The `notmuch address` command supports new deduplication schemes
1131
1132   `notmuch address` has gained a new `--deduplicate` option to specify
1133   how the results should be deduplicated, if at all. The alternatives
1134   are `no` (do not deduplicate, useful for processing the results with
1135   external tools), `mailbox` (deduplicate based on the full, case
1136   sensitive name and email address), and `address` (deduplicate based
1137   on the case insensitive address part). See the `notmuch-address`
1138   manual page for further information.
1139
1140 Emacs Interface
1141 ---------------
1142
1143 `notmuch-emacs-version` is used in `User-Agent` header
1144
1145   The value of recently introduced variable `notmuch-emacs-version` is
1146   now used as a part of `User-Agent` header when sending emails.
1147
1148 Removed `notmuch-version` function by renaming it to `notmuch-cli-version`
1149
1150   With existing variable `notmuch-emacs-version` the accompanied
1151   function which retrieves the version of `notmuch-command` is
1152   better named as `notmuch-cli-version`.
1153
1154 Query input now supports completion for "is:<tag>"
1155
1156 New message composition mode: `notmuch-compose-mode`
1157
1158   This is mainly to fix fcc handling, but may be useful for user
1159   customization as well.
1160
1161 Allow filtering of search results in `notmuch-show`
1162
1163 Add function to rerun current tree-view search in search mode
1164
1165 Bug fix for replying to encrypted messages in `notmuch-tree` mode
1166
1167 Allow saved searched to specify tree view rather than search view
1168
1169   Applies to saved searches run from `notmuch-hello`, or by a keyboard
1170   shortcut (`notmuch-jump`).  Can be set in the customize interface, or
1171   by adding :search-type tree to the appropriate saved search plist in
1172   `notmuch-saved-searches`.
1173
1174 Increase maximum size of rendered text parts
1175
1176   The variable `notmuch-show-max-text-part-size` controls the maximum
1177   size (in bytes) which is automatically rendered. This may make
1178   rendering large threads slower. To get the previous behaviour set
1179   this variable to 10000.
1180
1181 Library
1182 -------
1183
1184 The use of absolute paths is now enforced when calling
1185 `notmuch_database_{open, create}`
1186
1187 New function `notmuch_directory_delete` to delete directory documents
1188
1189   Previously there was no way to delete directory documents from the
1190   database, leading to confusing results when the "ghost" directory
1191   document of a renamed or deleted filesystem directory was
1192   encountered every time the parent directory was being scanned by
1193   `notmuch new`. The mtime of the old directory document was also used
1194   if a directory by the same name was added again in the filesystem,
1195   potentially bypassing the scan for the directory. The issues are
1196   fixed by providing a library call to delete directory documents, and
1197   deleting the old documents in `notmuch new` on filesystem directory
1198   removal or rename.
1199
1200 Database revision tracking
1201
1202   Revision tracking is supported via a new prefix "lastmod:" in the
1203   query parser and the new function
1204   `notmuch_database_get_revision`. For the latter, see `notmuch(3)`.
1205
1206 New status code returning API for n_query_count_{messages,threads}
1207
1208 Deprecated functions
1209
1210   `notmuch_query_search_threads`, `notmuch_query_search_messages`,
1211   `notmuch_query_count_messages`, and `notmuch_query_count_threads`
1212   are all deprecated as of this release.  Clients are encouraged to
1213   transition to the `_st` variants supporting better error reporting.
1214
1215 nmbug-status
1216 ------------
1217
1218 `nmbug-status` now supports specifying the sort order for each view.
1219
1220 Notmuch 0.20.2 (2015-06-27)
1221 ===========================
1222
1223 Emacs Interface
1224 ---------------
1225
1226 Bug fix for marking messages read in `notmuch-tree` mode.
1227
1228 Notmuch 0.20.1 (2015-06-01)
1229 ===========================
1230
1231 Test Suite
1232 ----------
1233
1234 Work around apparent gdb bug on arm64.
1235
1236 Notmuch 0.20 (2015-05-31)
1237 =========================
1238
1239 Command-Line Interface
1240 ----------------------
1241
1242 There is a new `mimetype:` search prefix
1243
1244   The new `mimetype:` search prefix allows searching for the
1245   content-type of attachments, which is now indexed. See the
1246   `notmuch-search-terms` manual page for details.
1247
1248 Path to gpg is now configurable
1249
1250   On systems with multiple versions of gpg, you can tell
1251   notmuch which one to use by setting `crypto.gpg_path`
1252
1253 Emacs
1254 -----
1255
1256 Avoid rendering large text attachments.
1257
1258 Improved rendering of CID references in HTML.
1259
1260 Vim
1261 ---
1262
1263 Vim client now respects excluded tags.
1264
1265 Notmuch-Mutt
1266 ------------
1267
1268 Support messages without Message-IDs.
1269
1270 Library
1271 -------
1272
1273 Undeprecate single message mboxes
1274
1275   It seems more trouble to remove this feature than expected, so
1276   `notmuch new` will no longer nag about mboxes with a single message.
1277
1278 New error logging facility
1279
1280   Clients should call `notmuch_database_status_string` to retrieve
1281   output formerly printed to stderr.
1282
1283 Several bug fixes related to stale iterators
1284
1285 New status code returning API for n_query_search_{messages,thread}
1286
1287 Fix for library `install_name` on Mac OS X
1288
1289 Fix for rounding of seconds
1290
1291 Documentation
1292 -------------
1293
1294 Sphinx is now mandatory to build docs
1295
1296   Support for using rst2man in place of sphinx to build the
1297   documentation has been removed.
1298
1299 Improved notmuch-search-terms.7
1300
1301   The man page `notmuch-search-terms(7)` has been extended, merging
1302   some material from the relicensed wiki.
1303
1304 Contrib
1305 -------
1306
1307 `notmuch-deliver` is removed. As far as we know, all functionality
1308 previously provided by `notmuch-deliver` should now be provided by
1309 `notmuch insert`, provided by the main notmuch binary.
1310
1311 nmbug-status
1312 ------------
1313
1314 `nmbug-status` now only matches local branches when reading
1315 `status-config.json` from the `config` branch of the `NMBGIT`
1316 repository.  To help new users running `nmbug-status`, `nmbug clone`
1317 now creates a local `config` branch tracking `origin/config`.  Folks
1318 who use `nmbug-status` with an in-Git config (i.e. you don't use the
1319 `--config` option) who already have `NMBGIT` set up are encouraged to
1320 run:
1321
1322     git checkout config origin/config
1323
1324 in their `NMBGIT` repository (usually `~/.nmbug`).
1325
1326 Notmuch 0.19 (2014-11-14)
1327 =========================
1328
1329 Overview
1330 --------
1331
1332 This release improves the reliability of `notmuch dump` and the error
1333 handling for `notmuch insert`. The new `notmuch address` command is
1334 intended to make searching for email addresses more convenient. At the
1335 library level the revised handling of missing messages fixes at least
1336 one bug in threading. The release also includes several interface
1337 improvements to the emacs interface, most notably the ability to bind
1338 keyboard shortcuts to saved searches.
1339
1340 Command-Line Interface
1341 ----------------------
1342
1343 Stopped `notmuch dump` failing if someone writes to the database
1344
1345   The dump command now takes the write lock when running. This
1346   prevents other processes from writing to the database during the
1347   dump which would cause the dump to fail. Note, if another notmuch
1348   process already has the write lock the dump will not start, so
1349   script callers should still check the return value.
1350
1351 `notmuch insert` requires successful message indexing for success status
1352
1353   Previously the `notmuch insert` subcommand indicated success even if
1354   the message indexing failed, as long as the message was delivered to
1355   file system. This could have lead to delivered messages missing
1356   tags, etc. `notmuch insert` is now more strict, also requiring
1357   successful indexing for success status. Use the new `--keep` option
1358   to revert to the old behaviour (keeping the delivered message file
1359   and returning success even if indexing fails).
1360
1361 `notmuch insert` has gained support for `post-insert` hook
1362
1363   The new `post-insert` hook is run after message delivery, similar to
1364   `post-new`. There's also a new option `notmuch insert --no-hooks` to
1365   skip the hook. See the notmuch-hooks(1) man page for details.
1366
1367 `notmuch deliver` is deprecated
1368
1369   With this release we believe that `notmuch insert` has reached
1370   parity with `notmuch deliver`. We recommend that all users of
1371   `notmuch deliver` switch to `notmuch insert` as the former is
1372   currently unmaintained.
1373
1374 `notmuch search` now supports `--duplicate=N` option with `--output=messages`
1375
1376   Complementing the `notmuch search --duplicate=N --output=files`
1377   options, the new `--duplicate=N --output=messages` combination
1378   limits output of message IDs to messages matching search terms that
1379   have at least `N` files associated with them.
1380
1381 Added `notmuch address` subcommand
1382
1383   This new subcommand searches for messages matching the given search
1384   terms, and prints the addresses from them. Duplicate addresses are
1385   filtered out. The `--output` option controls which of the following
1386   information is printed: sender addresses, recipient addresses and
1387   count of duplicate addresses.
1388
1389 Emacs Interface
1390 ---------------
1391
1392 Use the `j` key to access saved searches from anywhere in notmuch
1393
1394   `j` is now globally bound to `notmuch-jump`, which provides fast,
1395   interactive keyboard shortcuts to saved searches.  For example,
1396   with the default saved searches `j i` from anywhere in notmuch will
1397   bring up the inbox.
1398
1399 Improved handling of the unread tag
1400
1401   Notmuch now marks an open message read (i.e., removes the unread
1402   tag) if point enters the message at any time in a show buffer
1403   regardless of how point got there (mouse click, cursor command, page
1404   up/down, notmuch commands such as n,N etc). This fixes various
1405   anomalies or bugs in the previous handling. Additionally it is
1406   possible to customize the mark read handling by setting
1407   `notmuch-show-mark-read-function` to a custom function.
1408
1409 Expanded default saved search settings
1410
1411   The default saved searches now include several more common searches,
1412   as well as shortcut keys for `notmuch-jump`.
1413
1414 Improved `q` binding in notmuch buffers
1415
1416   `q` will now bury rather than kill a notmuch search, show or tree
1417   buffer if there are multiple windows showing the buffer. If only a
1418   single window is showing the buffer, it is killed.
1419
1420 `notmuch-show-stash-mlarchive-link-alist` now supports functions
1421
1422   Some list archives may use a more complicated scheme for referring
1423   to messages than just concatenated URL and message ID. For example,
1424   patchwork requires a query to translate message ID to a patchwork
1425   patch ID. `notmuch-show-stash-mlarchive-link-alist` now supports
1426   functions to better cover such cases. See the help documentation for
1427   the variable for details.
1428
1429 Library changes
1430 ---------------
1431
1432 Introduced database version 3 with support for "database features."
1433
1434   Features are independent aspects of the database schema.
1435   Representing these independently of the database version number will
1436   let us evolve the database format faster and more incrementally,
1437   while maintaining better forwards and backwards compatibility.
1438
1439 Library users are no longer required to call `notmuch_database_upgrade`
1440
1441   Previously, library users were required to call
1442   `notmuch_database_needs_upgrade` and `notmuch_database_upgrade`
1443   before using a writable database.  Even the CLI didn't get this
1444   right, and it is no longer required.  Now, individual APIs may
1445   return `NOTMUCH_STATUS_UPGRADE_REQUIRED` if the database format is
1446   too out of date for that API.
1447
1448 Library users can now abort an atomic section by closing the database
1449
1450   Previously there was no supported way to abort an atomic section.
1451   Callers can now simply close the database, and any outstanding
1452   atomic section will be aborted.
1453
1454 Add return status to `notmuch_database_close` and
1455 `notmuch_database_destroy`
1456
1457 Bug fixes and performance improvements for thread linking
1458
1459   The database now represents missing-but-referenced messages ("ghost
1460   messages") similarly to how it represents regular messages.  This
1461   enables an improved thread linking algorithm that performs better
1462   and fixes a bug that sometimes prevented notmuch from linking
1463   messages into the same thread.
1464
1465 nmbug
1466 -----
1467
1468 The Perl script has been translated to Python; you'll need Python 2.7
1469 or anything from the 3.x line.  Most of the user-facing interface is
1470 the same, but `nmbug help` is now `nmbug --help`, and the following nmbug
1471 commands have slightly different interfaces: `archive`, `commit`,
1472 `fetch`, `log`, `pull`, `push`, and `status`.  For details on the
1473 new interface for a given command, run `nmbug COMMAND --help`.
1474
1475 nmbug-status
1476 ------------
1477
1478 `nmbug-status` can now optionally load header and footer templates
1479 from the config file.  Use something like:
1480
1481     {
1482       "meta": {
1483         "header": "<!DOCTYPE html>\n<html lang="en">\n...",
1484         "footer": "</body></html>",
1485          ...
1486       },
1487       ...
1488     }
1489
1490 Python Bindings
1491 ---------------
1492
1493 Add support for `notmuch_query_add_tag_exclude`
1494
1495 Build System
1496 ------------
1497
1498 The notmuch binaries and libraries are now build with debugging symbols
1499 by default.  Users concerned with disk space should change the
1500 defaults when configuring or use the strip(1) command.
1501
1502 Notmuch 0.18.2 (2014-10-25)
1503 ===========================
1504
1505 Test Suite
1506 ----------
1507
1508 Translate T380-atomicity to use gdb/python
1509
1510   The new version is compatible with gdb 7.8
1511
1512 Emacs 24.4 related bug fixes
1513
1514   The Messages buffer became read-only, and the generated mime
1515   structure for signatures changed slightly.
1516
1517 Simplify T360-symbol-hiding
1518
1519    Replace the use of `objdump` on the object files with `nm` on the
1520    resulting lib.
1521
1522 Notmuch 0.18.1 (2014-06-25)
1523 ===========================
1524
1525 This is a bug fix and portability release.
1526
1527 Build System
1528 ------------
1529
1530 Add a workaround for systems without zlib.pc
1531
1532 Make emacs install robust against the non-existence of emacs
1533
1534 Put notmuch lib directory first in RPATH
1535
1536 Fix handling of `html_static_path` in sphinx
1537
1538   Both the python bindings and the main docs had spurious settings of
1539   this variable.
1540
1541 Test Suite
1542 ----------
1543
1544 Use --quick when starting emacs
1545
1546   This avoids a hang in the T160-json tests.
1547
1548 Allow pending break points in atomicity script
1549
1550   This allows the atomicity tests to run on several more architectures/OSes.
1551
1552 Command-Line Interface
1553 ----------------------
1554
1555 To improve portability use fsync instead of fdatasync in
1556 `notmuch-dump`. There should be no functional difference.
1557
1558 Library changes
1559 ---------------
1560
1561 Resurrect support for single-message mbox files
1562
1563   The removal introduced a bug with previously indexed single-message
1564   mboxes.  This support remains deprecated.
1565
1566 Fix for phrase indexing
1567
1568   There were several bugs where words intermingled from different
1569   headers and MIME parts could match a single phrase query.  This fix
1570   will affect only newly indexed messages.
1571
1572 Emacs Interface
1573 ---------------
1574
1575 Make sure tagging on an empty query is harmless
1576
1577   Previously tagging an empty query could lead to tags being
1578   unintentionally removed.
1579
1580 Notmuch 0.18 (2014-05-06)
1581 =========================
1582
1583 Overview
1584 --------
1585
1586 This new release includes some enhancements to searching for messages
1587 by filesystem location (`folder:` and `path:` prefixes under *General*
1588 below).  Saved searches in *Emacs* have also been enhanced to allow
1589 distinct search orders for each one.  Another enhancement to the
1590 *Emacs* interface is that replies to encrypted messages are now
1591 encrypted, reducing the risk of unintentional information disclosure.
1592 The default dump output format has changed to the more robust
1593 `batch-tag` format. The previously deprecated parsing of single
1594 message mboxes has been removed. For detailed release notes, see
1595 below.
1596
1597 General
1598 -------
1599
1600 The `folder:` search prefix now requires an exact match
1601
1602   The `folder:` prefix has been changed to search for email messages
1603   by the exact, case sensitive maildir or MH folder name. Wildcard
1604   matching (`folder:foo*`) is no longer supported. The new behaviour
1605   allows for more accurate mail folder based searches, makes it
1606   possible to search for messages in the top-level folder, and should
1607   lead to less surprising results than the old behaviour. Users are
1608   advised to see the `notmuch-search-terms` manual page for details,
1609   and review how the change affects their existing `folder:` searches.
1610
1611 There is a new `path:` search prefix
1612
1613   The new `path:` search prefix complements the `folder:` prefix. The
1614   `path:` prefix searches for email messages that are in particular
1615   directories within the mail store, optionally recursively using a
1616   special syntax. See the `notmuch-search-terms` manual page for
1617   details.
1618
1619 Notmuch database upgrade due to `folder:` and `path:` changes
1620
1621   The above mentioned changes to the `folder:` prefix and the addition
1622   of `path:` prefix require a Notmuch database upgrade. This will be
1623   done automatically, without prompting on the next time `notmuch new`
1624   is run after the upgrade. The upgrade is not reversible, and the
1625   upgraded database will not be readable by older versions of
1626   Notmuch. As a safeguard, a database dump will be created in the
1627   `.notmuch` directory before upgrading.
1628
1629 Library changes
1630 ---------------
1631
1632 Notmuch database upgrade
1633
1634   The libnotmuch consumers are reminded to handle database upgrades
1635   properly, either by relying on running `notmuch new`, or checking
1636   `notmuch_database_needs_upgrade()` and calling
1637   `notmuch_database_upgrade()` as necessary. This has always been the
1638   case, but in practise there have been no database upgrades in any
1639   released version of Notmuch before now.
1640
1641 Support for indexing mbox files has been dropped
1642
1643   There has never been proper support for mbox files containing
1644   multiple messages, and the support for single-message mbox files has
1645   been deprecated since Notmuch 0.15. The support has now been
1646   dropped, and all mbox files will be rejected during indexing.
1647
1648 Message header parsing changes
1649
1650   Notmuch previously had an internal parser for message headers. The
1651   parser has now been dropped in favour of letting GMime parse both
1652   the headers and the message MIME structure at the same pass. This is
1653   mostly an internal change, but the GMime parser is stricter in its
1654   interpretation of the headers. This may result in messages with
1655   slightly malformed message headers being now rejected.
1656
1657 Command-Line Interface
1658 ----------------------
1659
1660 `notmuch dump` now defaults to `batch-tag` format
1661
1662   The old format is still available with `--format=sup`.
1663
1664 `notmuch new` has a --quiet option
1665
1666   This option suppresses the progress and summary reports.
1667
1668 `notmuch insert` respects maildir.synchronize_flags config option
1669
1670   Do not synchronize tags to maildir flags in `notmuch insert` if the
1671   user does not want it.
1672
1673 The commands set consistent exit status codes on failures
1674
1675   The cli commands now consistently set exit status of 1 on failures,
1676   except where explicitly otherwise noted. The notable exceptions are
1677   the status codes for format version mismatches for commands that
1678   support formatted output.
1679
1680 Bug fix for checking configured new.tags for invalid tags
1681
1682   `notmuch new` and `notmuch insert` now check the user configured
1683   new.tags for invalid tags, and refuse to apply them, similar to
1684   `notmuch tag`. Invalid tags are currently the empty string and tags
1685   starting with `-`.
1686
1687 Emacs Interface
1688 ---------------
1689
1690 Init file
1691
1692   If the file pointed by new variable `notmuch-init-file` (typically
1693   `~/.emacs.d/notmuch-config.el`) exists, it is loaded at the end of
1694   `notmuch.el`. Users can put their personal notmuch emacs lisp based
1695   configuration/customization items there instead of filling
1696   `~/.emacs` with these.
1697
1698 Changed format for saved searches
1699
1700   The format for `notmuch-saved-searches` has changed, but old style
1701   saved searches are still supported. The new style means that a saved
1702   search can store the desired sort order for the search, and it can
1703   store a separate query to use for generating the count notmuch
1704   shows.
1705
1706   The variable is fully customizable and any configuration done
1707   through customize should *just work*, with the additional options
1708   mentioned above. For manual customization see the documentation for
1709   `notmuch-saved-searches`.
1710
1711   IMPORTANT: a new style notmuch-saved-searches variable will break
1712   previous versions of notmuch-emacs (even search will not work); to
1713   fix remove the customization for notmuch-saved-searches.
1714
1715   If you have a custom saved search sort function (not unsorted or
1716   alphabetical) then the sort function will need to be
1717   modified. Replacing (car saved-search) by (notmuch-saved-search-get
1718   saved-search :name) and (cdr saved-search) by
1719   (notmuch-saved-search-get saved-search :query) should be sufficient.
1720
1721 The keys of `notmuch-tag-formats` are now regexps
1722
1723   Previously, the keys were literal strings.  Customized settings of
1724   `notmuch-tag-formats` will continue to work as before unless tags
1725   contain regexp special characters like `.` or `*`.
1726
1727 Changed tags are now shown in the buffer
1728
1729   Previously tag changes made in a buffer were shown immediately. In
1730   some cases (particularly automatic tag changes like marking read)
1731   this made it hard to see what had happened (e.g., whether the
1732   message had been unread).
1733
1734   The changes are now shown explicitly in the buffer: by default
1735   deleted tags are displayed with red strike-through and added tags
1736   are displayed underlined in green (inverse video is used for deleted
1737   tags if the terminal does not support strike-through).
1738
1739   The variables `notmuch-tag-deleted-formats` and
1740   `notmuch-tag-added-formats`, which have the same syntax as
1741   `notmuch-tag-formats`, allow this to be customized.
1742
1743   Setting `notmuch-tag-deleted-formats` to `'((".*" nil))` and
1744   `notmuch-tag-added-formats` to `'((".*" tag))` will give the old
1745   behavior of hiding deleted tags and showing added tags identically
1746   to tags already present.
1747
1748 Version variable
1749
1750   The new, build-time generated variable `notmuch-emacs-version` is used
1751   to distinguish between notmuch cli and notmuch emacs versions.
1752   The function `notmuch-hello-versions` (bound to 'v' in notmuch-hello
1753   window) prints both notmuch cli and notmuch emacs versions in case
1754   these differ from each other.
1755   This is especially useful when using notmuch remotely.
1756
1757 Ido-completing-read initialization in Emacs 23
1758
1759   `ido-completing-read` in Emacs 23 versions 1 through 3 freezes unless
1760   it is initialized. Defadvice-based *Ido* initialization is defined
1761   for these Emacs versions.
1762
1763 Bug fix for saved searches with newlines in them
1764
1765   Split lines confuse `notmuch count --batch`, so we remove embedded
1766   newlines before calling notmuch count.
1767
1768 Bug fixes for sender identities
1769
1770   Previously, Emacs would rewrite some sender identities in unexpected
1771   and undesirable ways.  Now it will use identities exactly as
1772   configured in `notmuch-identities`.
1773
1774 Replies to encrypted messages will be encrypted by default
1775
1776   In the interest of maintaining confidentiality of communications,
1777   the Notmuch Emacs interface now automatically adds the mml tag to
1778   encrypt replies to encrypted messages. This should make it less
1779   likely to accidentally reply to encrypted messages in plain text.
1780
1781 Reply pushes mark before signature
1782
1783   We push mark and set point on reply so that the user can easily cut
1784   the quoted text. The mark is now pushed before the signature, if
1785   any, instead of end of buffer so the signature is preserved.
1786
1787 Message piping uses the originating buffer's working directory
1788
1789   `notmuch-show-pipe-message` now uses the originating buffer's
1790   current default directory instead of that of the `*notmuch-pipe*`
1791   buffer's.
1792
1793 nmbug
1794 -----
1795
1796 nmbug adds a `clone` command for setting up the initial repository and
1797 uses `@{upstream}` instead of `FETCH_HEAD` to track upstream changes.
1798
1799   The `@{upstream}` change reduces ambiguity when fetching multiple
1800   branches, but requires existing users update their `NMBGIT`
1801   repository (usually `~/.nmbug`) to distinguish between local and
1802   remote-tracking branches.  The easiest way to do this is:
1803
1804   1. If you have any purely local commits (i.e. they aren't in the
1805      nmbug repository on nmbug.tethera.net), push them to a remote
1806      repository.  We'll restore them from the backup in step 4.
1807   2. Remove your `NMBGIT` repository (e.g. `mv .nmbug .nmbug.bak`).
1808   3. Use the new `clone` command to create a fresh clone:
1809
1810         nmbug clone https://nmbug.notmuchmail.org/git/nmbug-tags.git
1811
1812   4. If you had local commits in step 1, add a remote for that
1813      repository and fetch them into the new repository.
1814
1815 Notmuch 0.17 (2013-12-30)
1816 =========================
1817
1818 Incompatible change in SHA1 computation
1819 ---------------------------------------
1820
1821 Previously on big endian architectures like sparc and powerpc the
1822 computation of SHA1 hashes was incorrect. This meant that messages
1823 with overlong or missing message-ids were given different computed
1824 message-ids than on more common little endian architectures like i386
1825 and amd64.  If you use notmuch on a big endian architecture, you are
1826 strongly advised to make a backup of your tags using `notmuch dump`
1827 before this upgrade. You can locate the affected files using something
1828 like:
1829
1830     notmuch dump | \
1831       awk '/^notmuch-sha1-[0-9a-f]{40} / \
1832         {system("notmuch search --exclude=false --output=files id:" $1)}'
1833
1834 Command-Line Interface
1835 ----------------------
1836
1837 New options to better support handling duplicate messages
1838
1839   If more than one message file is associated with a message-id,
1840   `notmuch search --output=files` will print all of them. A new
1841   `--duplicate=N` option can be used to specify which duplicate to
1842   print for each message.
1843
1844   `notmuch count` now supports `--output=files` option to output the
1845   number of files associated with matching messages. This may be
1846   bigger than the number of matching messages due to duplicates
1847   (i.e. multiple files having the same message-id).
1848
1849 Improved `notmuch new` performance for unchanged folders
1850
1851   `notmuch new` now skips over unchanged folders more efficiently,
1852   which can substantially improve the performance of checking for new
1853   mail in some situations (like NFS-mounted Maildirs).
1854
1855 `notmuch reply --format=text` RFC 2047-encodes headers
1856
1857   Previously, this used a mix of standard MIME encoding for the reply
1858   body and UTF-8 for the headers.  Now, the text format reply template
1859   RFC 2047-encodes the headers, making the output a valid RFC 2822
1860   message.  The JSON/sexp format is unchanged.
1861
1862 `notmuch compact` command
1863
1864   The new `compact` command exposes Xapian's compaction
1865   functionality through a more convenient interface than
1866   `xapian-compact`. `notmuch compact` will compact the database to a
1867   temporary location, optionally backup the original database, and
1868   move the compacted database into place.
1869
1870 Emacs Interface
1871 ---------------
1872
1873 `notmuch-tree` (formerly `notmuch-pick`) has been added to mainline
1874
1875   `notmuch-tree` is a threaded message view for the emacs
1876   interface. Each message is one line in the results and the thread
1877   structure is shown using UTF-8 box drawing characters (similar to
1878   Mutt's threaded view). It comes between search and show in terms of
1879   amount of output and can be useful for viewing both single threads
1880   and multiple threads.
1881
1882   Using `notmuch-tree`
1883
1884   The main key entries to notmuch tree are
1885
1886   'z' enter a query to view using notmuch tree (works in hello,
1887       search, show and tree mode itself)
1888
1889   'Z' view the current query in tree notmuch tree (works from search
1890       and show)
1891
1892   Once in tree mode, keybindings are mostly in line with the rest of
1893   notmuch and are all viewable with '?' as usual.
1894
1895   Customising `notmuch-tree`
1896
1897   `notmuch-tree` has several customisation variables. The most
1898   significant is the first notmuch-tree-show-out which determines the
1899   behaviour when selecting a message (with RET) in tree view. By
1900   default tree view uses a split window showing the single message in
1901   the bottom pane. However, if this option is set then it views the
1902   whole thread in the complete window jumping to the selected message
1903   in the thread. In either case command-prefix selects the other option.
1904
1905 Tagging threads in search is now race-free
1906
1907   Previously, adding or removing a tag from a thread in a search
1908   buffer would affect messages that had arrived after the search was
1909   performed, resulting in, for example, archiving messages that were
1910   never seen.  Tagging now affects only the messages that were in the
1911   thread when the search was performed.
1912
1913 `notmuch-hello` refreshes when switching to the buffer
1914
1915   The hello buffer now refreshes whenever you switch to the buffer,
1916   regardless of how you get there.  You can disable automatic
1917   refreshing by customizing `notmuch-hello-auto-refresh`.
1918
1919 Specific mini-buffer prompts for tagging operations
1920
1921   When entering tags to add or remove, the mini-buffer prompt now
1922   indicates what operation will be performed (e.g., "Tag thread", "Tag
1923   message", etc).
1924
1925 Built-in help improvements
1926
1927   Documentation for many commands has been improved, as displayed by
1928   `notmuch-help` (usually bound to "?").  The bindings listed by
1929   `notmuch-help` also now include descriptions of prefixed commands.
1930
1931 Quote replies as they are displayed in show view
1932
1933   We now render the parts for reply quoting the same way they are
1934   rendered for show. At this time, the notable change is that replies
1935   to text/calendar are now pretty instead of raw vcalendar.
1936
1937 Fixed inconsistent use of configured search order
1938
1939   All ways of interactively invoking search now honor the value of
1940   `notmuch-search-oldest-first`.
1941
1942 Common keymap for notmuch-wide bindings
1943
1944   Several key bindings have been moved from mode-specific keymaps to
1945   the single `notmuch-common-keymap`, which is inherited by each
1946   notmuch mode.  If you've customized your key bindings, you may want
1947   to move some of them to the common keymap.
1948
1949 The `notmuch-tag` function now requires a list of tag changes
1950
1951   For users who have scripted the Emacs interface: the `notmuch-tag`
1952   API has changed.  Previously, it accepted either a list of tag
1953   changes or a space-separated string of tag changes.  The latter is
1954   no longer supported and the function now returns nothing.
1955
1956 Fixed `notmuch-reply` putting reply in primary selection
1957
1958   On emacs 24 notmuch-reply used to put the cited text into the
1959   primary selection (which could lead to inadvertently pasting this
1960   cited text elsewhere). Now the primary-selection is not changed.
1961
1962 Fixed `notmuch-show` invisible part handling
1963
1964   In some obscure cases part buttons and invisibility had strange
1965   interactions: in particular, the default action for some parts gave
1966   the wrong action. This has been fixed.
1967
1968 Fixed `notmuch-show` attachment viewers and stderr
1969
1970   In emacs 24.3+ viewing an attachment could cause spurious text to
1971   appear in the show buffer (any stderr or stdout the viewer
1972   produced). By default this output is now discarded. For debugging,
1973   setting `notmuch-show-attachment-debug` causes notmuch to keep the
1974   viewer's stderr and stdout in a separate buffer.
1975
1976 Fixed `notmuch-mua-reply` point placement when signature involved
1977
1978   By restricting cursor movement to body section for cursor placement
1979   after signature is inserted, the cursor cannot "leak" to header
1980   section anymore. Now inserted citation content will definitely go to
1981   the body part of the message.
1982
1983 Vim Interface
1984 -------------
1985
1986   It is now possible to compose new messages in the Vim interface, as
1987   opposed reply to existing messages.  There is also support for
1988   going straight to a search (bypassing the folders view).
1989
1990 Notmuch 0.16 (2013-08-03)
1991 =========================
1992
1993 Command-Line Interface
1994 ----------------------
1995
1996 Support for delivering messages to Maildir
1997
1998   There is a new command `insert` that adds a message to a Maildir
1999   folder and notmuch index.
2000
2001 `notmuch count --batch` option
2002
2003   `notmuch count` now supports batch operations similar to `notmuch
2004   tag`. This is mostly an optimization for remote notmuch usage.
2005
2006 `notmuch tag` option to remove all tags from matching messages
2007
2008   `notmuch tag --remove-all` option has been added to remove all tags
2009   from matching messages. This can be combined with adding new tags,
2010   resulting in setting (rather than modifying) the tags of the
2011   messages.
2012
2013 Decrypting commands explicitly expect a gpg-agent
2014
2015   Decryption in `notmuch show` and `notmuch reply` has only ever
2016   worked with a functioning gpg-agent. This is now made explicit in
2017   code and documentation. The functional change is that it's now
2018   possible to have gpg-agent running, but gpg "use-agent"
2019   configuration option disabled, not forcing the user to use the agent
2020   everywhere.
2021
2022 Configuration file saves follow symbolic links
2023
2024   The notmuch commands that save the configuration file now follow
2025   symbolic links instead of overwrite them.
2026
2027 Top level option to specify configuration file
2028
2029   It's now possible to specify the configuration file to use on the
2030   command line using the `notmuch --config=FILE` option.
2031
2032 Bash command-line completion
2033
2034   The notmuch command-line completion support for the bash shell has
2035   been rewritten. Supported completions include all the notmuch
2036   commands, command-line arguments, values for keyword arguments,
2037   search prefixes (such as "subject:" or "from:") in all commands that
2038   use search terms, tags after + and - in `notmuch tag`, tags after
2039   "tag:" prefix, user's email addresses after "from:" and "to:"
2040   prefixes, and config options (and some config option values) in
2041   `notmuch config`. The new completion support depends on the
2042   bash-completion package.
2043
2044 Deprecated commands "part" and "search-tags" are removed.
2045
2046 Emacs Interface
2047 ---------------
2048
2049 New keymap to view/save parts; removed s/v/o/| part button bindings
2050
2051   The commands to view, save, and open MIME parts are now prefixed
2052   with "." (". s" to save, ". v" to view, etc) and can be invoked with
2053   point anywhere in a part, unlike the old commands, which were
2054   restricted to part buttons.  The old "s"/"v"/"o"/"|" commands on
2055   part buttons have been removed since they clashed with other
2056   bindings (notably "s" for search!) and could not be invoked when
2057   there was no part button.  The new, prefixed bindings appear in
2058   show's help, so you no longer have to memorize them.
2059
2060 Default part save directory is now `mm-default-directory`
2061
2062   Previously, notmuch offered to save parts and attachments to a mix
2063   of `mm-default-directory`, `mailcap-download-directory`, and `~/`.
2064   This has been standardized on `mm-default-directory`.
2065
2066 Key bindings for next/previous thread
2067
2068   Show view has new key bindings M-n and M-p to move to the next and
2069   previous thread in the search results.
2070
2071 Better handling of errors in search buffers
2072
2073   Instead of interleaving errors in search result buffers, search mode
2074   now reports errors in the minibuffer.
2075
2076 Faster search and show
2077
2078   Communication between Emacs and the notmuch CLI is now more
2079   efficient because it uses the CLI's S-expression support.  As a
2080   result, search mode should now fill search buffers faster and
2081   threads should show faster.
2082
2083 No Emacs 22 support
2084
2085   The Emacs 22 support added late 2010 was sufficient only for a short
2086   period of time. After being incomplete for roughly 2 years the code
2087   in question was now removed from this release.
2088
2089 Vim Front-End
2090 -------------
2091
2092 The vim based front-end has been replaced with a new one that uses the Ruby
2093 bindings. The old font-end is available in the contrib subfolder.
2094
2095 Python Bindings
2096 ---------------
2097
2098 Fix loading of libnotmuch shared library on OS X (Darwin) systems.
2099
2100 Notmuch 0.15.2 (2013-02-17)
2101 ===========================
2102
2103 Build fixes
2104 -----------
2105
2106 Update dependencies to avoid problems when building in parallel.
2107
2108 Internal test framework changes
2109 -------------------------------
2110
2111 Adjust Emacs test watchdog mechanism to cope with `process-attributes`
2112 being unimplemented.
2113
2114 Notmuch 0.15.1 (2013-01-24)
2115 ===========================
2116
2117 Internal test framework changes
2118 -------------------------------
2119
2120 Set a default value for TERM when running tests. This fixes certain
2121 build failures in non-interactive environments.
2122
2123 Notmuch 0.15 (2013-01-18)
2124 =========================
2125
2126 General
2127 -------
2128
2129 Date range search support
2130
2131   The `date:` prefix can now be used in queries to restrict the results
2132   to only messages within a particular time range (based on the Date:
2133   header) with a range syntax of `date:<since>..<until>`. Notmuch
2134   supports a wide variety of expressions in `<since>` and
2135   `<until>`. Please refer to the `notmuch-search-terms(7)` manual page
2136   for details.
2137
2138 Empty tag names and tags beginning with "-" are deprecated
2139
2140   Such tags have been a frequent source of confusion and cause
2141   (sometimes unresolvable) conflicts with other syntax.  notmuch tag
2142   no longer allows such tags to be added to messages.  Removing such
2143   tags continues to be supported to allow cleanup of existing tags,
2144   but may be removed in a future release.
2145
2146 Command-Line Interface
2147 ----------------------
2148
2149 `notmuch new` no longer chokes on mboxes
2150
2151   `notmuch new` now rejects mbox files containing more than one
2152   message, rather than treating the file as one giant message.
2153
2154 Support for single message mboxes is deprecated
2155
2156   For historical reasons, `notmuch new` will index mbox files
2157   containing a single message; however, this behavior is now
2158   officially deprecated.
2159
2160 Fixed `notmuch new` to skip ignored broken symlinks
2161
2162   `notmuch new` now correctly skips symlinks if they are in the
2163   ignored files list.  Previously, it would abort when encountering
2164   broken symlink, even if it was ignored.
2165
2166 New dump/restore format and tagging interface
2167
2168   There is a new `batch-tag` format for dump and restore that is more
2169   robust, particularly with respect to tags and message-ids containing
2170   whitespace.
2171
2172   `notmuch tag` now supports the ability to read tag operations and
2173   queries from an input stream, in a format compatible with the new
2174   dump/restore format.
2175
2176 Bcc and Reply-To headers are now available in notmuch show json output
2177
2178   The `notmuch show --format=json` now includes "Bcc" and "Reply-To" headers.
2179   For example notmuch Emacs client can now have these headers visible
2180   when the headers are added to the `notmuch-message-headers` variable.
2181
2182 CLI callers can now request a specific output format version
2183
2184   `notmuch` subcommands that support structured output now support a
2185   `--format-version` argument for requesting a specific version of the
2186   structured output, enabling better compatibility and error handling.
2187
2188 `notmuch search` has gained a null character separated text output format
2189
2190   The new --format=text0 output format for `notmuch search` prints
2191   output separated by null characters rather than newline
2192   characters. This is similar to the find(1) -print0 option, and works
2193   together with the xargs(1) -0 option.
2194
2195 Emacs Interface
2196 ---------------
2197
2198 Removal of the deprecated `notmuch-folders` variable
2199
2200   `notmuch-folders` has been deprecated since the introduction of saved
2201   searches and the notmuch hello view in notmuch 0.3. `notmuch-folders`
2202   has now been removed. Any remaining users should migrate to
2203   `notmuch-saved-searches`.
2204
2205 Visibility of MIME parts can be toggled
2206
2207   Each part of a multi-part MIME email can now be shown or hidden
2208   using the button at the top of each part (by pressing RET on it or
2209   by clicking).  For emails with multiple alternative formats (e.g.,
2210   plain text and HTML), only the preferred format is shown initially,
2211   but other formats can be shown using their part buttons.  To control
2212   the behavior of this, see
2213   `notmuch-multipart/alternative-discouraged` and
2214   `notmuch-show-all-multipart/alternative-parts`.
2215
2216   Note notmuch-show-print-message (bound to '#' by default) will print
2217   all parts of multipart/alternative message regardless of whether
2218   they are currently hidden or shown in the buffer.
2219
2220 Emacs now buttonizes mid: links
2221
2222   mid: links are a standardized way to link to messages by message ID
2223   (see RFC 2392).  Emacs now hyperlinks mid: links to the appropriate
2224   notmuch search.
2225
2226 Handle errors from bodypart insertions
2227
2228   If displaying the text of a message in show mode causes an error (in
2229   the `notmuch-show-insert-part-*` functions), notmuch no longer cuts
2230   off thread display at the offending message.  The error is now
2231   simply displayed in place of the message.
2232
2233 Emacs now detects version mismatches with the notmuch CLI
2234
2235   Emacs now detects and reports when the Emacs interface version and
2236   the notmuch CLI version are incompatible.
2237
2238 Improved text/calendar content handling
2239
2240   Carriage returns in embedded text/calendar content caused insertion
2241   of the calendar content fail. Now CRs are removed before calling icalendar
2242   to extract icalendar data. In case icalendar extraction fails an error
2243   is thrown for the bodypart insertion function to deal with.
2244
2245 Disabled coding conversions when reading in `with-current-notmuch-show-message`
2246
2247   Depending on the user's locale, saving attachments containing 8-bit
2248   data may have performed an unintentional encoding conversion,
2249   corrupting the saved attachment.  This has been fixed by making
2250   `with-current-notmuch-show-message` disable coding conversion.
2251
2252 Fixed errors with HTML email containing images in Emacs 24
2253
2254   Emacs 24 ships with a new HTML renderer that produces better output,
2255   but is slightly buggy.  We work around a bug that caused it to fail
2256   for HTML email containing images.
2257
2258 Fixed handling of tags with unusual characters in them
2259
2260   Emacs now handles tags containing spaces, quotes, and parenthesis.
2261
2262 Fixed buttonization of id: links without quote characters
2263
2264   Emacs now correctly buttonizes id: links where the message ID is not
2265   quoted.
2266
2267 `notmuch-hello` refresh point placement improvements
2268
2269   Refreshing the `notmuch-hello` buffer does a better job of keeping
2270   the point where it was.
2271
2272 Automatic tag changes are now unified and customizable
2273
2274   All the automatic tag changes that the Emacs interface makes when
2275   reading, archiving, or replying to messages, can now be
2276   customized. Any number of tag additions and removals is supported
2277   through the `notmuch-show-mark-read`, `notmuch-archive-tags`, and
2278   `notmuch-message-replied-tags` customization variables.
2279
2280 Support for stashing the thread id in show view
2281
2282   Invoking `notmuch-show-stash-message-id` with a prefix argument
2283   stashes the (local and database specific) thread id of the current
2284   thread instead of the message id.
2285
2286 New add-on tool: notmuch-pick
2287 -----------------------------
2288
2289 The new contrib/ tool `notmuch-pick` is an experimental threaded message
2290 view for the emacs interface. Each message is one line in the results
2291 and the thread structure is shown using UTF-8 box drawing characters
2292 (similar to Mutt's threaded view). It comes between search and show in
2293 terms of amount of output and can be useful for viewing both single
2294 threads and multiple threads. See the notmuch-pick README file for
2295 further details and installation.
2296
2297 Portability
2298 -----------
2299
2300 notmuch now builds on OpenBSD.
2301
2302 Internal test framework changes
2303 -------------------------------
2304
2305 The emacsclient binary is now user-configurable
2306
2307   The test framework now accepts `TEST_EMACSCLIENT` in addition to
2308   `TEST_EMACS` for configuring the emacsclient to use.  This is
2309   necessary to avoid using an old emacsclient with a new emacs, which
2310   can result in buggy behavior.
2311
2312 Notmuch 0.14 (2012-08-20)
2313 =========================
2314
2315 General bug fixes
2316 -----------------
2317
2318 Maildir tag synchronization
2319
2320   Maildir flag-to-tag synchronization now applies only to messages in
2321   maildir-like directory structures.  Previously, it applied to any
2322   message that had a maildir "info" part, which meant it could
2323   incorrectly synchronize tags for non-maildir messages, while at the
2324   same time failing to synchronize tags for newly received maildir
2325   messages (typically causing new messages to not receive the "unread"
2326   tag).
2327
2328 Command-Line Interface
2329 ----------------------
2330
2331   The deprecated positional output file argument to `notmuch dump` has
2332   been replaced with an `--output` option. The input file positional
2333   argument to `notmuch restore` has been replaced with an `--input`
2334   option for consistency with dump.  These changes simplify the syntax
2335   of dump/restore options and make them more consistent with other
2336   notmuch commands.
2337
2338 Emacs Interface
2339 ---------------
2340
2341 Search results now get re-colored when tags are updated
2342
2343 The formatting of tags in search results can now be customized
2344
2345   Previously, attempting to change the format of tags in
2346   `notmuch-search-result-format` would usually break tagging from
2347   search-mode.  We no longer make assumptions about the format.
2348
2349 Experimental support for multi-line search result formats
2350
2351   It is now possible to embed newlines in
2352   `notmuch-search-result-format` to make individual search results
2353   span multiple lines.
2354
2355 Next/previous in search and show now move by boundaries
2356
2357   All "next" and "previous" commands in the search and show modes now
2358   move to the next/previous result or message boundary.  This doesn't
2359   change the behavior of "next", but "previous" commands will first
2360   move to the beginning of the current result or message if point is
2361   inside the result or message.
2362
2363 Search now uses the JSON format internally
2364
2365   This should address problems with unusual characters in authors and
2366   subject lines that could confuse the old text-based search parser.
2367
2368 The date shown in search results is no longer padded before applying
2369 user-specified formatting
2370
2371   Previously, the date in the search results was padded to fixed width
2372   before being formatted with `notmuch-search-result-format`.  It is
2373   no longer padded.  The default format has been updated, but if
2374   you've customized this variable, you may have to change your date
2375   format from `"%s "` to `"%12s "`.
2376
2377 The thread-id for the `target-thread` argument for `notmuch-search` should
2378 now be supplied without the "thread:" prefix.
2379
2380 Notmuch 0.13.2 (2012-06-02)
2381 ===========================
2382
2383 Bug-fix release
2384 ---------------
2385
2386 Update `contrib/notmuch-deliver` for API changes in 0.13. This fixes a
2387 compilation error for this contrib package.
2388
2389 Notmuch 0.13.1 (2012-05-29)
2390 ===========================
2391
2392 Bug-fix release
2393 ---------------
2394
2395 Fix inserting of UTF-8 characters from *text/plain* parts in reply
2396
2397   While notmuch gained ability to insert content from other than *text/plain*
2398   parts of email whenever *text/plain* parts are not available (notably
2399   HTML-only emails), replying to mails that do have *text/plain* the
2400   non-ASCII characters were incorrectly decoded. This is now fixed.
2401
2402 `notmuch_database_get_directory` and
2403 `notmuch_database_find_message_by_filename` now work on read-only
2404 databases
2405
2406   Previously, these functions attempted to create directory documents
2407   that didn't exist and would return an error or abort when given a
2408   read-only database.  Now they no longer create directory documents
2409   and simply return a `NULL` object if the directory does not exist,
2410   as documented.
2411
2412 Fix compilation of ruby bindings
2413
2414   Revert to dynamic linking, since the statically linked bindings did
2415   not work well.
2416
2417 Notmuch 0.13 (2012-05-15)
2418 =========================
2419
2420 Command-Line Interface
2421 ----------------------
2422
2423 JSON reply format
2424
2425   `notmuch reply` can now produce JSON output that contains the headers
2426   for a reply message and full information about the original message
2427   begin replied to. This allows MUAs to create replies intelligently.
2428   For example, an MUA that can parse HTML might quote HTML parts.
2429
2430   Calling notmuch reply with `--format=json` imposes the restriction that
2431   only a single message is returned by the search, as replying to
2432   multiple messages does not have a well-defined behavior. The default
2433   retains its current behavior for multiple message replies.
2434
2435 Tag exclusion
2436
2437   Tags can be automatically excluded from search results by adding them
2438   to the new `search.exclude_tags` option in the Notmuch config file.
2439
2440   This behaviour can be overridden by explicitly including an excluded
2441   tag in your query, for example:
2442
2443         notmuch search $your_query and tag:$excluded_tag
2444
2445   Existing users will probably want to run `notmuch setup` again to add
2446   the new well-commented [search] section to the configuration file.
2447
2448   For new configurations, accepting the default setting will cause the
2449   tags "deleted" and "spam" to be excluded, equivalent to running:
2450
2451         notmuch config set search.exclude_tags deleted spam
2452
2453 Raw show format changes
2454
2455   The output of show `--format=raw` has changed for multipart and
2456   message parts.  Previously, the output was a mash of somewhat-parsed
2457   headers and transfer-decoded bodies.  Now, such parts are reproduced
2458   faithfully from the original source.  Message parts (which includes
2459   part 0) output the full message, including the message headers (but
2460   not the transfer headers).  Multipart parts output the part as
2461   encoded in the original message, including the part's headers.  Leaf
2462   parts, as before, output the part's transfer-decoded body.
2463
2464 Listing configuration items
2465
2466   The new `config list` command prints out all configuration items and
2467   their values.
2468
2469 Emacs Interface
2470 ---------------
2471
2472 Changes to tagging interface
2473
2474   The user-facing tagging functions in the Emacs interface have been
2475   normalized across all notmuch modes.  The tagging functions are now
2476   notmuch-search-tag in search-mode, and notmuch-show-tag in
2477   show-mode.  They accept a string representing a single tag change,
2478   or a list of tag changes.  See 'M-x describe-function notmuch-tag'
2479   for more information.
2480
2481   NOTE: This breaks compatibility with old tagging functions, so user
2482   may need to update in custom configurations.
2483
2484 Reply improvement using the JSON format
2485
2486   Emacs now uses the JSON reply format to create replies. It obeys
2487   the customization variables message-citation-line-format and
2488   message-citation-line-function when creating the first line of the
2489   reply body, and it will quote HTML parts if no text/plain parts are
2490   available.
2491
2492 New add-on tool: notmuch-mutt
2493 -----------------------------
2494
2495 The new contrib/ tool `notmuch-mutt` provides Notmuch integration for
2496 the Mutt mail user agent. Using it, Mutt users can perform mail
2497 search, thread reconstruction, and mail tagging/untagging without
2498 leaving Mutt.  notmuch-mutt, formerly distributed under the name
2499 `mutt-notmuch` by Stefano Zacchiroli, will be maintained as a notmuch
2500 contrib/ from now on.
2501
2502 Library changes
2503 ---------------
2504
2505 The API changes detailed below break binary and source compatibility,
2506 so libnotmuch has been bumped to version 3.0.0.
2507
2508 The function `notmuch_database_close` has been split into
2509 `notmuch_database_close` and `notmuch_database_destroy`
2510
2511   This makes it possible for long running programs to close the xapian
2512   database and thus release the lock associated with it without
2513   destroying the data structures obtained from it.
2514
2515 `notmuch_database_open`, `notmuch_database_create`, and
2516 `notmuch_database_get_directory` now return errors
2517
2518   The type signatures of these functions have changed so that the
2519   functions now return a `notmuch_status_t` and take an out-argument for
2520   returning the new database object or directory object.
2521
2522 Go bindings changes
2523 -------------------
2524
2525 Go 1 compatibility
2526
2527   The go bindings and the `notmuch-addrlookup` utility are now
2528   compatible with go 1.
2529
2530 Notmuch 0.12 (2012-03-20)
2531 =========================
2532
2533 Command-Line Interface
2534 ----------------------
2535
2536 Reply to sender
2537
2538   `notmuch reply` has gained the ability to create a reply template
2539   for replying just to the sender of the message, in addition to reply
2540   to all. The feature is available through the new command line option
2541   `--reply-to=(all|sender)`.
2542
2543 Mail store folder/file ignore
2544
2545   A new configuration option, `new.ignore`, lets users specify a
2546   ;-separated list of file and directory names that will not be
2547   searched for messages by `notmuch new`.
2548
2549   NOTE: *Every* file/directory that goes by one of those names will
2550   be ignored, independent of its depth/location in the mail store.
2551
2552 Unified help and manual pages
2553
2554   The notmuch help command now runs man for the appropriate page.  If
2555   you install notmuch somewhere "unusual", you may need to update
2556   MANPATH.
2557
2558 Manual page for notmuch configuration options
2559
2560   The notmuch CLI configuration file options are now documented in the
2561   notmuch-config(1) manual page in addition to the configuration file
2562   itself.
2563
2564 Emacs Interface
2565 ---------------
2566
2567 Reply to sender
2568
2569   The Emacs interface has, with the new CLI support, gained the
2570   ability to reply to sender in addition to reply to all. In both show
2571   and search modes, 'r' has been bound to reply to sender, replacing
2572   reply to all, which now has key binding 'R'.
2573
2574 More flexible and consistent tagging operations
2575
2576   All tagging operations ('+', '-', '*') now accept multiple tags with
2577   '+' or '-' prefix, like '*' operation in notmuch-search view before.
2578
2579   '*' operation (`notmuch-show-tag-all`) is now available in
2580   notmuch-show view.
2581
2582   `notmuch-show-{add,remove}-tag` functions no longer accept tag
2583   argument, `notmuch-show-tag-message` should be used instead.  Custom
2584   bindings using these functions should be updated, e.g.:
2585
2586         (notmuch-show-remove-tag "unread")
2587
2588   should be changed to:
2589
2590         (notmuch-show-tag-message "-unread")
2591
2592 Refreshing the show view ('=' by default) no longer opens or closes messages
2593
2594   To get the old behavior of putting messages back in their initial
2595   opened/closed state, use a prefix argument, e.g., 'C-u ='.
2596
2597 Attachment buttons can be used to view or save attachments.
2598
2599   When the cursor is on an attachment button the key 's' can be used
2600   to save the attachment, the key 'v' to view the attachment in the
2601   default mailcap application, and the key 'o' prompts the user for an
2602   application to use to open the attachment. By default Enter or mouse
2603   button 1 saves the attachment but this is customisable (option
2604   Notmuch Show Part Button Default Action).
2605
2606 New functions
2607
2608   `notmuch-show-stash-mlarchive-link{,-and-go}` allow stashing and
2609   optionally visiting a URI to the current message at one of a number
2610   of Mailing List Archives.
2611
2612 Fix MML tag quoting in replies
2613
2614   The MML tag quoting fix of 0.11.1 unintentionally quoted tags
2615   inserted in `message-setup-hook`. Quoting is now limited to the
2616   cited message.
2617
2618 Show view archiving key binding changes
2619
2620   The show view archiving key bindings 'a' and 'x' now remove the
2621   "inbox" tag from the current message only (instead of thread), and
2622   move to the next message. At the last message, 'a' proceeds to the
2623   next thread in search results, and 'x' returns to search
2624   results. The thread archiving functions are now available in 'A' and
2625   'X'.
2626
2627 Support text/calendar MIME type
2628
2629   The text/calendar MIME type is now supported in addition to
2630   text/x-vcalendar.
2631
2632 Generate inline patch fake attachment file names from message subject
2633
2634   Use the message subject to generate file names for the inline patch
2635   fake attachments. The names are now similar to the ones generated by
2636   'git format-patch' instead of just "inline patch". See "Notmuch Show
2637   Insert Text/Plain Hook" in the notmuch customize interface.
2638
2639 Enable `notmuch-search-line-faces` by default
2640
2641   Make the `notmuch-search-line-faces` functionality more discoverable
2642   for new users by showing "unread" messages bold and "flagged"
2643   messages blue by default in the search view.
2644
2645 Printing Support
2646
2647   notmuch-show mode now has simple printing support, bound to '#' by
2648   default. You can customize the variable notmuch-print-mechanism.
2649
2650 Library changes
2651 ---------------
2652
2653 New functions
2654
2655   `notmuch_query_add_tag_exclude` supports the new tag exclusion
2656   feature.
2657
2658 Python bindings changes
2659 -----------------------
2660
2661 Python 3.2 compatibility
2662
2663   The python bindings are now compatible with both python 2.5+ and 3.2.
2664
2665 Added missing unicode conversions
2666
2667   Python strings have to be encoded to and decoded from utf-8 when
2668   calling libnotmuch functions. Porting the bindings to python 3.2
2669   revealed a few function calls that were missing these conversions.
2670
2671 Build fixes
2672 -----------
2673
2674 Compatibility with GMime 2.6
2675
2676   It is now possible to build notmuch against both GMime 2.4 and 2.6.
2677   However, a bug in GMime 2.6 before 2.6.5 causes notmuch not to
2678   report signatures where the signer key is unavailable (GNOME bug
2679   668085).  For compatibility with GMime 2.4's tolerance of "From "
2680   headers we require GMime 2.6 >= 2.6.7.
2681
2682 Notmuch 0.11.1 (2012-02-03)
2683 ===========================
2684
2685 Bug-fix release
2686 ---------------
2687
2688 Fix error handling in python bindings
2689
2690   The python bindings in 0.11 failed to detect NULL pointers being
2691   returned from libnotmuch functions and thus failed to raise
2692   exceptions to indicate the error condition. Any subsequent calls
2693   into libnotmuch caused segmentation faults.
2694
2695 Quote MML tags in replies
2696
2697   MML tags are text codes that Emacs uses to indicate attachments
2698   (among other things) in messages being composed.  The Emacs
2699   interface did not quote MML tags in the quoted text of a reply.
2700   User could be tricked into replying to a maliciously formatted
2701   message and not editing out the MML tags from the quoted text.  This
2702   could lead to files from the user's machine being attached to the
2703   outgoing message.  The Emacs interface now quotes these tags in
2704   reply text, so that they do not effect outgoing messages.
2705
2706 Notmuch 0.11 (2012-01-13)
2707 =========================
2708
2709 Command-Line Interface
2710 ----------------------
2711
2712 Hooks
2713
2714   Hooks have been introduced to notmuch. Hooks are scripts that notmuch
2715   invokes before and after certain actions. Initially, `notmuch new`
2716   supports `pre-new` and `post-new` hooks that are run before and after
2717   importing new messages into the database.
2718
2719 `notmuch reply --decrypt bugfix`
2720
2721   The `notmuch reply` command with `--decrypt` argument had a rarely
2722   occurring bug that caused an encrypted message not to be decrypted
2723   sometimes. This is now fixed.
2724
2725 Performance
2726 -----------
2727
2728 Automatic tag query optimization
2729
2730   `notmuch tag` now automatically optimizes the user's query to
2731   exclude messages whose tags won't change.  In the past, we've
2732   suggested that people do this by hand; this is no longer necessary.
2733
2734 Don't sort messages when creating a dump file
2735
2736   This speeds up tag dumps considerably, without any loss of
2737   information. To replicate the old behavior of sorted output (for
2738   example to compare two dump files), one can use e.g. `sort(1)`.
2739
2740 Memory Management
2741 -----------------
2742
2743 Reduction of memory leaks
2744
2745   Two memory leaks when searching and showing messages were identified
2746   and fixed in this release.
2747
2748 Emacs Interface
2749 ---------------
2750
2751 Bug fixes
2752
2753   notmuch-show-advance (bound to the spacebar in notmuch-show-mode) had
2754   a bug that caused it to always jump to the next message, even if it
2755   should have scrolled down to show more of the current message instead.
2756   This is now fixed.
2757
2758 Support `notmuch new` as a notmuch-poll-script
2759
2760   It's now possible to use `notmuch new` as a notmuch-poll-script
2761   directly. This is also the new default. This allows taking better
2762   advantage of the `notmuch new` hooks from emacs without intermediate
2763   scripts.
2764
2765 Improvements in saved search management
2766
2767   New saved searches are now appended to the list of saved searches,
2768   not inserted in front. It's also possible to define a sort function
2769   for displaying saved searches; alphabetical sort is provided.
2770
2771 Hooks for notmuch-hello
2772
2773   Two new hooks have been added: "notmuch-hello-mode-hook" (called after
2774   entering notmuch-hello-mode) and "notmuch-hello-refresh-hook" (called
2775   after updating a notmuch-hello buffer).
2776
2777 New face for crypto parts headers
2778
2779   Crypto parts used to be displayed with a hardcoded color. A new face
2780   has been introduced to fix this: notmuch-crypto-part-header. It
2781   defaults to the same value as before, but can be customized to match
2782   other color themes.
2783
2784 Use space as default thousands separator
2785
2786   Large numbers in notmuch-hello are now displayed using a space as
2787   thousands separator (e.g. "123 456" instead of "123,456"). This can be
2788   changed by customizing "notmuch-hello-thousands-separator".
2789
2790 Call notmuch-show instead of notmuch-search when clicking on
2791 buttonized id: links
2792
2793 New function notmuch-show-advance
2794
2795   This new function advances through just the current thread, and is
2796   less invasive than notmuch-show-advance-and-archive.  It can easily
2797   be bound to SPC with:
2798
2799         (define-key notmuch-show-mode-map " " 'notmuch-show-advance)
2800
2801 Various performance improvements
2802
2803 New add-on tool
2804 ---------------
2805
2806 The tool `contrib/notmuch-deliver` helps with initial delivery and
2807 tagging of mail (replacing running `notmuch new`).
2808
2809
2810 Notmuch 0.10.2 (2011-12-04)
2811 ===========================
2812
2813 Bug-fix release
2814 ---------------
2815
2816 Fix crash in python bindings
2817
2818   The python bindings did not call `g_type_init`, which caused crashes
2819   for some, but not all users.
2820
2821 Notmuch 0.10.1 (2011-11-25)
2822 ===========================
2823
2824 Bug-fix release
2825 ---------------
2826
2827 Fix `--help` argument
2828
2829   Argument processing changes in 0.10 introduced a bug where
2830   `notmuch --help` crashed while `notmuch help` worked fine.
2831   This is fixed in 0.10.1.
2832
2833 Notmuch 0.10 (2011-11-23)
2834 =========================
2835
2836 New build and testing features
2837 ------------------------------
2838
2839 Emacs tests are now done in `dtach`. This means that dtach is now
2840 needed to run the notmuch test suite, at least until the checking for
2841 prerequisites is improved.
2842
2843 Full test coverage of the stashing feature in Emacs.
2844
2845 New command-line features
2846 -------------------------
2847
2848 Add `notmuch restore --accumulate` option
2849
2850   The `--accumulate` switch causes the union of the existing and new tags to
2851   be applied, instead of replacing each message's tags as they are read in
2852   from the dump file.
2853
2854 Add search terms to `notmuch dump`
2855
2856   The dump command now takes an optional search term much like notmuch
2857   search/show/tag. The output file argument of dump is deprecated in
2858   favour of using stdout.
2859
2860 Add `notmuch search` `--offset` and `--limit` options
2861
2862   The search command now takes options `--offset=[-]N` and `--limit=N` to
2863   limit the number of results shown.
2864
2865 Add `notmuch count --output` option
2866
2867   The count command is now capable of counting threads in addition to
2868   messages. This is selected using the new `--output=(threads|messages)`
2869   option.
2870
2871 New emacs UI features
2872 ---------------------
2873
2874 Add tab-completion for `notmuch-search` and `notmuch-search-filter`
2875
2876   These functions now support completion tags for query parts
2877   starting with "tag:".
2878
2879 Turn "id:MSG-ID" links into buttons associated with notmuch searches
2880
2881   Text of the form "id:MSG-ID" in mails is now a clickable button that
2882   opens a notmuch search for the given message id.
2883
2884 Add keybinding ('c I') for stashing Message-ID's without an id: prefix
2885
2886   Reduces manual labor when stashing them for use outside notmuch.
2887
2888 Do not query on `notmuch-search` exit
2889
2890   It is harmless to kill the external notmuch process, so the user
2891   is no longer interrogated when they interrupt a search.
2892
2893 Performance
2894 -----------
2895
2896 Emacs now constructs large search buffers more efficiently
2897
2898 Search avoids opening and parsing message files
2899
2900   We now store more information in the database so search no longer
2901   has to open every message file to get basic headers.  This can
2902   improve search speed by as much as 10X, but taking advantage of this
2903   requires a database rebuild:
2904
2905         notmuch dump > notmuch.dump
2906         # Backup, then remove notmuch database ($MAIL/.notmuch)
2907         notmuch new
2908         notmuch restore notmuch.dump
2909
2910 New collection of add-on tools
2911 ------------------------------
2912
2913 The source directory "contrib" contains tools built on notmuch.  These
2914 tools are not part of notmuch, and you should check their individual
2915 licenses.  Feel free to report problems with them to the notmuch
2916 mailing list.
2917
2918 nmbug - share tags with a given prefix
2919
2920   nmbug helps maintain a git repo containing all tags with a given
2921   prefix (by default "notmuch::"). Tags can be shared by committing
2922   them to git in one location and restoring in another.
2923
2924 Notmuch 0.9 (2011-10-01)
2925 ========================
2926
2927 New, general features
2928 ---------------------
2929
2930 Correct handling of interruptions during `notmuch new`
2931
2932   `notmuch new` now operates as a series of small, self-consistent
2933   transactions, so it can correctly resume after an interruption or
2934   crash.  Previously, interruption could lose existing tags, fail to
2935   detect messages on resume, or leave the database in a state
2936   temporarily or permanently inconsistent with the mail store.
2937
2938 Library changes
2939 ---------------
2940
2941 New functions
2942
2943   `notmuch_database_begin_atomic` and `notmuch_database_end_atomic`
2944   allow multiple database operations to be performed atomically.
2945
2946   `notmuch_database_find_message_by_filename` does exactly what it says.
2947
2948 API changes
2949
2950   `notmuch_database_find_message` (and `n_d_f_m_by_filename`) now return
2951   a status indicator and uses an output parameter for the
2952   message. This change required changing the SONAME of libnotmuch to
2953   libnotmuch.so.2
2954
2955 Python bindings changes
2956 -----------------------
2957
2958   - Re-encode python unicode objects to utf-8 before passing back to
2959     libnotmuch.
2960   - Support `Database().begin_atomic()/end_atomic()`
2961   - Support `Database().find_message_by_filename()`
2962     NB! This needs a db opened in READ-WRITE mode currently, or it will crash
2963     the python process. The is a limitation (=bug) of the underlying libnotmuch.
2964   - Fixes where we would not throw NotmuchErrors when we should (Justus Winter)
2965   - Update for `n_d_find_message*` API changes (see above).
2966
2967 Ruby bindings changes
2968 ---------------------
2969
2970   - Wrap new library functions `notmuch_database_{begin,end}_atomic.`
2971   - Add new exception `Notmuch::UnbalancedAtomicError.`
2972   - Rename destroy to destroy! according to Ruby naming conventions.
2973   - Update for `n_d_find_message*` API changes (see above).
2974
2975 Emacs improvements
2976 ------------------
2977
2978   * Add gpg callback to crypto sigstatus buttons to retrieve/refresh
2979     signing key.
2980   * Add `notmuch-show-refresh-view` function (and corresponding binding)
2981     to refresh the view of a notmuch-show buffer.
2982
2983 Reply formatting cleanup
2984 ------------------------
2985
2986   `notmuch reply` no longer includes notification that non-leafnode
2987   MIME parts are being suppressed.
2988
2989 Notmuch 0.8 (2011-09-10)
2990 ========================
2991
2992 Improved handling of message/rfc822 parts
2993
2994   Both in the CLI and the emacs interface.  Output of rfc822 parts now
2995   includes the primary headers, as well as the body and all subparts.
2996   Output of the completely raw rfc822-formatted message, including all
2997   headers, is unfortunately not yet supported (but hopefully will be
2998   soon).
2999
3000 Improved Build system portability
3001
3002   Certain parts of the shell script generating notmuch.sym were
3003   specific to the GNU versions of sed and nm. The new version should
3004   be more portable to e.g. OpenBSD.
3005
3006 Documentation update for Ruby bindings
3007
3008   Added documentation, typo fixes, and improved support for rdoc.
3009
3010 Unicode, iterator, PEP8 changes for python bindings
3011
3012   - PEP8 (code formatting) changes for python files.
3013   - Remove `Tags.__len__` ; see 0.6 release notes for motivation.
3014   - Decode headers as UTF8, encode (unicode) database paths as UTF8.
3015
3016 Notmuch 0.7 (2011-08-01)
3017 ========================
3018
3019 Vim interface improvements
3020 --------------------------
3021
3022 Jason Woofenden provided a number of bug fixes for the Vim interface
3023
3024   * fix citation/signature fold lengths
3025   * fix cig/cit parsing within multipart/*
3026   * fix on-screen instructions for show-signature
3027   * fix from list reformatting in search view
3028   * fix space key: now archives (did opposite)
3029
3030 Uwe Kleine-König contributed
3031
3032   * use full path for sendmail/doc fix
3033   * fix compose temp file name
3034
3035 Python Bindings changes
3036 -----------------------
3037
3038 Sebastian Spaeth contributed two changes related to unicode and UTF8:
3039
3040   * message tags are now explicitly unicode
3041   * query string is encoded as a UTF8 byte string
3042
3043 Build-System improvements
3044 -------------------------
3045
3046 Generate notmuch.sym after the relevant object files
3047
3048   This fixes a bug in parallel building. Thanks to Thomas Jost for the
3049   patch.
3050
3051 Notmuch 0.6.1 (2011-07-17)
3052 ==========================
3053
3054 Bug-fix release
3055 ---------------
3056
3057 Re-export Xapian exception typeinfo symbols
3058
3059   It turned out our aggressive symbol hiding caused problems for
3060   people running gcc 4.4.5.
3061
3062 Notmuch 0.6 (2011-07-01)
3063 =======================
3064
3065 New, general features
3066 ---------------------
3067
3068 Folder-based searching
3069
3070   Notmuch queries can now include a search term to match the
3071   directories in which mail files are stored (within the mail
3072   storage). The syntax is as follows:
3073
3074         folder:<path>
3075
3076   For example, one might use things such as:
3077
3078         folder:spam
3079         folder:2011-*
3080         folder:work/todo
3081
3082   to match any path containing a directory "spam", "work/todo", or
3083   containing a directory starting with "2011-", respectively.
3084
3085   This feature is particularly useful for users of delivery-agent
3086   software (such as procmail or maildrop) that is filtering mail and
3087   delivering it to particular folders, or users of systems such as
3088   Gmail that use filesystem directories to indicate message tags.
3089
3090   NOTE: Only messages that are newly indexed with this version of
3091   notmuch will be searchable with folder: terms. In order to enable
3092   this feature for all mail, the entire notmuch index will need to be
3093   rebuilt as follows:
3094
3095         notmuch dump > notmuch.dump
3096         # Backup, then remove notmuch database ($MAIL/.notmuch)
3097         notmuch new
3098         notmuch restore notmuch.dump
3099
3100 Support for PGP/MIME
3101
3102   Both the command-line interface and the emacs-interface have new
3103   support for PGP/MIME, detailed below. Thanks to Daniel Kahn Gillmor
3104   and Jameson Graef Rollins for making this happen.
3105
3106 New, automatic tags: "signed" and "encrypted"
3107
3108   These tags will automatically be applied to messages containing
3109   multipart/signed and multipart/encrypted parts.
3110
3111   NOTE: Only messages that are newly indexed with this version of
3112   notmuch will receive these tags.
3113
3114 New command-line features
3115 -------------------------
3116
3117 Add new "notmuch show --verify" option for signature verification
3118
3119   This option instruct notmuch to verify the signature of
3120   PGP/MIME-signed parts.
3121
3122 Add new "notmuch show --decrypt" and "notmuch reply --decrypt" options
3123
3124   This option instructs notmuch to decrypt PGP/MIME-encrypted parts.
3125   Note that this feature currently requires gpg-agent and a passphrase entry
3126   tool (e.g. pinentry-gtk or pinentry-curses).
3127
3128 Proper nesting of multipart parts in "notmuch show" output
3129
3130   MIME parts are now display with proper nesting to reflect original
3131   MIME hierarchy of a message. This allows clients to correctly
3132   analyze the MIME structure, (such as, for example, determining to
3133   which parts a signature part applies).
3134
3135 Add new "notmuch show --part" option
3136
3137   This is a replacement for the older "notmuch part" command, (which
3138   is now deprecated—it should still work as always, but is no longer
3139   documented). Putting part output under "notmuch show" allows for all
3140   of the "notmuch show" options to be applied when extracting a single
3141   part, (such as --format=json for extracting a message part with JSON
3142   formatting).
3143
3144 Deprecate "notmuch search-tags" (in favor of "notmuch search --output=tags *")
3145
3146   The "notmuch search-tags" sub-command has been redundant since the
3147   addition of the --output=tags option to "notmuch search". We now
3148   make that more clear by deprecating "notmuch search-tags", (dropping
3149   it from the documentation). We do continue to support the old syntax
3150   by translating it internally to the new call.
3151
3152 Performance improvements
3153 ------------------------
3154
3155 Faster searches (by doing fewer searches to construct threads)
3156
3157   Whenever a user asks for search results as threads, notmuch first
3158   performs a search for messages matching the query, then performs
3159   additional searches to find other messages in the resulting threads.
3160
3161   Removing inefficiencies and redundancies in these secondary searches
3162   results in a measured speedups of 1.5x for a typical search.
3163
3164 Faster searches (by doing fewer passes to gather message data)
3165
3166   Optimizing Xapian data access patterns (using a single pass to get
3167   all message-document data rather than a pass for each data type)
3168   results in a measured speedup of 1.7x for a typical search.
3169
3170   The benefits of this optimization combine with the preceding
3171   optimization. With both in place, Austin Clements measured a speedup
3172   of 2.5x for a search of all messages in his inbox (was 4.5s, now
3173   1.8s). Thanks, Austin!
3174
3175 Faster initial indexing
3176
3177   More efficient indexing of new messages results in a measured
3178   speedup of 1.4x for the initial indexing of 3 GB of mail (1h 14m
3179   rather than 1h 46m). Thanks to Austin Clements and Michal Sojka.
3180
3181 Make "notmuch new" faster for unchanged directories
3182
3183   Optimizing to not do any further examinations of sub-directories
3184   when the filesystem indicates that a directory is unchanged from the
3185   last "notmuch new" results in measured speedups of 8.5 for the "No
3186   new mail" case, (was 0.77s, now 0.09s). Thanks to Karel Zak.
3187
3188 New emacs-interface features
3189 ----------------------------
3190
3191 Support for PGP/MIME (GnuPG)
3192
3193   Automatically indicate validity of signatures for multipart/signed
3194   messages.  Automatically display decrypted content for
3195   multipart/encrypted messages.  See the emacs variable
3196   notmuch-crypto-process-mime for more information. Note that this
3197   needs gpg-agent and a pinentry tool just as the command-line tools.
3198   Also note there is no support SMIME yet.
3199
3200 Output of pipe command is now displayed if pipe command fails
3201
3202   This is extremely useful in the common use case of piping a patch to
3203   "git am". If git fails to cleanly merge the patch the error messages
3204   from the failed merge are now clearly displayed to the user, (where
3205   previously they were silently hidden from the user).
3206
3207 User-selectable From address
3208
3209   A user can choose which configured email addresses should be used as
3210   the From address whenever composing a new message. To do so, simply
3211   press C-u before the command which will open a new message. Emacs
3212   will prompt for the from address to use.
3213
3214   The user can customize the "Notmuch Identities" setting in the
3215   notmuch customize group in order to use addresses other than those in
3216   the notmuch configuration file if desired.
3217
3218   The user can also choose to always be prompted for the from address
3219   when composing a new message (without having to use C-u) by setting
3220   the "Notmuch Always Prompt For Sender" option in the notmuch
3221   customize group.
3222
3223 Hiding of repeated subjects in collapsed thread view
3224
3225   In notmuch-show mode, if a collapsed message has the same subject as
3226   its parent, the subject is not shown.
3227
3228 Automatic detection and hiding of original message in top-posted message
3229
3230   When a message contains a line looking something like:
3231
3232         ----- Original Message -----
3233
3234   emacs hides this and all subsequent lines as an "original message",
3235   (allowing the user to click or press enter on the "original message"
3236   button to display it again). This makes the handling of top-posted
3237   citations work much like conventional citations.
3238
3239 New hooks for running code when tags are modified
3240
3241   Some users want to perform additional actions whenever a particular
3242   tag is added/removed from a message. This could be used to, for
3243   example, interface with some external spam-recognition training
3244   tool. To facilitate this, two new hooks are added which can be
3245   modified in the following settings of the notmuch customize group:
3246
3247         Notmuch Before Tag Hook
3248         Notmuch After Tag Hook
3249
3250 New optional support for hiding some multipart/alternative parts
3251
3252   Many emails are sent with redundant content within a
3253   multipart/alternative group (such as a text/plain part as well as a
3254   text/html part). Users can configure the setting:
3255
3256         Notmuch Show All Multipart/Alternative Parts
3257
3258   to "off" in the notmuch customize group to have the interface
3259   automatically hide some part alternatives (such as text/html
3260   parts). This new part hiding is not configured by default yet
3261   because there's not yet a simple way to re-display such a hidden
3262   part if it is not actually redundant with a displayed part.
3263
3264 Better rendering of text/x-vcalendar parts
3265
3266   These parts are now displayed in a format suitable for use with the
3267   emacs diary.
3268
3269 Avoid getting confused by Subject and Author fields with newline characters
3270
3271   Replacing all characters with ASCII code less than 32 with a question mark.
3272
3273 Cleaner display of From line in email messages
3274
3275   Remove double quotes, and drop "name" if it's actually just a repeat of
3276   the email address.
3277
3278 Vim interface improvements
3279 --------------------------
3280
3281 Felipe Contreras provided a number of updates for the vim interface:
3282
3283   * Using sendmail directly rather than mailx,
3284   * Implementing archive in show view
3285   * Add support to mark as read in show and search views
3286   * Add delete commands
3287   * Various cleanups.
3288
3289 Bindings improvements
3290 ---------------------
3291
3292 Ruby bindings are now much more complete
3293
3294   Including `QUERY.sort`, `QUERY.to_s`, `MESSAGE.maildir_flags_to_tags`,
3295   `MESSAGE.tags_to_maildir_flags`, and `MESSAGE.get_filenames`
3296
3297 Python bindings have been updated and extended
3298
3299   (docs online at https://notmuch.readthedocs.io/)
3300
3301   New bindings:
3302
3303   - `Message().get_filenames()`, `Message().tags_to_maildir_flags()`,
3304     `Message().maildir_flags_to_tags()`, `list(Threads())` and
3305     `list(Messages)` works now
3306   - `Message().__cmp__()` and `__hash__()`
3307
3308   These allow, for example:
3309
3310         if msg1 == msg2: ...
3311
3312   As well as set arithmetic on `Messages()`:
3313
3314         s1, s2 = set(msgs1), set(msgs2)
3315         s1.union(s2)
3316         s2 -= s1
3317
3318   Removed:
3319
3320   - `len(Messages())` as it exhausted the iterator
3321
3322   Use `len(list(Messages()))` or `Query.count_messages()`
3323   to get the length.
3324
3325 Added initial Go bindings in bindings/go
3326
3327 New build-system features
3328 -------------------------
3329
3330 Added support for building in a directory other than the source directory
3331
3332   This can be used with the widely-supported idiom of simply running
3333   the configure script from some other directory:
3334
3335         mkdir build
3336         cd build
3337         ../configure
3338         make
3339
3340 Fix to save configure options for future, implicit runs of configure
3341
3342   When a user updates the source (such as with "git pull") calling
3343   "make" may cause an automatic re-run of the configure script. When
3344   this happens, the configure script will automatically be called with
3345   the same options the user originally passed in the most-recent
3346   manual invocation of configure.
3347
3348 New test-suite feature
3349 ----------------------
3350
3351 Binary for bash for running test suite now located via PATH
3352
3353   The notmuch test suite requires a fairly recent version of bash (>=
3354   bash 4). As some systems supply an older version of bash at
3355   /bin/bash, the test suite is now updated to search $PATH to locate
3356   the bash binary. This allows users of systems with old /bin/bash to
3357   simply install bash >= 4 somewhere on $PATH before /bin and then use
3358   the test suite.
3359
3360 Support for testing output with a trailing newline
3361
3362   Previously, some tests would fail to notice a difference in the
3363   presence/absence of a trailing newline in a program output, (which
3364   has led to bugs in the past). Now, carefully-written tests (using
3365   `test_expect_equal_file` rather than `test_expect_equal`) will detect
3366   any change in the presence/absence of a trailing newline. Many tests
3367   are updated to take advantage of this.
3368
3369 Avoiding accessing user's $HOME while running test suite
3370
3371   The test suite now carefully creates its own HOME directory. This
3372   allows the test suite to be run with no existing HOME directory, (as
3373   some build systems apparently do), and avoids test-suite differences
3374   due to configuration files in the users HOME directory.
3375
3376
3377 General bug fixes
3378 -----------------
3379
3380 Output *all* files for "notmuch search --output=files"
3381
3382   For the cases where multiple files have the same Message ID,
3383   previous versions of notmuch would output only one such file. This
3384   command is now fixed to correctly output all files.
3385
3386 Fixed spurious search results from "overlapped" indexing of addresses
3387
3388   This fixed a bug where a search for:
3389
3390         to:user@elsewhere.com
3391
3392   would incorrectly match a message sent:
3393
3394         To: user@example,com, someone@elsewhere.com
3395
3396 Fix --output=json when search has no results
3397
3398   A bug present since notmuch 0.4 had caused searches with no results
3399   to produce an invalid json object. This is now fixed to cleanly
3400   return a valid json object representing an empty array "[]" as
3401   expected.
3402
3403 Fix the automatic detection of the From address for "notmuch reply"
3404 from the Received headers in some cases
3405
3406 Fix core dump on DragonFlyBSD due to -1 return value from
3407 `sysconf(_SC_GETPW_R_SIZE_MAX)`
3408
3409 Cleaned up several memory leaks
3410
3411 Eliminated a few, rare segmentation faults and a double-free
3412
3413 Fix libnotmuch library to only export notmuch API functions
3414
3415   Previous release of the notmuch library also exported some Xapian
3416   C++ exception type symbols. These were never part of the library
3417   interface and were never intended to be exported.
3418
3419 Emacs-interface bug fixes
3420 -------------------------
3421
3422 Display any unexpected output or errors from "notmuch search" invocations
3423
3424   Previously any misformatted output or trailing error messages were
3425   silently ignored. This output is now clearly displayed. This fix was
3426   very helpful in identifying and fixing the bug described below.
3427
3428 Fix bug where some threads would be missing from large search results
3429
3430   When a search returned a "large" number of results, the emacs
3431   interface was incorrectly dropping one thread every time the output
3432   of the "notmuch search" process spanned the emacs read-buffer. This
3433   is now fixed.
3434
3435 Avoid re-compression of .gz files (and similar) when saving attachment
3436
3437   Emacs was being too clever for its own good and trying to
3438   re-compress pre-compressed .gz files when saving such attachments
3439   (potentially corrupting the attachment). The emacs interface is
3440   fixed to avoid this bug.
3441
3442 Fix hiding of a message when a previously-hidden citation is visible
3443
3444   Previously the citation would remain visible in this case. This is
3445   fixed so that hiding a message hides all parts.
3446
3447 Notmuch 0.5 (2010-11-11)
3448 ========================
3449
3450 New, general features
3451 ---------------------
3452
3453 Maildir-flag synchronization
3454
3455   Notmuch now knows how to synchronize flags in maildir filenames with
3456   tags in the notmuch database. The following flag/tag mappings are
3457   supported:
3458
3459         Flag <-> Tag
3460         ----     -----
3461         'D'      draft
3462         'F'      flagged
3463         'P'      passed
3464         'R'      replied
3465         'S'      unread (added when 'S' flag is not present)
3466
3467   The synchronization occurs in both directions, (for example, adding
3468   the 'S' flag to a file will cause the "unread" tag to be added, and
3469   adding the "replied" tag to a message will cause the file to be
3470   renamed with an 'R' flag).
3471
3472   This synchronization is enabled by default for users of the
3473   command-line interface, (though only files in directories named
3474   "cur" or "new" will be renamed). It can be disabled by setting the
3475   new `maildir.synchronize_flags` option in the configuration file. For
3476   example:
3477
3478         notmuch config set maildir.synchronize_flags false
3479
3480   Users upgrading may also want to run "notmuch setup" once (just
3481   accept the existing configuration) to get a new, nicely-commented
3482   [maildir] section added to the configuration file.
3483
3484   For users of the notmuch library, the new synchronization
3485   functionality is available with the following two new functions:
3486
3487         notmuch_message_maildir_flags_to_tags
3488         notmuch_message_tags_to_maildir_flags
3489
3490   It is anticipated that future improvements to this support will
3491   allow for safe synchronization of the 'T' flag with the "deleted"
3492   tag, as well as support for custom flag/tag mappings.
3493
3494 New library features
3495 --------------------
3496
3497 Support for querying multiple filenames for a single message
3498
3499   It is common for the mailstore to contain multiple files with the
3500   same message ID. Previously, notmuch would always hide these
3501   duplicate files, (returning a single, arbitrary filename with
3502   `notmuch_message_get_filename`).
3503
3504   With this release, library users can access all filenames for a
3505   message with the new function:
3506
3507         notmuch_message_get_filenames
3508
3509   Together with `notmuch_filenames_valid`, `notmuch_filenames_get`,
3510   and `notmuch_filenames_move_to_next` it is now possible to iterate
3511   over all available filenames for a given message.
3512
3513 New command-line features
3514 -------------------------
3515
3516 New "notmuch show --format=raw" for getting at original email contents
3517
3518   This new feature allows for a fully-functional email client to be
3519   built on top of the notmuch command-line without needing any direct
3520   access to the mail store itself.
3521
3522   For example, it's now possible to run "emacs -f notmuch" on a local
3523   machine with only ssh access to the mail store/notmuch database. To
3524   do this, simply set the notmuch-command variable in emacs to the
3525   name of a script containing:
3526
3527         ssh user@host notmuch "$@"
3528
3529   If the ssh client has enabled connection sharing (ControlMaster
3530   option in OpenSSH), the emacs interface can be quite responsive this
3531   way.
3532
3533 General bug fixes
3534 -----------------
3535
3536 Fix "notmuch search" to print nothing when nothing matches
3537
3538   The 0.4 release had a bug in which:
3539
3540         notmuch search <expression-with-no-matches>
3541
3542   would produce a single blank line of output, (where previous
3543   versions would produce no output. This fix also causes a change in
3544   the --format=json output, (which would previously produce "[]" and
3545   now produces nothing).
3546
3547 Emacs interface improvements
3548 ----------------------------
3549
3550 Fix to allow pipe ('|') command to work when using notmuch over ssh
3551
3552 Fix count of lines in hidden signatures
3553
3554 Omit repeated subject lines in (collapsed) thread display
3555
3556 Display current thread subject in a header line
3557
3558 Provide a "c i" binding to copy a thread ID from the search view
3559
3560 Allow for notmuch-fcc-dirs to have a value of nil
3561
3562   Also, the more complex form of notmuch-fcc-dirs now has a slightly
3563   different format. It no longer has a special first-element, fallback
3564   string. Instead it's now a list of cons cells where the car of each
3565   cell is a regular expression to be matched against the sender
3566   address, and the cdr is the name of a folder to use for an FCC. So
3567   the old fallback behavior can be achieved by including a final cell
3568   of (".*" . "default-fcc-folder").
3569
3570 Vim interface improvements
3571 --------------------------
3572
3573 Felipe Contreras provided a number of updates for the vim interface
3574
3575   These include optimizations, support for newer versions of vim, fixed
3576   support for sending mail on modern systems, new commands, and
3577   various cleanups.
3578
3579 New bindings
3580 ------------
3581
3582 Added initial ruby bindings in bindings/ruby
3583
3584 Notmuch 0.4 (2010-11-01)
3585 ========================
3586
3587 New command-line features
3588 -------------------------
3589
3590 `notmuch search --output=(summary|threads|messages|tags|files)`
3591
3592   This new option allows for particular items to be returned from
3593   notmuch searches. The "summary" option is the default and behaves
3594   just as "notmuch search" has historically behaved.
3595
3596   The new option values allow for thread IDs, message IDs, lists of
3597   tags, and lists of filenames to be returned from searches. It is
3598   expected that this new option will be very useful in shell
3599   scripts. For example:
3600
3601         for file in $(notmuch search --output=files <search-terms>); do
3602                 <operations-on> "$file"
3603         done
3604
3605 `notmuch show --format=mbox <search-specification>`
3606
3607   This new option allows for the messages matching a search
3608   specification to be presented as an mbox. Specifically the "mboxrd"
3609   format is used which allows for reversible quoting of lines
3610   beginning with "From ". A reader should remove a single '>' from the
3611   beginning of all lines beginning with one or more '>' characters
3612   followed by the 5 characters "From ".
3613
3614 `notmuch config [get|set] <section>.<item> [value ...]`
3615
3616   The new top-level "config" command allows for any value in the
3617   notmuch configuration file to be queried or set to a new value. Both
3618   single-valued and multi-valued items are supported, as our any
3619   custom items stored in the configuration file.
3620
3621 Avoid setting Bcc header in "notmuch reply"
3622
3623   We decided that this was a bit heavy-handed as the actual mail
3624   user-agent should be responsible for setting any Bcc option. Also,
3625   see below for the notmuch/emacs user-agent now setting an Fcc by
3626   default rather than Bcc.
3627
3628 New library features
3629 --------------------
3630
3631 Add `notmuch_query_get_query_string` and `notmuch_query_get_sort`
3632
3633   These are simply functions for querying properties of a
3634   `notmuch_query_t` object.
3635
3636 New emacs features
3637 ------------------
3638
3639 Enable Fcc of all sent messages by default (to "sent" directory)
3640
3641   All messages sent from the emacs interface will now be saved to the
3642   notmuch mail store where they will be incorporated to the database
3643   by the next "notmuch new". By default, messages are saved to the
3644   "sent" directory at the top-level of the mail store. This directory
3645   can be customized by means of the "Notmuch Fcc Dirs" option in the
3646   notmuch customize interface.
3647
3648 Ability to all open messages in a thread to a pipe
3649
3650   Historically, the '|' keybinding allows for piping a single message
3651   to an external command. Now, by prefixing this key with a prefix
3652   argument, (for example, by pressing "Control-U |"), all open
3653   messages in the current thread will be sent to the external command.
3654
3655 Optional support for detecting inline patches
3656
3657   This hook is disabled by default but can be enabled with a checkbox
3658   under "Notmuch Show Insert Text/Plain Hook" in the notmuch customize
3659   interface. It allows for inline patches to be detected and treated
3660   as if they were attachments, (with context-sensitive highlighting).
3661
3662 Automatically tag messages as "replied" when sending a reply
3663
3664   Messages replied to within the emacs interface will now be tagged as
3665   "replied". This feature can easily be customized to add or remove
3666   other tags as well. For example, a user might use a tag of
3667   "needs-reply" and can configure this feature to automatically remove
3668   that tag when replying. See "Notmuch Message Mark Replied" in the
3669   notmuch customize interface.
3670
3671 Allow search-result color specifications to overlay each other
3672
3673   For example, one tag can specify the background color of matching
3674   lines, while another can specify the foreground. With this change,
3675   both settings will now be visible simultaneously, (which was not the
3676   case in previous releases). See "Notmuch Search Line Faces" in the
3677   notmuch customize interface.
3678
3679 Make hidden author names still available for incremental search
3680
3681   When there is insufficient space to display all authors of a thread
3682   in search results, the names of hidden authors are now still made
3683   available to emacs' incremental search commands. As the user
3684   searches, matching lines will temporarily expand to show the hidden
3685   names.
3686
3687 New binding of Control-TAB (works like TAB in reverse)
3688
3689   Many notmuch nodes already use TAB to navigate forward through
3690   various items allowing actions, (message headers, email attachments,
3691   etc.). The new Control-TAB binding operates similarly but in the
3692   opposite direction.
3693
3694 New build-system features
3695 -------------------------
3696
3697 Various portability fixes have been applied
3698
3699   These include fixes for build failures on at least Solaris, FreeBSD,
3700   and Fedora systems. We're hopeful that the notmuch code base is now
3701   more portable than ever before.
3702
3703 Arrange for libnotmuch to be found automatically after make install
3704
3705   The notmuch build system is now careful to help the user avoid
3706   errors of the form "libnotmuch.so could not be found" immediately
3707   after installing. This support takes two forms:
3708
3709   1. If the library is installed to a system directory,
3710      (configured in /etc/ld.so.conf), then "make install" will
3711      automatically run ldconfig.
3712
3713   2. If the library is installed to a non-system directory, the
3714      build system adds a `DR_RUNPATH` entry to the final binary
3715      pointing to the directory to which the library is installed.
3716
3717   When this support works, the user should be able to run notmuch
3718   immediately after "make install", without any errors trying to find
3719   the notmuch library, and without having to manually set environment
3720   variables such as `LD_LIBRARY_PATH`.
3721
3722 Check compiler/linker options before using them
3723
3724   The configure script now carefully checks that any desired
3725   compilation options, (whether for enabling compiler warnings, or for
3726   embedding rpath, etc.), are supported. Only supported options are
3727   used in the resulting Makefile.
3728
3729 New test-suite features
3730 -----------------------
3731
3732 New modularization of test suite
3733
3734   Thanks to a gracious relicensing of the test-suite infrastructure
3735   from the git project, notmuch now has a modular test suite. This
3736   provides the ability to run individual sections of the test suite
3737   rather than the whole things. It also provides better summary of
3738   test results, with support for tests that are expected to fail
3739   (BROKEN and FIXED) in addition to PASS and FAIL. Finally, it makes
3740   it easy to run the test suite within valgrind (pass --valgrind to
3741   notmuch-test or to any sub-script) which has been very useful.
3742
3743 New testing of emacs interface
3744
3745   The test suite has been augmented to allow automated testing of the
3746   emacs interfaces. So far, this includes basic searches, display of
3747   threads, and tag manipulation. This also includes a test that a new
3748   message can successfully be sent out through a (dummy) SMTP server
3749   and that said message is successfully integrated into the notmuch
3750   database via the FCC setting.
3751
3752 General bug fixes
3753 -----------------
3754
3755 Fix potential corruption of database when "notmuch new" is interrupted
3756
3757   Previously, an interruption of "notmuch new" would (rarely) result
3758   in a corrupt database. The corruption would manifest itself by a
3759   persistent error of the form:
3760
3761         document ID of 1234 has no thread ID
3762
3763   The message-adding code has been carefully audited and reworked to
3764   avoid this sort of corruption regardless of when it is interrupted.
3765
3766 Fix failure with extremely long message ID headers
3767
3768   Previously, a message with an extremely long message ID, (say, more
3769   than 300 characters), would fail to be added to notmuch, (triggering
3770   Xapian exceptions). This has now been fixed.
3771
3772 Fix for messages with "charset=unknown-8bit"
3773
3774   Previously, messages with this charset would cause notmuch to emit a
3775   GMime warning, (which would then trip up emacs or other interfaces
3776   parsing the notmuch results).
3777
3778 Fix `notmuch_query_search_threads` function to return NULL on any exception
3779
3780 Fix "notmuch search" to return non-zero if `notmuch_query_search_threads`
3781 fails
3782
3783   Previously, this command could confusingly report a Xapian
3784   exception, yet still return an error code of 0. It now correctly
3785   returns a failing error code of 1 in this case.
3786
3787 Emacs bug fixes
3788 ---------------
3789
3790 Fix to handle a message with a subject containing, for example "[1234]"
3791
3792   Previously, a message subject containing a sequence of digits within
3793   square brackets would cause the emacs interface to mis-parse the
3794   output of "notmuch search". This would result in the message being
3795   mis-displayed and prevent the user from manipulating the message in
3796   the emacs interface.
3797
3798 Fix to correctly handle message IDs containing ".."
3799
3800   The emacs interface now properly quotes message IDs to avoid a
3801   Xapian bug in which the ".." within a message ID would be
3802   misinterpreted as a numeric range specification.
3803
3804 Python-binding fixes
3805 --------------------
3806
3807 The python bindings for notmuch have been updated to work with python3.
3808
3809 Debian-specific fixes
3810 ---------------------
3811
3812 Fix emacs initialization so "M-x notmuch" works for users by default
3813
3814   Now, a new Debian user can immediately run "emacs -f notmuch" after
3815   "apt-get install notmuch". Previously, the user would have had to
3816   edit the ~/.emacs file to add "(require 'notmuch)" before this would
3817   work.
3818
3819 Notmuch 0.3.1 (2010-04-27)
3820 ==========================
3821
3822 General bug fixes
3823 -----------------
3824
3825 Fix an infinite loop in "notmuch reply"
3826
3827   This bug could be triggered by replying to a message where the
3828   user's primary email address did not appear in the To: header and
3829   the user had not configured any secondary email addresses. The bug
3830   was a simple re-use of the same iterator variable in nested loops.
3831
3832 Fix a potential SEGV in "notmuch search"
3833
3834   This bug could be triggered by an author name ending in a ','.
3835   Admittedly - that's almost certainly a spam email, but we never
3836   want notmuch to crash.
3837
3838 Emacs bug fixes
3839 ---------------
3840
3841 Fix calculations for line wrapping in the primary "notmuch" view
3842
3843 Fix Fcc support to prompt to create a directory if the specified Fcc
3844 directory does not exist
3845
3846 Build fix
3847 ---------
3848
3849 Fix build on OpenSolaris (at least) due to missing 'extern "C"' block
3850
3851   Without this, the C++ sources could not find strcasestr and the
3852   final linking of notmuch would fail.
3853
3854 Notmuch 0.3 (2010-04-27)
3855 ========================
3856
3857 New command-line features
3858 -------------------------
3859
3860 User-configurable tags for new messages
3861
3862   A new "new.tags" option is available in the configuration file to
3863   determine which tags are applied to new messages. Run "notmuch
3864   setup" to generate new documentation within ~/.notmuch-config on how
3865   to specify this value.
3866
3867 Threads search results named based on subjects that match search
3868
3869   This means that when new mails arrived to a thread you've previously
3870   read, and the new mails have a new subject, you will see that
3871   subject in the search results rather than the old subject.
3872
3873 Faster operation of "notmuch tag" (avoid unneeded sorting)
3874
3875   Since the user just wants to tag all matching messages, we can make
3876   things perform a bit faster by avoiding the sort.
3877
3878 Even Better guessing of From: header for "notmuch reply"
3879
3880   Notmuch now looks at a number of headers when trying to figure out
3881   the best From: header to use in a reply. This is helpful if you have
3882   several configured email addresses, and you also subscribe to various
3883   mailing lists with different addresses, (so that mails you are
3884   replying to won't always include your subscribed address in the To:
3885   header).
3886
3887 Indication of author names that match a search
3888
3889   When notmuch displays threads as the result of a search, it now
3890   lists the authors that match the search before listing the other
3891   authors in the thread. It inserts a pipe '|' symbol between the last
3892   matching and first non-matching author. This is especially useful in
3893   a search that includes tag:unread. Now the authors of the unread
3894   messages in the thread are listed first.
3895
3896 New: Python bindings
3897 --------------------
3898
3899 Sebastian Spaeth has contributed his python bindings for the notmuch
3900 library to the central repository. These bindings were previously
3901 known as "cnotmuch" within python but have now been renamed to be
3902 accessible with a simple, and more official-looking "import notmuch".
3903
3904 The bindings have already proven very useful as people proficient in
3905 python have been able to easily develop programs to do notmuch-based
3906 searches for email-address completion, maildir-flag synchronization,
3907 and other tasks.
3908
3909 These bindings are available within the bindings/python directory, but
3910 are not yet integrated into the top-level Makefiles, nor the top-level
3911 package-building scripts. Improvements are welcome.
3912
3913 Emacs interface improvements
3914 ----------------------------
3915
3916 An entirely new initial view for notmuch, (friendly yet powerful)
3917
3918   Some of us call the new view "notmuch hello" but you can get at it
3919   by simply calling "emacs -f notmuch". The new view provides a search
3920   bar where new searches can be performed. It also displays a list of
3921   recent searches, along with a button to save any of these, giving it
3922   a new name as a "saved search". Many people find these "saved
3923   searches" one of the most convenient ways of organizing their mail,
3924   (providing all of the features of "folders" in other mail clients,
3925   but without any of the disadvantages).
3926
3927   Finally, this view can also optionally display all of the tags that
3928   exist in the database, along with a count for each tag, and a custom
3929   search of messages with that tag that's simply a click (or keypress)
3930   away.
3931
3932   NOTE: For users that liked the original mode of "emacs -f notmuch"
3933   immediately displaying a particular search result, we recommend
3934   instead running something like:
3935
3936         emacs --eval '(notmuch search "tag:inbox" t)'
3937
3938   The "t" means to sort the messages in an "oldest first" order,
3939   (as notmuch would do previously by default). You can also
3940   leave that off to have your search results in "newest first"
3941   order.
3942
3943 Full-featured "customize" support for configuring notmuch
3944
3945   Notmuch now plugs in well to the emacs "customize" mode to make it
3946   much simpler to find things about the notmuch interface that can be
3947   tweaked by the user.
3948
3949   You can get to this mode by starting at the main "Customize" menu in
3950   emacs, then browsing through "Applications", "Mail", and
3951   "Notmuch". Or you can go straight to "M-x customize-group"
3952   "notmuch".
3953
3954   Once you're at the customize screen, you'll see a list of documented
3955   options that can be manipulated along with checkboxes, drop-down
3956   selectors, and text-entry boxes for configuring the various
3957   settings.
3958
3959 Support for doing tab-completion of email addresses
3960
3961   This support currently relies on an external program,
3962   (notmuch-addresses), that is not yet shipped with notmuch
3963   itself. But multiple, suitable implementations of this program have
3964   already been written that generate address completions by doing
3965   notmuch searches of your email collection. For example, providing
3966   first those addresses that you have composed messages to in the
3967   past, etc.
3968
3969   One such program (implemented in python with the python bindings to
3970   notmuch) is available via:
3971
3972         git clone  http://jkr.acm.jhu.edu/git/notmuch_addresses.git
3973
3974   Install that program as notmuch-addresses on your PATH, and then
3975   hitting TAB on a partial email address or name within the To: or Cc:
3976   line of an email message will provide matching completions.
3977
3978 Support for file-based (Fcc) delivery of sent messages to mail store
3979
3980   This isn't yet enabled by default. To enable this, one will have to
3981   set the "Notmuch Fcc Dirs" setting within the notmuch customize
3982   screen, (see its documentation there for details). We anticipate
3983   making this automatic in a future release.
3984
3985 New 'G' key binding to trigger mail refresh (G == "Get new mail")
3986
3987   The 'G' key works wherever '=' works. Before refreshing the screen
3988   it calls an external program that can be used to poll email servers,
3989   run notmuch new and set up specific tags for the new emails. The
3990   script to be called should be configured with the "Notmuch Poll
3991   Script" setting in the customize interface. This script will
3992   typically invoke "notmuch new" and then perhaps several "notmuch
3993   tag" commands.
3994
3995 Implement emacs message display with the JSON output from notmuch
3996
3997   This is much more robust than the previous implementation, (where
3998   some HTML mails and mail quoting the notmuch code with the delimiter
3999   characters in it would cause the parser to fall over).
4000
4001 Better handling of HTML messages and MIME attachments (inline images!)
4002
4003   Allow for any MIME parts that emacs can display to be displayed
4004   inline. This includes inline viewing of image attachments, (provided
4005   the window is large enough to fit the image at its natural size).
4006
4007   Much more robust handling of HTML messages. Currently both text/plain
4008   and text/html alternates will be rendered next to each other. In a
4009   future release, users will be able to decide to see only one or the
4010   other representation.
4011
4012   Each attachment now has its own button so that attachments can be
4013   saved individually (the 'w' key is still available to save all
4014   attachments).
4015
4016 Customizable support for tidying of text/plain message content
4017
4018   Many new functions are available for tidying up message
4019   content. These include options such as wrapping long lines,
4020   compressing duplicate blank lines, etc.
4021
4022   Most of these are disabled by default, but can easily be enabled by
4023   clicking the available check boxes under the "Notmuch Show Insert
4024   Text/Plain Hook" within the notmuch customize screen.
4025
4026 New support for searchable citations (even when hidden)
4027
4028   When portions of overly-long citations are hidden, the contents of
4029   these citations will still be available for emacs' standard
4030   "incremental search" functions. When the search matches any portion
4031   of a hidden citation, the citation will become visible temporarily
4032   to display the search result.
4033
4034 More flexible handling of header visibility
4035
4036   As an answer to complaints from many users, the To, Cc, and Date
4037   headers of messages are no longer hidden by default. For those users
4038   that liked that these were hidden, a new "Notmuch Messages Headers
4039   Visible" option in the customize interface can be set to nil. The
4040   visibility of headers can still be toggled on a per-message basis
4041   with the 'h' keybinding.
4042
4043   For users that don't want to see some subset of those headers, the
4044   new "Notmuch Message Headers" variable can be customized to list
4045   only those headers that should be present in the display of a message.
4046
4047 The Return key now toggles message visibility anywhere
4048
4049   Previously this worked only on the first summary-line of a message.
4050
4051 Customizable formatting of search results
4052
4053   The user can easily customize the order, width, and formatting of
4054   the various fields in a "notmuch search" buffer. See the "Notmuch
4055   Search Result Format" section of the customize interface.
4056
4057 Generate nicer names for search buffers when using a saved search
4058
4059 Add a notmuch User-Agent header when sending mail from notmuch/emacs
4060
4061 New keybinding (M-Ret) to open all collapsed messages in a thread
4062
4063 New library feature
4064 -------------------
4065
4066 Provide a new `NOTMUCH_SORT_UNSORTED` value for queries
4067
4068   This can be somewhat faster when sorting simply isn't desired. For
4069   example when collecting a set of messages that will all be
4070   manipulated identically, (adding a tag, removing a tag, deleting the
4071   messages), then there's no advantage to sorting the messages by
4072   date.
4073
4074 Build fixes
4075 -----------
4076
4077 Fix to compile against GMime 2.6
4078
4079   Previously notmuch insisted on being able to find GMime 2.4, (even
4080   though GMime 2.6 would have worked all along).
4081
4082 Fix configure script to accept (and ignore) various standard options
4083
4084   For example, those that the Gentoo build scripts expect configure to
4085   accept are now all accepted.
4086
4087 Test suite
4088 ----------
4089
4090 A large number of new tests for the many new features
4091
4092 Better display of output from failed tests
4093
4094   Now shows failures with diff rather than forcing the user to gaze at
4095   complete actual and expected output looking for deviation.
4096
4097 Notmuch 0.2 (2010-04-16)
4098 ========================
4099
4100 This is the second release of the notmuch mail system, with actual
4101 detailed release notes this time!
4102
4103 This release consists of a number of minor new features that make
4104 notmuch more pleasant to use, and a few fairly major bug fixes.
4105
4106 We didn't quite hit our release target of "about a week" from the 0.1
4107 release, (0.2 is happening 11 days after 0.1), but we hope to do
4108 better for next week. Look forward to some major features coming to
4109 notmuch in subsequent releases.
4110
4111 -Carl
4112
4113 General features
4114 ----------------
4115
4116 Better guessing of From: header
4117
4118   Notmuch now tries harder to guess which configured address should be
4119   used as the From: line in a "notmuch reply". It will examine the
4120   Received: headers if it fails to find any configured address in To:
4121   or Cc:. This allows it to often choose the correct address even when
4122   replying to a message sent to a mailing list, and not directly to a
4123   configured address.
4124
4125 Make "notmuch count" with no arguments count all messages
4126
4127   Previously, it was hard to construct a search term that was
4128   guaranteed to match all messages.
4129
4130 Provide a new special-case search term of "*" to match all messages
4131
4132   This can be used in any command accepting a search term, such as
4133   "notmuch search '*'". Note that you'll want to take care that the
4134   shell doesn't expand * against the current files. And note that the
4135   support for "*" is a special case. It's only meaningful as a single
4136   search term and loses its special meaning when combined with any
4137   other search terms.
4138
4139 Automatically detect thread connections even when a parent message is
4140 missing
4141
4142   Previously, if two or more message were received with a common
4143   parent, but that parent was not received, then these messages would
4144   not be recognized as belonging to the same thread. This is now fixed
4145   so that such messages are properly connected in a thread.
4146
4147 General bug fixes
4148 -----------------
4149
4150 Fix potential data loss in "notmuch new" with SIGINT
4151
4152   One code path in "notmuch new" was not properly handling
4153   SIGINT. Previously, this could lead to messages being removed from
4154   the database (and their tags being lost) if the user pressed
4155   Control-C while "notmuch new" was working.
4156
4157 Fix segfault when a message includes a MIME part that is empty
4158
4159 Fix handling of non-ASCII characters with --format=json
4160
4161   Previously, characters outside the range of 7-bit ASCII were
4162   silently dropped from the JSON output. This led to corrupted display
4163   of utf-8 content in the upcoming notmuch web-based frontends.
4164
4165 Fix headers to be properly decoded in "notmuch reply"
4166
4167   Previously, the user might see:
4168
4169         Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?=
4170
4171   rather than:
4172
4173         Subject: Re: Rozlučka
4174
4175   The former text is properly encoded to be RFC-compliant SMTP, will
4176   be sent correctly, and will be properly decoded by the
4177   recipient. But the user trying to edit the reply would likely be
4178   unable to read or edit that field in its encoded form.
4179
4180 Emacs client features
4181 ---------------------
4182
4183 Show the last few lines of citations as well as the first few lines
4184
4185   It's often the case that the last sentence of a citation is what is
4186   being replied to directly, so the last few lines are often much more
4187   important. The number of lines shown at the beginning and end of any
4188   citation can be configured, (notmuch-show-citation-lines-prefix and
4189   notmuch-show-citation-lines-suffix).
4190
4191 The '+' and '-' commands in the search view can now add and remove
4192 tags by region
4193
4194   Selective bulk tagging is now possible by selecting a region of
4195   threads and then using either the '+' or '-' keybindings. Bulk
4196   tagging is still available for all threads matching the current
4197   search with the '*' binding.
4198
4199 More meaningful buffer names for thread-view buffers
4200
4201   Notmuch now uses the Subject of the thread as the buffer
4202   name. Previously it was using the thread ID, which is a meaningless
4203   number to the user.
4204
4205 Provide for customized colors of threads in search view based on tags
4206
4207   See the documentation of notmuch-search-line-faces, (or us "M-x
4208   customize" and browse to the "notmuch" group within "Applications"
4209   and "Mail"), for details on how to configure this colorization.
4210
4211 Build-system features
4212 ---------------------
4213
4214 Add support to properly build libnotmuch on Darwin systems (OS X)
4215
4216 Add support to configure for many standard options
4217
4218   We include actual support for:
4219
4220         --includedir --mandir --sysconfdir
4221
4222   And accept and silently ignore several more:
4223
4224         --build --infodir --libexecdir --localstatedir
4225         --disable-maintainer-mode --disable-dependency-tracking
4226
4227 Install emacs client in "make install" rather than requiring a
4228 separate "make install-emacs"
4229
4230 Automatically compute versions numbers between releases
4231
4232   This support uses the git-describe notation, so a version such as
4233   0.1-144-g43cbbfc indicates a version that is 144 commits since the
4234   0.1 release and is available as git commit "43cbbfc".
4235
4236 Add a new "make test" target to run the test suite and actually
4237 verify its results
4238
4239 Notmuch 0.1 (2010-04-05)
4240 ========================
4241
4242 This is the first release of the notmuch mail system.
4243
4244 It includes the libnotmuch library, the notmuch command-line
4245 interface, and an emacs-based interface to notmuch.
4246
4247 Note: Notmuch will work best with Xapian 1.0.18 (or later) or Xapian
4248 1.1.4 (or later). Previous versions of Xapian (whether 1.0 or 1.1) had
4249 a performance bug that made notmuch very slow when modifying
4250 tags. This would cause distracting pauses when reading mail while
4251 notmuch would wait for Xapian when removing the "inbox" and "unread"
4252 tags from messages in a thread.
4253
4254
4255 <!--
4256  Local variables:
4257  mode: text
4258  tab-width: 8
4259  indent-tabs-mode: nil
4260  End:
4261  vi: sw=8 ts=8 et
4262 -->