]> git.notmuchmail.org Git - notmuch/blob - NEWS
Add NEWS item output improvements to rfc822 part handling.
[notmuch] / NEWS
1 Notmuch 0.8 (2011-09-05)
2 ========================
3
4 Improved handling of message/rfc822 parts
5
6   Both in the CLI and the emacs interface.  Output of rfc822 parts now
7   includes the primary headers, as well as the body and all subparts.
8   Output of the completely raw rfc822-formatted message, including all
9   headers, is unfortunately not yet supported (but hopefully will be
10   soon).
11
12 Notmuch 0.7 (2011-08-01)
13 ========================
14
15 Vim interface improvements
16 --------------------------
17
18 Jason Woofenden provided a number of bug fixes for the Vim interface
19
20   * fix citation/signature fold lengths
21   * fix cig/cit parsing within multipart/*
22   * fix on-screen instructions for show-signature
23   * fix from list reformatting in search view
24   * fix space key: now archives (did opposite)
25
26 Uwe Kleine-König contributed
27
28   * use full path for sendmail/doc fix
29   * fix compose temp file name
30
31 Python Bindings changes
32 -----------------------
33
34 Sebastian Spaeth contributed two changes related to unicode and UTF8:
35
36   * message tags are now explicitly unicode
37   * query string is encoded as a UTF8 byte string
38
39 Build-System improvments
40 ------------------------
41
42 Generate notmuch.sym after the relevant object files
43
44   This fixes a bug in parallel building. Thanks to Thomas Jost for the
45   patch.
46
47 Notmuch 0.6.1 (2011-07-17)
48 ==========================
49
50 Bug-fix release.
51 ----------------
52
53 Re-export Xapian exception typeinfo symbols.
54   
55   It turned out our aggressive symbol hiding caused problems for
56   people running gcc 4.4.5.
57
58 Notmuch 0.6 (2011-07-01)
59 =======================
60 New, general features
61 ---------------------
62 Folder-based searching
63
64   Notmuch queries can now include a search term to match the
65   directories in which mail files are stored (within the mail
66   storage). The syntax is as follows:
67
68         folder:<path>
69
70   For example, one might use things such as:
71
72         folder:spam
73         folder:2011-*
74         folder:work/todo
75
76   to match any path containing a directory "spam", "work/todo", or
77   containing a directory starting with "2011-", respectively.
78
79   This feature is particularly useful for users of delivery-agent
80   software (such as procmail or maildrop) that is filtering mail and
81   delivering it to particular folders, or users of systems such as
82   Gmail that use filesystem directories to indicate message tags.
83
84   NOTE: Only messages that are newly indexed with this version of
85   notmuch will be searchable with folder: terms. In order to enable
86   this feature for all mail, the entire notmuch index will need to be
87   rebuilt as follows:
88
89         notmuch dump > notmuch.dump
90         # Backup, then remove notmuch database ($MAIL/.notmuch)
91         notmuch new
92         notmuch restore notmuch.dump
93
94 Support for PGP/MIME
95
96   Both the command line interface and the emacs-interface have new
97   support for PGP/MIME, detailed below. Thanks to Daniel Kahn Gillmor
98   and Jameson Graef Rollins for making this happen.
99
100 New, automatic tags: "signed" and "encrypted"
101
102   These tags will automatically be applied to messages containing
103   multipart/signed and multipart/encrypted parts.
104
105   NOTE: Only messages that are newly indexed with this version of
106   notmuch will receive these tags.
107
108 New command-line features
109 -------------------------
110 Add new "notmuch show --verify" option for signature verification
111
112   This option instruct notmuch to verify the signature of
113   PGP/MIME-signed parts.
114
115 Add new "notmuch show --decrypt" and "notmuch reply --decrypt" options
116
117   This option instructs notmuch to decrypt PGP/MIME-encrypted parts.
118   Note that this feature currently requires gpg-agent and a passphrase entry
119   tool (e.g. pinentry-gtk or pinentry-curses).
120
121 Proper nesting of multipart parts in "notmuch show" output
122
123   MIME parts are now display with proper nesting to reflect original
124   MIME hierarchy of a message. This allows clients to correctly
125   analyze the MIME structure, (such as, for example, determining to
126   which parts a signature part applies).
127
128 Add new "notmuch show --part" option
129
130   This is a replacement for the older "notmuch part" command, (which
131   is now deprecated—it should still work as always, but is no longer
132   documented). Putting part output under "notmuch show" allows for all
133   of the "notmuch show" options to be applied when extracting a single
134   part, (such as --format=json for extracting a message part with JSON
135   formatting).
136
137 Deprecate "notmuch search-tags", (in favor of "notmuch search --output=tags *")
138
139   The "notmuch search-tags" sub-command has been redundant since the
140   addition of the --output=tags option to "notmuch search". We now
141   make that more clear by deprecating "notmuch search-tags", (dropping
142   it from the documentation). We do continue to support the old syntax
143   by translating it internally to the new call.
144
145 Performance improvements
146 ------------------------
147 Faster searches (by doing fewer searches to construct threads)
148
149   Whenever a user asks for search results as threads, notmuch first
150   performs a search for messages matching the query, then performs
151   additional searches to find other messages in the resulting threads.
152
153   Removing inefficiencies and redundancies in these secondary searches
154   results in a measured speedups of 1.5x for a typical search.
155
156 Faster searches (by doing fewer passes to gather message data)
157
158   Optimizing Xapian data access patterns (using a single pass to get
159   all message-document data rather than a pass for each data type)
160   results in a measured speedup of 1.7x for a typical search.
161
162   The benefits of this optimization combine with the preceding
163   optimization. With both in place, Austin Clements measured a speedup
164   of 2.5x for a search of all messages in his inbox (was 4.5s, now
165   1.8s). Thanks, Austin!
166
167 Faster initial indexing
168
169   More efficient indexing of new messages results in a measured
170   speedup of 1.4x for the initial indexing of 3 GB of mail (1h 14m
171   rather than 1h 46m). Thanks to Austin Clements and Michal Sojka.
172
173 Make "notmuch new" faster for unchanged directories
174
175   Optimizing to not do any further examinations of sub-directories
176   when the filesystem indicates that a directory is unchanged from the
177   last "notmuch new" results in measured speedups of 8.5 for the "No
178   new mail" case, (was 0.77s, now 0.09s). Thanks to Karel Zak.
179
180 New emacs-interface features
181 ----------------------------
182
183 Support for PGP/MIME (GnuPG)
184
185   Automatically indicate validity of signatures for multipart/signed
186   messages.  Automatically display decrypted content for
187   multipart/encrypted messages.  See the emacs variable
188   notmuch-crypto-process-mime for more information. Note that this
189   needs gpg-agent and a pinentry tool just as the command line tools.
190   Also note there is no support SMIME yet.
191
192 Output of pipe command is now displayed if pipe command fails
193
194   This is extremely useful in the common use case of piping a patch to
195   "git am". If git fails to cleanly merge the patch the error messages
196   from the failed merge are now clearly displayed to the user, (where
197   previously they were silently hidden from the user).
198
199 User-selectable From address
200
201   A user can choose which configured email addresses should be used as
202   the From address whenever composing a new message. To do so, simply
203   press C-u before the command which will open a new message. Emacs
204   will prompt for the from address to use.
205
206   The user can customize the "Notmuch Identities" setting in the
207   notmuch customize group in order to use addresses other than those in
208   the notmuch configuration file if desired.
209
210   The user can also choose to always be prompted for the from address
211   when composing a new message (without having to use C-u) by setting
212   the "Notmuch Always Prompt For Sender" option in the notmuch
213   customize group.
214
215 Hiding of repeated subjects in collapsed thread view
216
217   In notmuch-show mode, if a collapsed message has the same subject as
218   its parent, the subject is not shown.
219   
220 Automatic detection and hiding of original message in top-posted message
221
222   When a message contains a line looking something like:
223
224         ----- Original Message -----
225
226   emacs hides this and all subsequent lines as an "original message",
227   (allowing the user to click or press enter on the "original message"
228   button to display it again). This makes the handling of top-posted
229   citations work much like conventional citations.
230
231 New hooks for running code when tags are modified
232
233   Some users want to perform additional actions whenever a particular
234   tag is added/removed from a message. This could be used to, for
235   example, interface with some external spam-recognition training
236   tool. To facilitate this, two new hooks are added which can be
237   modified in the following settings of the notmuch customize group:
238
239         Notmuch Before Tag Hook
240         Notmuch After Tag Hook
241
242 New optional support for hiding some multipart/alternative parts
243
244   Many emails are sent with redundant content within a
245   multipart/alternative group (such as a text/plain part as well as a
246   text/html part). Users can configure the setting:
247
248         Notmuch Show All Multipart/Alternative Parts
249
250   to "off" in the notmuch customize group to have the interface
251   automatically hide some part alternatives (such as text/html
252   parts). This new part hiding is not configured by default yet
253   because there's not yet a simple way to re-display such a hidden
254   part if it is not actually redundant with a displayed part.
255
256 Better rendering of text/x-vcalendar parts
257
258   These parts are now displayed in a format suitable for use with the
259   emacs diary.
260
261 Avoid getting confused by Subject and Author fields with newline characters
262
263   Replacing all characters with ASCII code less than 32 with a question mark.
264
265 Cleaner display of From line in email messages (remove double quotes,
266 and drop "name" if it's actually just a repeat of the email address).
267
268 Vim interface improvements
269 --------------------------
270 Felipe Contreras provided a number of updates for the vim interface:
271
272   * Using sendmail directly rather than mailx,
273   * Implementing archive in show view
274   * Add support to mark as read in show and search views
275   * Add delete commands
276   * Various cleanups.
277
278 Bindings improvements
279 ---------------------
280 Ruby bindings are now much more complete
281
282   Including QUERY.sort, QUERY.to_s, MESSAGE.maildir_flags_to_tags,
283   MESSAGE.tags_to_maildir_flags, and MESSAGE.get_filenames
284
285 * Python bindings have been upodated and extended
286   (docs online at http://packages.python.org/notmuch/)
287
288   New bindings:
289   - Message().get_filenames(),
290   - Message().tags_to_maildir_flags(),Message().maildir_flags_to_tags()
291   - list(Threads()) and list(Messages) works now
292
293   - Message().__cmp__() and __hash__()
294   These allow, for example:
295         if msg1 == msg2: ...
296
297   As well as set arithmetic on Messages():
298
299         s1, s2= set(msgs1), set(msgs2)
300         s1.union(s2)
301         s2 -= s1
302
303    Removed:
304      - len(Messages()) as it exausted the iterator.
305        Use len(list(Messages())) or
306        Query.count_messages() to get the length.
307
308 Added initial Go bindings in bindings/go
309
310 New build-system features
311 -------------------------
312 Added support for building in a directory other than the source directory
313
314   This can be used with the widely-supported idiom of simply running
315   the configure script from some other directory:
316
317         mkdir build
318         cd build
319         ../configure
320         make
321
322 Fix to save configure options for future, implicit runs of configure
323
324   When a user updates the source (such as with "git pull") calling
325   "make" may cause an automatic re-run of the configure script. When
326   this happens, the configure script will automatically be called with
327   the same options the user originally passed in the most-recent
328   manual invocation of configure.
329
330 New test-suite feature
331 ----------------------
332 Binary for bash for running test suite now located via PATH.
333
334   The notmuch test suite requires a fairly recent version of bash (>=
335   bash 4). As some systems supply an older version of bash at
336   /bin/bash, the test suite is now updated to search $PATH to locate
337   the bash binary. This allows users of systems with old /bin/bash to
338   simply install bash >= 4 somewhere on $PATH before /bin and then use
339   the test suite.
340
341 Support for testing output with a trailing newline.
342
343   Previously, some tests would fail to notice a difference in the
344   presence/absence of a trailing newline in a program output, (which
345   has led to bugs in the past). Now, carefully-written tests (using
346   test_expect_equal_file rather than test_expect_equal) will detect
347   any change in the presence/absence of a trailing newline. Many tests
348   are updated to take advantage of this.
349
350 Avoiding accessing user's $HOME while running test suite
351
352   The test suite now carefully creates its own HOME directory. This
353   allows the test suite to be run with no existing HOME directory, (as
354   some build systems apparently do), and avoids test-suite differences
355   due to configuration files in the users HOME directory.
356
357
358 General bug fixes
359 -----------------
360 Output *all* files for "notmuch search --output=files"
361
362   For the cases where multiple files have the same Message ID,
363   previous versions of notmuch would output only one such file. This
364   command is now fixed to correctly output all files.
365
366 Fixed spurious search results from "overlapped" indexing of addresses
367
368   This fixed a bug where a search for:
369
370         to:user@elsewhere.com
371
372   would incorrectly match a message sent:
373
374         To: user@example,com, someone@elsewhere.com
375
376 Fix --output=json when search has no results
377
378   A bug present since notmuch 0.4 had caused searches with no results
379   to produce an invalid json object. This is now fixed to cleanly
380   return a valid json object representing an empty array "[]" as
381   expected.
382
383 fix the automatic detection of the From address for "notmuch reply"
384 from the Received headers in some cases.
385
386 Fix core dump on DragonFlyBSD due to -1 return value from
387 sysconf(_SC_GETPW_R_SIZE_MAX).
388
389 Cleaned up several memory leaks
390
391 Eliminated a few, rare segmentation faults and a double-free.
392
393 Fix libnotmuch library to only export notmuch API functions
394
395   Previous release of the notmuch library also exported some Xapian
396   C++ exception type symbols. These were never part of the library
397   interface and were never intended to be exported.
398
399 Emacs-interface bug fixes
400 -------------------------
401 Display any unexpected output or errors from "notmuch search" invocations
402
403   Previously any misformatted output or trailing error messages were
404   silently ignored. This output is now clearly displayed. This fix was
405   very helpful in identifying and fixing the bug described below.
406
407 Fix bug where some threads would be missing from large search results
408
409   When a search returned a "large" number of results, the emacs
410   interface was incorrectly dropping one thread every time the output
411   of the "notmuch search" process spanned the emacs read-buffer. This
412   is now fixed.
413
414 Avoid re-compression of .gz files (and similar) when saving attachment
415
416   Emacs was being too clever for its own good and trying to
417   re-compress pre-compressed .gz files when saving such attachments
418   (potentially corrupting the attachment). The emacs interface is
419   fixed to avoid this bug.
420
421 Fix hiding of a message when a previously-hidden citation is visible
422
423   Previously the citation would remain visible in this case. This is
424   fixed so that hiding a message hides all parts.
425
426 Notmuch 0.5 (2010-11-11)
427 ========================
428 New, general features
429 ---------------------
430 Maildir-flag synchronization
431
432   Notmuch now knows how to synchronize flags in maildir filenames with
433   tags in the notmuch database. The following flag/tag mappings are
434   supported:
435
436         Flag <-> Tag
437         ----     -----
438         'D'      draft
439         'F'      flagged
440         'P'      passed
441         'R'      replied
442         'S'      unread (added when 'S' flag is not present)
443
444   The synchronization occurs in both directions, (for example, adding
445   the 'S' flag to a file will cause the "unread" tag to be added, and
446   adding the "replied" tag to a message will cause the file to be
447   renamed with an 'R' flag).
448
449   This synchronization is enabled by default for users of the
450   command-line interface, (though only files in directories named
451   "cur" or "new" will be renamed). It can be disabled by setting the
452   new maildir.synchronize_flags option in the configuration file. For
453   example:
454
455         notmuch config set maildir.synchronize_flags false
456
457   Users upgrading may also want to run "notmuch setup" once (just
458   accept the existing configuration) to get a new, nicely-commented
459   [maildir] section added to the configuration file.
460
461   For users of the notmuch library, the new synchronization
462   functionality is available with the following two new functions:
463
464         notmuch_message_maildir_flags_to_tags
465         notmuch_message_tags_to_maildir_flags
466
467   It is anticipated that future improvements to this support will
468   allow for safe synchronization of the 'T' flag with the "deleted"
469   tag, as well as support for custom flag/tag mappings.
470
471 New library features
472 --------------------
473 Support for querying multiple filenames for a single message
474
475   It is common for the mailstore to contain multiple files with the
476   same message ID. Previously, notmuch would always hide these
477   duplicate files, (returning a single, arbitrary filename with
478   notmuch_message_get_filename).
479
480   With this release, library users can access all filenames for a
481   message with the new function:
482
483         notmuch_message_get_filenames
484
485   Together with notmuch_filenames_valid, notmuch_filenames_get, and
486   notmuch_filenames_move_to_next it is now possible to iterate over
487   all available filenames for a given message.
488
489 New command-line features
490 -------------------------
491 New "notmuch show --format=raw" for getting at original email contents
492
493   This new feature allows for a fully-functional email client to be
494   built on top of the notmuch command-line without needing any direct
495   access to the mail store itself.
496
497   For example, it's now possible to run "emacs -f notmuch" on a local
498   machine with only ssh access to the mail store/notmuch database. To
499   do this, simply set the notmuch-command variable in emacs to the
500   name of a script containing:
501
502         ssh user@host notmuch "$@"
503
504   If the ssh client has enabled connection sharing (ControlMaster
505   option in OpenSSH), the emacs interface can be quite responsive this
506   way.
507
508 General bug fixes
509 -----------------
510 Fix "notmuch search" to print nothing when nothing matches
511
512   The 0.4 release had a bug in which:
513
514         notmuch search <expression-with-no-matches>
515
516   would produce a single blank line of output, (where previous
517   versions would produce no output. This fix also causes a change in
518   the --format=json output, (which would previously produce "[]" and
519   now produces nothing).
520
521 Emacs interface improvements
522 ----------------------------
523 Fix to allow pipe ('|') command to work when using notmuch over ssh
524
525 Fix count of lines in hidden signatures.
526
527 Omit repeated subject lines in (collapsed) thread display.
528
529 Display current thread subject in a header line.
530
531 Provide a "c i" binding to copy a thread ID from the search view.
532
533 Allow for notmuch-fcc-dirs to have a value of nil.
534
535   Also, the more complex form of notmuch-fcc-dirs now has a slightly
536   different format. It no longer has a special first-element, fallback
537   string. Instead it's now a list of cons cells where the car of each
538   cell is a regular expression to be matched against the sender
539   address, and the cdr is the name of a folder to use for an FCC. So
540   the old fallback behavior can be achieved by including a final cell
541   of (".*" . "default-fcc-folder").
542
543 Vim interface improvements
544 --------------------------
545 Felipe Contreras provided a number of updates for the vim interface.
546
547   These include optimizations, support for newer versions of vim, fixed
548   support for sending mail on modern systems, new commands, and
549   various cleanups.
550
551 New bindings
552 ------------
553 Added initial ruby bindings in bindings/ruby
554
555 Notmuch 0.4 (2010-11-01)
556 ========================
557 New command-line features
558 -------------------------
559 notmuch search --output=(summary|threads|messages|tags|files)
560
561   This new option allows for particular items to be returned from
562   notmuch searches. The "summary" option is the default and behaves
563   just as "notmuch search" has historically behaved.
564
565   The new option values allow for thread IDs, message IDs, lists of
566   tags, and lists of filenames to be returned from searches. It is
567   expected that this new option will be very useful in shell
568   scripts. For example:
569
570         for file in $(notmuch search --output=files <search-terms>); do
571                 <operations-on> "$file"
572         done
573
574 notmuch show --format=mbox <search-specification>
575
576   This new option allows for the messages matching a search
577   specification to be presented as an mbox. Specifically the "mboxrd"
578   format is used which allows for reversible quoting of lines
579   beginning with "From ". A reader should remove a single '>' from the
580   beginning of all lines beginning with one or more '>' characters
581   followed by the 5 characters "From ".
582
583 notmuch config [get|set] <section>.<item> [value ...]
584
585   The new top-level "config" command allows for any value in the
586   notmuch configuration file to be queried or set to a new value. Both
587   single-valued and multi-valued items are supported, as our any
588   custom items stored in the configuration file.
589
590 Avoid setting Bcc header in "notmuch reply"
591
592   We decided that this was a bit heavy-handed as the actual mail
593   user-agent should be responsible for setting any Bcc option. Also,
594   see below for the notmuch/emacs user-agent now setting an Fcc by
595   default rather than Bcc.
596
597 New library features
598 --------------------
599 Add notmuch_query_get_query_string and notmuch_query_get_sort
600
601   These are simply functions for querying properties of a
602   notmuch_query_t object.
603
604 New emacs features
605 ------------------
606 Enable Fcc of all sent messages by default (to "sent" directory)
607
608   All messages sent from the emacs interface will now be saved to the
609   notmuch mail store where they will be incorporated to the database
610   by the next "notmuch new". By default, messages are saved to the
611   "sent" directory at the top-level of the mail store. This directory
612   can be customized by means of the "Notmuch Fcc Dirs" option in the
613   notmuch customize interface.
614
615 Ability to all open messages in a thread to a pipe
616
617   Historically, the '|' keybinding allows for piping a single message
618   to an external command. Now, by prefixing this key with a prefix
619   argument, (for example, by pressing "Control-U |"), all open
620   messages in the current thread will be sent to the external command.
621
622 Optional support for detecting inline patches
623
624   This hook is disabled by default but can be enabled with a checkbox
625   under "Notmuch Show Insert Text/Plain Hook" in the notmuch customize
626   interface. It allows for inline patches to be detected and treated
627   as if they were attachments, (with context-sensitive highlighting).
628
629 Automatically tag messages as "replied" when sending a reply
630
631   Messages replied to within the emacs interface will now be tagged as
632   "replied". This feature can easily be customized to add or remove
633   other tags as well. For example, a user might use a tag of
634   "needs-reply" and can configure this feature to automatically remove
635   that tag when replying. See "Notmuch Message Mark Replied" in the
636   notmuch customize interface.
637
638 Allow search-result color specifications to overlay each other
639
640   For example, one tag can specify the background color of matching
641   lines, while another can specify the foreground. With this change,
642   both settings will now be visible simultaneously, (which was not the
643   case in previous releases). See "Notmuch Search Line Faces" in the
644   notmuch customize interface.
645
646 Make hidden author names still available for incremental search.
647
648   When there is insufficient space to display all authors of a thread
649   in search results, the names of hidden authors are now still made
650   available to emacs' incremental search commands. As the user
651   searches, matching lines will temporarily expand to show the hidden
652   names.
653
654 New binding of Control-TAB (works like TAB in reverse)
655
656   Many notmuch nodes already use TAB to navigate forward through
657   various items allowing actions, (message headers, email attachments,
658   etc.). The new Control-TAB binding operates similarly but in the
659   opposite direction.
660
661 New build-system features
662 -------------------------
663 Various portability fixes have been applied
664
665   These include fixes for build failures on at least Solaris, FreeBSD,
666   and Fedora systems. We're hopeful that the notmuch code base is now
667   more portable than ever before.
668
669 Arrange for libnotmuch to be found automatically after make install
670
671   The notmuch build system is now careful to help the user avoid
672   errors of the form "libnotmuch.so could not be found" immediately
673   after installing. This support takes two forms:
674
675         1. If the library is installed to a system directory,
676            (configured in /etc/ld.so.conf), then "make install" will
677            automatically run ldconfig.
678
679         2. If the library is installed to a non-system directory, the
680            build system adds a DR_RUNPATH entry to the final binary
681            pointing to the directory to which the library is installed.
682
683   When this support works, the user should be able to run notmuch
684   immediately after "make install", without any errors trying to find
685   the notmuch library, and without having to manually set environment
686   variables such as LD_LIBRARY_PATH.
687
688 Check compiler/linker options before using them
689
690   The configure script now carefully checks that any desired
691   compilation options, (whether for enabling compiler warnings, or for
692   embedding rpath, etc.), are supported. Only supported options are
693   used in the resulting Makefile.
694
695 New test-suite features
696 -----------------------
697 New modularization of test suite.
698
699   Thanks to a gracious relicensing of the test-suite infrastructure
700   from the git project, notmuch now has a modular test suite. This
701   provides the ability to run individual sections of the test suite
702   rather than the whole things. It also provides better summary of
703   test results, with support for tests that are expected to fail
704   (BROKEN and FIXED) in addition to PASS and FAIL. Finally, it makes
705   it easy to run the test suite within valgrind (pass --valgrind to
706   notmuch-test or to any sub-script) which has been very useful.
707
708 New testing of emacs interface.
709
710   The test suite has been augmented to allow automated testing of the
711   emacs interfaces. So far, this includes basic searches, display of
712   threads, and tag manipulation. This also includes a test that a new
713   message can successfully be sent out through a (dummy) SMTP server
714   and that said message is successfully integrated into the notmuch
715   database via the FCC setting.
716
717 General bug fixes
718 -----------------
719 Fix potential corruption of database when "notmuch new " is interrupted.
720
721   Previously, an interruption of "notmuch new" would (rarely) result
722   in a corrupt database. The corruption would manifest itself by a
723   persistent error of the form:
724
725         document ID of 1234 has no thread ID
726
727   The message-adding code has been carefully audited and reworked to
728   avoid this sort of corruption regardless of when it is interrupted.
729
730 Fix failure with extremely long message ID headers.
731
732   Previously, a message with an extremely long message ID, (say, more
733   than 300 characters), would fail to be added to notmuch, (triggering
734   Xapian exceptions). This has now been fixed.
735
736 Fix for messages with "charset=unknown-8bit"
737
738   Previously, messages with this charset would cause notmuch to emit a
739   GMime warning, (which would then trip up emacs or other interfaces
740   parsing the notmuch results).
741
742 Fix notmuch_query_search_threads function to return NULL on any exception
743
744 Fix "notmuch search" to return non-zero if notmuch_query_search_threads fails
745
746   Previously, this command could confusingly report a Xapian
747   exception, yet still return an error code of 0. It now correctly
748   returns a failing error code of 1 in this case.
749
750 Emacs bug fixes
751 ---------------
752 Fix to handle a message with a subject containing, for example "[1234]"
753
754   Previously, a message subject containing a sequence of digits within
755   square brackets would cause the emacs interface to mis-parse the
756   output of "notmuch search". This would result in the message being
757   mis-displayed and prevent the user from manipulating the message in
758   the emacs interface.
759
760 Fix to correctly handle message IDs containing ".."
761
762   The emacs interface now properly quotes message IDs to avoid a
763   Xapian bug in which the ".." within a message ID would be
764   misinterpreted as a numeric range specification.
765
766 Python-binding fixes
767 --------------------
768 The python bindings for notmuch have been updated to work with python3.
769
770 Debian-specific fixes
771 ---------------------
772 Fix emacs initialization so "M-x notmuch" works for users by default.
773
774   Now, a new Debian user can immediately run "emacs -f notmuch" after
775   "apt-get install notmuch". Previously, the user would have had to
776   edit the ~/.emacs file to add "(require 'notmuch)" before this would
777   work.
778
779 Notmuch 0.3.1 (2010-04-27)
780 ==========================
781 General bug fixes
782 -----------------
783 Fix an infinite loop in "notmuch reply"
784
785   This bug could be triggered by replying to a message where the
786   user's primary email address did not appear in the To: header and
787   the user had not configured any secondary email addresses. The bug
788   was a simple re-use of the same iterator variable in nested loops.
789
790 Fix a potential SEGV in "notmuch search"
791
792   This bug could be triggered by an author name ending in a ','.
793   Admittedly - that's almost certainly a spam email, but we never
794   want notmuch to crash.
795
796 Emacs bug fixes
797 ---------------
798 Fix calculations for line wrapping in the primary "notmuch" view.
799
800 Fix Fcc support to prompt to create a directory if the specified Fcc
801 directory does not exist.
802
803 Build fix
804 ---------
805 Fix build on OpenSolaris (at least) due to missing 'extern "C"' block.
806
807   Without this, the C++ sources could not find strcasestr and the
808   final linking of notmuch would fail.
809
810 Notmuch 0.3 (2010-04-27)
811 ========================
812 New command-line features
813 -------------------------
814 User-configurable tags for new messages
815
816   A new "new.tags" option is available in the configuration file to
817   determine which tags are applied to new messages. Run "notmuch
818   setup" to generate new documentation within ~/.notmuch-config on how
819   to specify this value.
820
821 Threads search results named based on subjects that match search
822
823   This means that when new mails arrived to a thread you've previously
824   read, and the new mails have a new subject, you will see that
825   subject in the search results rather than the old subject.
826
827 Faster operation of "notmuch tag" (avoid unneeded sorting)
828
829   Since the user just wants to tag all matching messages, we can make
830   things perform a bit faster by avoiding the sort.
831
832 Even Better guessing of From: header for "notmuch reply"
833
834   Notmuch now looks at a number of headers when trying to figure out
835   the best From: header to use in a reply. This is helpful if you have
836   several configured email addresses, and you also subscribe to various
837   mailing lists with different addresses, (so that mails you are
838   replying to won't always include your subscribed address in the To:
839   header).
840
841 Indication of author names that match a search
842
843   When notmuch displays threads as the result of a search, it now
844   lists the authors that match the search before listing the other
845   authors in the thread. It inserts a pipe '|' symbol between the last
846   matching and first non-matching author. This is especially useful in
847   a search that includes tag:unread. Now the authors of the unread
848   messages in the thread are listed first.
849
850 New: Python bindings
851 --------------------
852 Sebastian Spaeth has contributed his python bindings for the notmuch
853 library to the central repository. These bindings were previously
854 known as "cnotmuch" within python but have now been renamed to be
855 accessible with a simple, and more official-looking "import notmuch".
856
857 The bindings have already proven very useful as people proficient in
858 python have been able to easily develop programs to do notmuch-based
859 searches for email-address completion, maildir-flag synchronization,
860 and other tasks.
861
862 These bindings are available within the bindings/python directory, but
863 are not yet integrated into the top-level Makefiles, nor the top-level
864 package-building scripts. Improvements are welcome.
865
866 Emacs interface improvements
867 ----------------------------
868 An entirely new initial view for notmuch, (friendly yet powerful)
869
870   Some of us call the new view "notmuch hello" but you can get at it
871   by simply calling "emacs -f notmuch". The new view provides a search
872   bar where new searches can be performed. It also displays a list of
873   recent searches, along with a button to save any of these, giving it
874   a new name as a "saved search". Many people find these "saved
875   searches" one of the most convenient ways of organizing their mail,
876   (providing all of the features of "folders" in other mail clients,
877   but without any of the disadvantages).
878
879   Finally, this view can also optionally display all of the tags that
880   exist in the database, along with a count for each tag, and a custom
881   search of messages with that tag that's simply a click (or keypress)
882   away.
883
884   Note: For users that liked the original mode of "emacs -f notmuch"
885         immediately displaying a particular search result, we
886         recommend instead running something like:
887
888                 emacs --eval '(notmuch search "tag:inbox" t)'
889
890         The "t" means to sort the messages in an "oldest first" order,
891         (as notmuch would do previously by default). You can also
892         leave that off to have your search results in "newest first"
893         order.
894
895 Full-featured "customize" support for configuring notmuch
896
897   Notmuch now plugs in well to the emacs "customize" mode to make it
898   much simpler to find things about the notmuch interface that can be
899   tweaked by the user.
900
901   You can get to this mode by starting at the main "Customize" menu in
902   emacs, then browsing through "Applications", "Mail", and
903   "Notmuch". Or you can go straight to "M-x customize-group"
904   "notmuch".
905
906   Once you're at the customize screen, you'll see a list of documented
907   options that can be manipulated along with checkboxes, drop-down
908   selectors, and text-entry boxes for configuring the various
909   settings.
910
911 Support for doing tab-completion of email addresses
912
913   This support currently relies on an external program,
914   (notmuch-addresses), that is not yet shipped with notmuch
915   itself. But multiple, suitable implementations of this program have
916   already been written that generate address completions by doing
917   notmuch searches of your email collection. For example, providing
918   first those addresses that you have composed messages to in the
919   past, etc.
920
921   One such program (implemented in python with the python bindings to
922   notmuch) is available via:
923
924         git clone  http://jkr.acm.jhu.edu/git/notmuch_addresses.git
925
926   Install that program as notmuch-addresses on your PATH, and then
927   hitting TAB on a partial email address or name within the To: or Cc:
928   line of an email message will provide matching completions.
929
930 Support for file-based (Fcc) delivery of sent messages to mail store
931
932   This isn't yet enabled by default. To enable this, one will have to
933   set the "Notmuch Fcc Dirs" setting within the notmuch customize
934   screen, (see its documentation there for details). We anticipate
935   making this automatic in a future release.
936
937 New 'G' key binding to trigger mail refresh (G == "Get new mail")
938
939   The 'G' key works wherever '=' works. Before refreshing the screen
940   it calls an external program that can be used to poll email servers,
941   run notmuch new and setup specific tags for the new emails. The
942   script to be called should be configured with the "Notmuch Poll
943   Script" setting in the customize interface. This script will
944   typically invoke "notmuch new" and then perhaps several "notmuch
945   tag" commands.
946
947 Implement emacs message display with the JSON output from notmuch.
948
949   This is much more robust than the previous implementation, (where
950   some HTML mails and mail quoting the notmuch code with the delimiter
951   characters in it would cause the parser to fall over).
952
953 Better handling of HTML messages and MIME attachments (inline images!)
954
955   Allow for any MIME parts that emacs can display to be displayed
956   inline. This includes inline viewing of image attachments, (provided
957   the window is large enough to fit the image at its natural size).
958
959   Much more robust handling of HTML messages. Currently both text/plain
960   and text/html alternates will be rendered next to each other. In a
961   future release, users will be able to decide to see only one or the
962   other representation.
963
964   Each attachment now has its own button so that attachments can be
965   saved individually (the 'w' key is still available to save all
966   attachments).
967
968 Customizable support for tidying of text/plain message content
969
970   Many new functions are available for tidying up message
971   content. These include options such as wrapping long lines,
972   compressing duplicate blank lines, etc.
973
974   Most of these are disabled by default, but can easily be enabled by
975   clicking the available check boxes under the "Notmuch Show Insert
976   Text/Plain Hook" within the notmuch customize screen.
977
978 New support for searchable citations (even when hidden)
979
980   When portions of overly-long citations are hidden, the contents of
981   these citations will still be available for emacs' standard
982   "incremental search" functions. When the search matches any portion
983   of a hidden citation, the citation will become visible temporarily
984   to display the search result.
985
986 More flexible handling of header visibility
987
988   As an answer to complaints from many users, the To, Cc, and Date
989   headers of messages are no longer hidden by default. For those users
990   that liked that these were hidden, a new "Notmuch Messages Headers
991   Visible" option in the customize interface can be set to nil. The
992   visibility of headers can still be toggled on a per-message basis
993   with the 'h' keybinding.
994
995   For users that don't want to see some subset of those headers, the
996   new "Notmuch Message Headers" variable can be customized to list
997   only those headers that should be present in the display of a message.
998
999 The Return key now toggles message visibility anywhere
1000
1001   Previously this worked only on the first summary-line of a message.
1002
1003 Customizable formatting of search results
1004
1005   The user can easily customize the order, width, and formatting of
1006   the various fields in a "notmuch search" buffer. See the "Notmuch
1007   Search Result Format" section of the customize interface.
1008
1009 Generate nicer names for search buffers when using a saved search.
1010
1011 Add a notmuch User-Agent header when sending mail from notmuch/emacs.
1012
1013 New keybinding (M-Ret) to open all collapsed messages in a thread.
1014
1015 New library feature
1016 -------------------
1017 Provide a new NOTMUCH_SORT_UNSORTED value for queries
1018
1019   This can be somewhat faster when sorting simply isn't desired. For
1020   example when collecting a set of messages that will all be
1021   manipulated identically, (adding a tag, removing a tag, deleting the
1022   messages), then there's no advantage to sorting the messages by
1023   date.
1024
1025 Build fixes
1026 -----------
1027 Fix to compile against GMime 2.6
1028
1029   Previously notmuch insisted on being able to find GMime 2.4, (even
1030   though GMime 2.6 would have worked all along).
1031
1032 Fix configure script to accept (and ignore) various standard options.
1033
1034   For example, those that the Gentoo build scripts expect configure to
1035   accept are now all accepted.
1036
1037 Test suite
1038 ----------
1039 A large number of new tests for the many new features.
1040
1041 Better display of output from failed tests.
1042
1043   Now shows failures with diff rather than forcing the user to gaze at
1044   complete actual and expected output looking for deviation.
1045
1046 Notmuch 0.2 (2010-04-16)
1047 ========================
1048 This is the second release of the notmuch mail system, with actual
1049 detailed release notes this time!
1050
1051 This release consists of a number of minor new features that make
1052 notmuch more pleasant to use, and a few fairly major bug fixes.
1053
1054 We didn't quite hit our release target of "about a week" from the 0.1
1055 release, (0.2 is happening 11 days after 0.1), but we hope to do
1056 better for next week. Look forward to some major features coming to
1057 notmuch in subsequent releases.
1058
1059 -Carl
1060
1061 General features
1062 ----------------
1063 Better guessing of From: header.
1064
1065   Notmuch now tries harder to guess which configured address should be
1066   used as the From: line in a "notmuch reply". It will examine the
1067   Received: headers if it fails to find any configured address in To:
1068   or Cc:. This allows it to often choose the correct address even when
1069   replying to a message sent to a mailing list, and not directly to a
1070   configured address.
1071
1072 Make "notmuch count" with no arguments count all messages
1073
1074   Previously, it was hard to construct a search term that was
1075   guaranteed to match all messages.
1076
1077 Provide a new special-case search term of "*" to match all messages.
1078
1079   This can be used in any command accepting a search term, such as
1080   "notmuch search '*'". Note that you'll want to take care that the
1081   shell doesn't expand * against the current files. And note that the
1082   support for "*" is a special case. It's only meaningful as a single
1083   search term and loses its special meaning when combined with any
1084   other search terms.
1085
1086 Automatically detect thread connections even when a parent message is
1087 missing.
1088
1089   Previously, if two or more message were received with a common
1090   parent, but that parent was not received, then these messages would
1091   not be recognized as belonging to the same thread. This is now fixed
1092   so that such messages are properly connected in a thread.
1093
1094 General bug fixes
1095 -----------------
1096 Fix potential data loss in "notmuch new" with SIGINT
1097
1098   One code path in "notmuch new" was not properly handling
1099   SIGINT. Previously, this could lead to messages being removed from
1100   the database (and their tags being lost) if the user pressed
1101   Control-C while "notmuch new" was working.
1102
1103 Fix segfault when a message includes a MIME part that is empty.
1104
1105 Fix handling of non-ASCII characters with --format=json
1106
1107   Previously, characters outside the range of 7-bit ASCII were
1108   silently dropped from the JSON output. This led to corrupted display
1109   of utf-8 content in the upcoming notmuch web-based frontends.
1110
1111 Fix headers to be properly decoded in "notmuch reply"
1112
1113   Previously, the user might see:
1114
1115         Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?=
1116
1117   rather than:
1118
1119         Subject: Re: Rozlučka
1120
1121   The former text is properly encoded to be RFC-compliant SMTP, will
1122   be sent correctly, and will be properly decoded by the
1123   recipient. But the user trying to edit the reply would likely be
1124   unable to read or edit that field in its encoded form.
1125
1126 Emacs client features
1127 ---------------------
1128 Show the last few lines of citations as well as the first few lines.
1129
1130   It's often the case that the last sentence of a citation is what is
1131   being replied to directly, so the last few lines are often much more
1132   important. The number of lines shown at the beginning and end of any
1133   citation can be configured, (notmuch-show-citation-lines-prefix and
1134   notmuch-show-citation-lines-suffix).
1135
1136 The '+' and '-' commands in the search view can now add and remove
1137 tags by region.
1138
1139   Selective bulk tagging is now possible by selecting a region of
1140   threads and then using either the '+' or '-' keybindings. Bulk
1141   tagging is still available for all threads matching the current
1142   search with the '*' binding.
1143
1144 More meaningful buffer names for thread-view buffers.
1145
1146   Notmuch now uses the Subject of the thread as the buffer
1147   name. Previously it was using the thread ID, which is a meaningless
1148   number to the user.
1149
1150 Provide for customized colors of threads in search view based on tags.
1151
1152   See the documentation of notmuch-search-line-faces, (or us "M-x
1153   customize" and browse to the "notmuch" group within "Applications"
1154   and "Mail"), for details on how to configure this colorization.
1155
1156 Build-system features
1157 ---------------------
1158 Add support to properly build libnotmuch on Darwin systems (OS X).
1159
1160 Add support to configure for many standard options.
1161
1162   We include actual support for:
1163
1164         --includedir --mandir --sysconfdir
1165
1166   And accept and silently ignore several more:
1167
1168         --build --infodir --libexecdir --localstatedir
1169         --disable-maintainer-mode --disable-dependency-tracking
1170
1171 Install emacs client in "make install" rather than requiring a
1172 separate "make install-emacs".
1173
1174 Automatically compute versions numbers between releases.
1175
1176   This support uses the git-describe notation, so a version such as
1177   0.1-144-g43cbbfc indicates a version that is 144 commits since the
1178   0.1 release and is available as git commit "43cbbfc".
1179
1180 Add a new "make test" target to run the test suite and actually verify
1181 its results.
1182
1183 Notmuch 0.1 (2010-04-05)
1184 ========================
1185 This is the first release of the notmuch mail system.
1186
1187 It includes the libnotmuch library, the notmuch command-line
1188 interface, and an emacs-based interface to notmuch.
1189
1190 Note: Notmuch will work best with Xapian 1.0.18 (or later) or Xapian
1191 1.1.4 (or later). Previous versions of Xapian (whether 1.0 or 1.1) had
1192 a performance bug that made notmuch very slow when modifying
1193 tags. This would cause distracting pauses when reading mail while
1194 notmuch would wait for Xapian when removing the "inbox" and "unread"
1195 tags from messages in a thread.
1196