1 Notmuch 0.18~rc0 (2014-04-22)
2 =============================
7 This new release includes some enhancements to searching for messages
8 by filesystem location (`folder:` and `path:` prefixes under *General*
9 below). Saved searches in *Emacs* have also been enhanced to allow
10 distinct search orders for each one. Another enhancement to the
11 *Emacs* interface is that replies to encrypted messages are now
12 encrypted, reducing the risk of unintentional information disclosure.
13 The default dump output format has changed to the more robust
14 `batch-tag` format. The previously deprecated parsing of single
15 message mboxes has been removed. For detailed release notes, see
21 The `folder:` search prefix now requires an exact match
23 The `folder:` prefix has been changed to search for email messages
24 by the exact, case sensitive maildir or MH folder name. The new
25 behaviour allows for more accurate mail folder based searches, and
26 should lead to less surprising results than the old behaviour. Users
27 are advised to see the `notmuch-search-terms` manual page for
28 details, and review how the change affects their existing `folder:`
31 There is a new `path:` search prefix.
33 The new `path:` search prefix complements the `folder:` prefix. The
34 `path:` prefix searches for email messages that are in particular
35 directories within the mail store, optionally recursively using a
36 special syntax. See the `notmuch-search-terms` manual page for
39 Notmuch database upgrade due to `folder:` and `path:` changes
41 The above mentioned changes to the `folder:` prefix and the addition
42 of `path:` prefix require a Notmuch database upgrade. This will be
43 done automatically, without prompting on the next time `notmuch new`
44 is run after the upgrade. The upgrade is not reversible, and the
45 upgraded database will not be readable by older versions of
46 Notmuch. As a safeguard, a database dump will be created in the
47 `.notmuch` directory before upgrading.
52 Notmuch database upgrade
54 The libnotmuch consumers are reminded to handle database upgrades
55 properly, either by relying on running `notmuch new`, or checking
56 `notmuch_database_needs_upgrade()` and calling
57 `notmuch_database_upgrade()` as necessary. This has always been the
58 case, but in practise there have been no database upgrades in any
59 released version of Notmuch before now.
61 Support for indexing mbox files has been dropped
63 There has never been proper support for mbox files containing
64 multiple messages, and the support for single-message mbox files has
65 been deprecated since Notmuch 0.15. The support has now been
66 dropped, and all mbox files will be rejected during indexing.
68 Message header parsing changes
70 Notmuch previously had an internal parser for message headers. The
71 parser has now been dropped in favour of letting GMime parse both
72 the headers and the message MIME structure at the same pass. This is
73 mostly an internal change, but the GMime parser is stricter in its
74 interpretation of the headers. This may result in messages with
75 slightly malformed message headers being now rejected.
77 Command-Line Interface
78 ----------------------
80 `notmuch dump` now defaults to `batch-tag` format
82 The old format is still available with `--format=sup`.
84 `notmuch new` has a --quiet option
86 This option suppresses the progress and summary reports.
88 `notmuch insert` respects maildir.synchronize_flags config option
90 Do not synchronize tags to maildir flags in `notmuch insert` if the
91 user does not want it.
93 The commands set consistent exit status codes on failures
95 The cli commands now consistently set exit status of 1 on failures,
96 except where explicitly otherwise noted. The notable expections are
97 the status codes for format version mismatches for commands that
98 support formatted output.
105 If the file pointed by new variable `notmuch-init-file` (typically
106 `~/.emacs.d/notmuch-config.el`) exists, it is loaded at the end of
107 `notmuch.el`. Users can put their personal notmuch emacs lisp based
108 configuration/customization items there instead of filling
109 `~/.emacs` with these.
111 Changed format for saved searches
113 The format for `notmuch-saved-searches` has changed, but old style
114 saved searches are still supported. The new style means that a saved
115 search can store the desired sort order for the search, and it can
116 store a separate query to use for generating the count notmuch
119 The variable is fully customizable and any configuration done
120 through customize should *just work*, with the additional options
121 mentioned above. For manual customization see the documentation for
122 `notmuch-saved-searches`.
124 IMPORTANT: a new style notmuch-saved-searches variable will break
125 previous versions of notmuch-emacs (even search will not work); to
126 fix remove the customization for notmuch-saved-searches.
128 If you have a custom saved search sort function (not unsorted or
129 alphabetical) then the sort function will need to be
130 modified. Replacing (car saved-search) by (notmuch-saved-search-get
131 saved-search :name) and (cdr saved-search) by
132 (notmuch-saved-search-get saved-search :query) should be sufficient.
134 The keys of `notmuch-tag-formats` are now regexps
136 Previously, the keys were literal strings. Customized settings of
137 `notmuch-tag-formats` will continue to work as before unless tags
138 contain regexp special characters like `.` or `*`.
140 Changed tags are now shown in the buffer
142 Previously tag changes made in a buffer were shown immediately. In
143 some cases (particularly automatic tag changes like marking read)
144 this made it hard to see what had happened (e.g., whether the
145 message had been unread).
147 The changes are now shown explicitly in the buffer: by default
148 deleted tags are displayed with red strike-through and added tags
149 are displayed underlined in green (inverse video is used for deleted
150 tags if the terminal does not support strike-through).
152 The variables `notmuch-tag-deleted-formats` and
153 `notmuch-tag-added-formats`, which have the same syntax as
154 `notmuch-tag-formats`, allow this to be customized.
156 Setting `notmuch-tag-deleted-formats` to `'((".*" nil))` and
157 `notmuch-tag-added-formats` to `'((".*" tag))` will give the old
158 behavior of hiding deleted tags and showing added tags identically
159 to tags already present.
163 The new, build-time generated variable `notmuch-emacs-version` is used
164 to distinguish between notmuch cli and notmuch emacs versions.
165 The function `notmuch-hello-versions` (bound to 'v' in notmuch-hello
166 window) prints both notmuch cli and notmuch emacs versions in case
167 these differ from each other.
168 This is especially useful when using notmuch remotely.
170 Ido-completing-read initialization in Emacs 23
172 `ido-completing-read` in Emacs 23 versions 1 through 3 freezes unless
173 it is initialized. Defadvice-based *Ido* initialization is defined
174 for these Emacs versions.
176 Bug fix for saved searches with newlines in them
178 Split lines confuse `notmuch count --batch`, so we remove embedded
179 newlines before calling notmuch count.
181 Bug fixes for sender identities
183 Previously, Emacs would rewrite some sender identities in unexpected
184 and undesirable ways. Now it will use identities exactly as
185 configured in `notmuch-identities`.
187 Replies to encrypted messages will be encrypted by default
189 In the interest of maintaining confidentiality of communications,
190 the Notmuch Emacs interface now automatically adds the mml tag to
191 encrypt replies to encrypted messages. This should make it less
192 likely to accidentally reply to encrypted messages in plain text.
194 Reply pushes mark before signature
196 We push mark and set point on reply so that the user can easily cut
197 the quoted text. The mark is now pushed before the signature, if
198 any, instead of end of buffer so the signature is preserved.
203 nmbug adds a `clone` command for setting up the initial repository and
204 uses `@{upstream}` instead of `FETCH_HEAD` to track upstream changes.
206 The `@{upstream}` change reduces ambiguity when fetching multiple
207 branches, but requires existing users update their `NMBGIT`
208 repository (usually `~/.nmbug`) to distinguish between local and
209 remote-tracking branches. The easiest way to do this is:
211 1. If you have any purely local commits (i.e. they aren't in the
212 nmbug repository on nmbug.tethera.net), push them to a remote
213 repository. We'll restore them from the backup in step 4.
214 2. Remove your `NMBGIT` repository (e.g. `mv .nmbug .nmbug.bak`).
215 3. Use the new `clone` command to create a fresh clone:
217 nmbug clone http://nmbug.tethera.net/git/nmbug-tags.git
219 4. If you had local commits in step 1, add a remote for that
220 repository and fetch them into the new repository.
222 Notmuch 0.17 (2013-12-30)
223 =========================
225 Incompatible change in SHA1 computation
226 ---------------------------------------
228 Previously on big endian architectures like sparc and powerpc the
229 computation of SHA1 hashes was incorrect. This meant that messages
230 with overlong or missing message-ids were given different computed
231 message-ids than on more common little endian architectures like i386
232 and amd64. If you use notmuch on a big endian architecture, you are
233 strongly advised to make a backup of your tags using `notmuch dump`
234 before this upgrade. You can locate the affected files using something
238 awk '/^notmuch-sha1-[0-9a-f]{40} / \
239 {system("notmuch search --exclude=false --output=files id:" $1)}'
241 Command-Line Interface
242 ----------------------
244 New options to better support handling duplicate messages
246 If more than one message file is associated with a message-id,
247 `notmuch search --output=files` will print all of them. A new
248 `--duplicate=N` option can be used to specify which duplicate to
249 print for each message.
251 `notmuch count` now supports `--output=files` option to output the
252 number of files associated with matching messages. This may be
253 bigger than the number of matching messages due to duplicates
254 (i.e. multiple files having the same message-id).
256 Improved `notmuch new` performance for unchanged folders
258 `notmuch new` now skips over unchanged folders more efficiently,
259 which can substantially improve the performance of checking for new
260 mail in some situations (like NFS-mounted Maildirs).
262 `notmuch reply --format=text` RFC 2047-encodes headers
264 Previously, this used a mix of standard MIME encoding for the reply
265 body and UTF-8 for the headers. Now, the text format reply template
266 RFC 2047-encodes the headers, making the output a valid RFC 2822
267 message. The JSON/sexp format is unchanged.
269 `notmuch compact` command
271 The new `compact` command exposes Xapian's compaction
272 functionality through a more convenient interface than
273 `xapian-compact`. `notmuch compact` will compact the database to a
274 temporary location, optionally backup the original database, and
275 move the compacted database into place.
280 `notmuch-tree` (formerly `notmuch-pick`) has been added to mainline
282 `notmuch-tree` is a threaded message view for the emacs
283 interface. Each message is one line in the results and the thread
284 structure is shown using UTF-8 box drawing characters (similar to
285 Mutt's threaded view). It comes between search and show in terms of
286 amount of output and can be useful for viewing both single threads
287 and multiple threads.
291 The main key entries to notmuch tree are
293 'z' enter a query to view using notmuch tree (works in hello,
294 search, show and tree mode itself)
296 'Z' view the current query in tree notmuch tree (works from search
299 Once in tree mode, keybindings are mostly in line with the rest of
300 notmuch and are all viewable with '?' as usual.
302 Customising `notmuch-tree`
304 `notmuch-tree` has several customisation variables. The most
305 significant is the first notmuch-tree-show-out which determines the
306 behaviour when selecting a message (with RET) in tree view. By
307 default tree view uses a split window showing the single message in
308 the bottom pane. However, if this option is set then it views the
309 whole thread in the complete window jumping to the selected message
310 in the thread. In either case command-prefix selects the other option.
312 Tagging threads in search is now race-free
314 Previously, adding or removing a tag from a thread in a search
315 buffer would affect messages that had arrived after the search was
316 performed, resulting in, for example, archiving messages that were
317 never seen. Tagging now affects only the messages that were in the
318 thread when the search was performed.
320 `notmuch-hello` refreshes when switching to the buffer
322 The hello buffer now refreshes whenever you switch to the buffer,
323 regardless of how you get there. You can disable automatic
324 refreshing by customizing `notmuch-hello-auto-refresh`.
326 Specific mini-buffer prompts for tagging operations
328 When entering tags to add or remove, the mini-buffer prompt now
329 indicates what operation will be performed (e.g., "Tag thread", "Tag
332 Built-in help improvements
334 Documentation for many commands has been improved, as displayed by
335 `notmuch-help` (usually bound to "?"). The bindings listed by
336 `notmuch-help` also now include descriptions of prefixed commands.
338 Quote replies as they are displayed in show view
340 We now render the parts for reply quoting the same way they are
341 rendered for show. At this time, the notable change is that replies
342 to text/calendar are now pretty instead of raw vcalendar.
344 Fixed inconsistent use of configured search order
346 All ways of interactively invoking search now honor the value of
347 `notmuch-search-oldest-first`.
349 Common keymap for notmuch-wide bindings
351 Several key bindings have been moved from mode-specific keymaps to
352 the single `notmuch-common-keymap`, which is inherited by each
353 notmuch mode. If you've customized your key bindings, you may want
354 to move some of them to the common keymap.
356 The `notmuch-tag` function now requires a list of tag changes
358 For users who have scripted the Emacs interface: the `notmuch-tag`
359 API has changed. Previously, it accepted either a list of tag
360 changes or a space-separated string of tag changes. The latter is
361 no longer supported and the function now returns nothing.
363 Fixed `notmuch-reply` putting reply in primary selection
365 On emacs 24 notmuch-reply used to put the cited text into the
366 primary selection (which could lead to inadvertently pasting this
367 cited text elsewhere). Now the primary-selection is not changed.
369 Fixed `notmuch-show` invisible part handling
371 In some obscure cases part buttons and invisibility had strange
372 interactions: in particular, the default action for some parts gave
373 the wrong action. This has been fixed.
375 Fixed `notmuch-show` attachment viewers and stderr
377 In emacs 24.3+ viewing an attachment could cause spurious text to
378 appear in the show buffer (any stderr or stdout the viewer
379 produced). By default this output is now discarded. For debugging,
380 setting `notmuch-show-attachment-debug` causes notmuch to keep the
381 viewer's stderr and stdout in a separate buffer.
383 Fixed `notmuch-mua-reply` point placement when signature involved
385 By restricting cursor movement to body section for cursor placement
386 after signature is inserted, the cursor cannot "leak" to header
387 section anymore. Now inserted citation content will definitely go to
388 the body part of the message.
393 It is now possible to compose new messages in the Vim interface, as
394 opposed reply to existing messages. There is also support for
395 going straight to a search (bypassing the folders view).
397 Notmuch 0.16 (2013-08-03)
398 =========================
400 Command-Line Interface
401 ----------------------
403 Support for delivering messages to Maildir
405 There is a new command `insert` that adds a message to a Maildir
406 folder and notmuch index.
408 `notmuch count --batch` option
410 `notmuch count` now supports batch operations similar to `notmuch
411 tag`. This is mostly an optimization for remote notmuch usage.
413 `notmuch tag` option to remove all tags from matching messages
415 `notmuch tag --remove-all` option has been added to remove all tags
416 from matching messages. This can be combined with adding new tags,
417 resulting in setting (rather than modifying) the tags of the
420 Decrypting commands explicitly expect a gpg-agent
422 Decryption in `notmuch show` and `notmuch reply` has only ever
423 worked with a functioning gpg-agent. This is now made explicit in
424 code and documentation. The functional change is that it's now
425 possible to have gpg-agent running, but gpg "use-agent"
426 configuration option disabled, not forcing the user to use the agent
429 Configuration file saves follow symbolic links
431 The notmuch commands that save the configuration file now follow
432 symbolic links instead of overwrite them.
434 Top level option to specify configuration file
436 It's now possible to specify the configuration file to use on the
437 command line using the `notmuch --config=FILE` option.
439 Bash command-line completion
441 The notmuch command-line completion support for the bash shell has
442 been rewritten. Supported completions include all the notmuch
443 commands, command-line arguments, values for keyword arguments,
444 search prefixes (such as "subject:" or "from:") in all commands that
445 use search terms, tags after + and - in `notmuch tag`, tags after
446 "tag:" prefix, user's email addresses after "from:" and "to:"
447 prefixes, and config options (and some config option values) in
448 `notmuch config`. The new completion support depends on the
449 bash-completion package.
451 Deprecated commands "part" and "search-tags" are removed.
456 New keymap to view/save parts; removed s/v/o/| part button bindings
458 The commands to view, save, and open MIME parts are now prefixed
459 with "." (". s" to save, ". v" to view, etc) and can be invoked with
460 point anywhere in a part, unlike the old commands, which were
461 restricted to part buttons. The old "s"/"v"/"o"/"|" commands on
462 part buttons have been removed since they clashed with other
463 bindings (notably "s" for search!) and could not be invoked when
464 there was no part button. The new, prefixed bindings appear in
465 show's help, so you no longer have to memorize them.
467 Default part save directory is now `mm-default-directory`
469 Previously, notmuch offered to save parts and attachments to a mix
470 of `mm-default-directory`, `mailcap-download-directory`, and `~/`.
471 This has been standardized on `mm-default-directory`.
473 Key bindings for next/previous thread
475 Show view has new key bindings M-n and M-p to move to the next and
476 previous thread in the search results.
478 Better handling of errors in search buffers
480 Instead of interleaving errors in search result buffers, search mode
481 now reports errors in the minibuffer.
483 Faster search and show
485 Communication between Emacs and the notmuch CLI is now more
486 efficient because it uses the CLI's S-expression support. As a
487 result, search mode should now fill search buffers faster and
488 threads should show faster.
492 The Emacs 22 support added late 2010 was sufficient only for a short
493 period of time. After being incomplete for roughly 2 years the code
494 in question was now removed from this release.
499 The vim based front-end has been replaced with a new one that uses the Ruby
500 bindings. The old font-end is available in the contrib subfolder.
505 Fix loading of libnotmuch shared library on OS X (Darwin) systems.
507 Notmuch 0.15.2 (2013-02-17)
508 ===========================
513 Update dependencies to avoid problems when building in parallel.
515 Internal test framework changes
516 -------------------------------
518 Adjust Emacs test watchdog mechanism to cope with `process-attributes`
521 Notmuch 0.15.1 (2013-01-24)
522 ===========================
524 Internal test framework changes
525 -------------------------------
527 Set a default value for TERM when running tests. This fixes certain
528 build failures in non-interactive environments.
530 Notmuch 0.15 (2013-01-18)
531 =========================
536 Date range search support
538 The `date:` prefix can now be used in queries to restrict the results
539 to only messages within a particular time range (based on the Date:
540 header) with a range syntax of `date:<since>..<until>`. Notmuch
541 supports a wide variety of expressions in `<since>` and
542 `<until>`. Please refer to the `notmuch-search-terms(7)` manual page
545 Empty tag names and tags beginning with "-" are deprecated
547 Such tags have been a frequent source of confusion and cause
548 (sometimes unresolvable) conflicts with other syntax. notmuch tag
549 no longer allows such tags to be added to messages. Removing such
550 tags continues to be supported to allow cleanup of existing tags,
551 but may be removed in a future release.
553 Command-Line Interface
554 ----------------------
556 `notmuch new` no longer chokes on mboxes
558 `notmuch new` now rejects mbox files containing more than one
559 message, rather than treating the file as one giant message.
561 Support for single message mboxes is deprecated
563 For historical reasons, `notmuch new` will index mbox files
564 containing a single message; however, this behavior is now
565 officially deprecated.
567 Fixed `notmuch new` to skip ignored broken symlinks
569 `notmuch new` now correctly skips symlinks if they are in the
570 ignored files list. Previously, it would abort when encountering
571 broken symlink, even if it was ignored.
573 New dump/restore format and tagging interface
575 There is a new `batch-tag` format for dump and restore that is more
576 robust, particularly with respect to tags and message-ids containing
579 `notmuch tag` now supports the ability to read tag operations and
580 queries from an input stream, in a format compatible with the new
583 Bcc and Reply-To headers are now available in notmuch show json output
585 The `notmuch show --format=json` now includes "Bcc" and "Reply-To" headers.
586 For example notmuch Emacs client can now have these headers visible
587 when the headers are added to the `notmuch-message-headers` variable.
589 CLI callers can now request a specific output format version
591 `notmuch` subcommands that support structured output now support a
592 `--format-version` argument for requesting a specific version of the
593 structured output, enabling better compatibility and error handling.
595 `notmuch search` has gained a null character separated text output format
597 The new --format=text0 output format for `notmuch search` prints
598 output separated by null characters rather than newline
599 characters. This is similar to the find(1) -print0 option, and works
600 together with the xargs(1) -0 option.
605 Removal of the deprecated `notmuch-folders` variable
607 `notmuch-folders` has been deprecated since the introduction of saved
608 searches and the notmuch hello view in notmuch 0.3. `notmuch-folders`
609 has now been removed. Any remaining users should migrate to
610 `notmuch-saved-searches`.
612 Visibility of MIME parts can be toggled
614 Each part of a multi-part MIME email can now be shown or hidden
615 using the button at the top of each part (by pressing RET on it or
616 by clicking). For emails with multiple alternative formats (e.g.,
617 plain text and HTML), only the preferred format is shown initially,
618 but other formats can be shown using their part buttons. To control
619 the behavior of this, see
620 `notmuch-multipart/alternative-discouraged` and
621 `notmuch-show-all-multipart/alternative-parts`.
623 Note notmuch-show-print-message (bound to '#' by default) will print
624 all parts of multipart/alternative message regardless of whether
625 they are currently hidden or shown in the buffer.
627 Emacs now buttonizes mid: links
629 mid: links are a standardized way to link to messages by message ID
630 (see RFC 2392). Emacs now hyperlinks mid: links to the appropriate
633 Handle errors from bodypart insertions
635 If displaying the text of a message in show mode causes an error (in
636 the `notmuch-show-insert-part-*` functions), notmuch no longer cuts
637 off thread display at the offending message. The error is now
638 simply displayed in place of the message.
640 Emacs now detects version mismatches with the notmuch CLI
642 Emacs now detects and reports when the Emacs interface version and
643 the notmuch CLI version are incompatible.
645 Improved text/calendar content handling
647 Carriage returns in embedded text/calendar content caused insertion
648 of the calendar content fail. Now CRs are removed before calling icalendar
649 to extract icalendar data. In case icalendar extraction fails an error
650 is thrown for the bodypart insertion function to deal with.
652 Disabled coding conversions when reading in `with-current-notmuch-show-message`
654 Depending on the user's locale, saving attachments containing 8-bit
655 data may have performed an unintentional encoding conversion,
656 corrupting the saved attachment. This has been fixed by making
657 `with-current-notmuch-show-message` disable coding conversion.
659 Fixed errors with HTML email containing images in Emacs 24
661 Emacs 24 ships with a new HTML renderer that produces better output,
662 but is slightly buggy. We work around a bug that caused it to fail
663 for HTML email containing images.
665 Fixed handling of tags with unusual characters in them
667 Emacs now handles tags containing spaces, quotes, and parenthesis.
669 Fixed buttonization of id: links without quote characters
671 Emacs now correctly buttonizes id: links where the message ID is not
674 `notmuch-hello` refresh point placement improvements
676 Refreshing the `notmuch-hello` buffer does a better job of keeping
677 the point where it was.
679 Automatic tag changes are now unified and customizable
681 All the automatic tag changes that the Emacs interface makes when
682 reading, archiving, or replying to messages, can now be
683 customized. Any number of tag additions and removals is supported
684 through the `notmuch-show-mark-read`, `notmuch-archive-tags`, and
685 `notmuch-message-replied-tags` customization variables.
687 Support for stashing the thread id in show view
689 Invoking `notmuch-show-stash-message-id` with a prefix argument
690 stashes the (local and database specific) thread id of the current
691 thread instead of the message id.
693 New add-on tool: notmuch-pick
694 -----------------------------
696 The new contrib/ tool `notmuch-pick` is an experimental threaded message
697 view for the emacs interface. Each message is one line in the results
698 and the thread structure is shown using UTF-8 box drawing characters
699 (similar to Mutt's threaded view). It comes between search and show in
700 terms of amount of output and can be useful for viewing both single
701 threads and multiple threads. See the notmuch-pick README file for
702 further details and installation.
707 notmuch now builds on OpenBSD.
709 Internal test framework changes
710 -------------------------------
712 The emacsclient binary is now user-configurable
714 The test framework now accepts `TEST_EMACSCLIENT` in addition to
715 `TEST_EMACS` for configuring the emacsclient to use. This is
716 necessary to avoid using an old emacsclient with a new emacs, which
717 can result in buggy behavior.
719 Notmuch 0.14 (2012-08-20)
720 =========================
725 Maildir tag synchronization
727 Maildir flag-to-tag synchronization now applies only to messages in
728 maildir-like directory structures. Previously, it applied to any
729 message that had a maildir "info" part, which meant it could
730 incorrectly synchronize tags for non-maildir messages, while at the
731 same time failing to synchronize tags for newly received maildir
732 messages (typically causing new messages to not receive the "unread"
735 Command-Line Interface
736 ----------------------
738 The deprecated positional output file argument to `notmuch dump` has
739 been replaced with an `--output` option. The input file positional
740 argument to `notmuch restore` has been replaced with an `--input`
741 option for consistency with dump. These changes simplify the syntax
742 of dump/restore options and make them more consistent with other
748 Search results now get re-colored when tags are updated
750 The formatting of tags in search results can now be customized
752 Previously, attempting to change the format of tags in
753 `notmuch-search-result-format` would usually break tagging from
754 search-mode. We no longer make assumptions about the format.
756 Experimental support for multi-line search result formats
758 It is now possible to embed newlines in
759 `notmuch-search-result-format` to make individual search results
762 Next/previous in search and show now move by boundaries
764 All "next" and "previous" commands in the search and show modes now
765 move to the next/previous result or message boundary. This doesn't
766 change the behavior of "next", but "previous" commands will first
767 move to the beginning of the current result or message if point is
768 inside the result or message.
770 Search now uses the JSON format internally
772 This should address problems with unusual characters in authors and
773 subject lines that could confuse the old text-based search parser.
775 The date shown in search results is no longer padded before applying
776 user-specified formatting
778 Previously, the date in the search results was padded to fixed width
779 before being formatted with `notmuch-search-result-format`. It is
780 no longer padded. The default format has been updated, but if
781 you've customized this variable, you may have to change your date
782 format from `"%s "` to `"%12s "`.
784 The thread-id for the `target-thread` argument for `notmuch-search` should
785 now be supplied without the "thread:" prefix.
787 Notmuch 0.13.2 (2012-06-02)
788 ===========================
793 Update `contrib/notmuch-deliver` for API changes in 0.13. This fixes a
794 compilation error for this contrib package.
796 Notmuch 0.13.1 (2012-05-29)
797 ===========================
802 Fix inserting of UTF-8 characters from *text/plain* parts in reply
804 While notmuch gained ability to insert content from other than *text/plain*
805 parts of email whenever *text/plain* parts are not available (notably
806 HTML-only emails), replying to mails that do have *text/plain* the
807 non-ASCII characters were incorrectly decoded. This is now fixed.
809 `notmuch_database_get_directory` and
810 `notmuch_database_find_message_by_filename` now work on read-only
813 Previously, these functions attempted to create directory documents
814 that didn't exist and would return an error or abort when given a
815 read-only database. Now they no longer create directory documents
816 and simply return a `NULL` object if the directory does not exist,
819 Fix compilation of ruby bindings
821 Revert to dynamic linking, since the statically linked bindings did
824 Notmuch 0.13 (2012-05-15)
825 =========================
827 Command-Line Interface
828 ----------------------
832 `notmuch reply` can now produce JSON output that contains the headers
833 for a reply message and full information about the original message
834 begin replied to. This allows MUAs to create replies intelligently.
835 For example, an MUA that can parse HTML might quote HTML parts.
837 Calling notmuch reply with `--format=json` imposes the restriction that
838 only a single message is returned by the search, as replying to
839 multiple messages does not have a well-defined behavior. The default
840 retains its current behavior for multiple message replies.
844 Tags can be automatically excluded from search results by adding them
845 to the new `search.exclude_tags` option in the Notmuch config file.
847 This behaviour can be overridden by explicitly including an excluded
848 tag in your query, for example:
850 notmuch search $your_query and tag:$excluded_tag
852 Existing users will probably want to run `notmuch setup` again to add
853 the new well-commented [search] section to the configuration file.
855 For new configurations, accepting the default setting will cause the
856 tags "deleted" and "spam" to be excluded, equivalent to running:
858 notmuch config set search.exclude_tags deleted spam
860 Raw show format changes
862 The output of show `--format=raw` has changed for multipart and
863 message parts. Previously, the output was a mash of somewhat-parsed
864 headers and transfer-decoded bodies. Now, such parts are reproduced
865 faithfully from the original source. Message parts (which includes
866 part 0) output the full message, including the message headers (but
867 not the transfer headers). Multipart parts output the part as
868 encoded in the original message, including the part's headers. Leaf
869 parts, as before, output the part's transfer-decoded body.
871 Listing configuration items
873 The new `config list` command prints out all configuration items and
879 Changes to tagging interface
881 The user-facing tagging functions in the Emacs interface have been
882 normalized across all notmuch modes. The tagging functions are now
883 notmuch-search-tag in search-mode, and notmuch-show-tag in
884 show-mode. They accept a string representing a single tag change,
885 or a list of tag changes. See 'M-x describe-function notmuch-tag'
886 for more information.
888 NOTE: This breaks compatibility with old tagging functions, so user
889 may need to update in custom configurations.
891 Reply improvement using the JSON format
893 Emacs now uses the JSON reply format to create replies. It obeys
894 the customization variables message-citation-line-format and
895 message-citation-line-function when creating the first line of the
896 reply body, and it will quote HTML parts if no text/plain parts are
899 New add-on tool: notmuch-mutt
900 -----------------------------
902 The new contrib/ tool `notmuch-mutt` provides Notmuch integration for
903 the Mutt mail user agent. Using it, Mutt users can perform mail
904 search, thread reconstruction, and mail tagging/untagging without
905 leaving Mutt. notmuch-mutt, formerly distributed under the name
906 `mutt-notmuch` by Stefano Zacchiroli, will be maintained as a notmuch
907 contrib/ from now on.
912 The API changes detailed below break binary and source compatibility,
913 so libnotmuch has been bumped to version 3.0.0.
915 The function `notmuch_database_close` has been split into
916 `notmuch_database_close` and `notmuch_database_destroy`
918 This makes it possible for long running programs to close the xapian
919 database and thus release the lock associated with it without
920 destroying the data structures obtained from it.
922 `notmuch_database_open`, `notmuch_database_create`, and
923 `notmuch_database_get_directory` now return errors
925 The type signatures of these functions have changed so that the
926 functions now return a `notmuch_status_t` and take an out-argument for
927 returning the new database object or directory object.
934 The go bindings and the `notmuch-addrlookup` utility are now
935 compatible with go 1.
937 Notmuch 0.12 (2012-03-20)
938 =========================
940 Command-Line Interface
941 ----------------------
945 `notmuch reply` has gained the ability to create a reply template
946 for replying just to the sender of the message, in addition to reply
947 to all. The feature is available through the new command line option
948 `--reply-to=(all|sender)`.
950 Mail store folder/file ignore
952 A new configuration option, `new.ignore`, lets users specify a
953 ;-separated list of file and directory names that will not be
954 searched for messages by `notmuch new`.
956 NOTE: *Every* file/directory that goes by one of those names will
957 be ignored, independent of its depth/location in the mail store.
959 Unified help and manual pages
961 The notmuch help command now runs man for the appropriate page. If
962 you install notmuch somewhere "unusual", you may need to update
965 Manual page for notmuch configuration options
967 The notmuch CLI configuration file options are now documented in the
968 notmuch-config(1) manual page in addition to the configuration file
976 The Emacs interface has, with the new CLI support, gained the
977 ability to reply to sender in addition to reply to all. In both show
978 and search modes, 'r' has been bound to reply to sender, replacing
979 reply to all, which now has key binding 'R'.
981 More flexible and consistent tagging operations
983 All tagging operations ('+', '-', '*') now accept multiple tags with
984 '+' or '-' prefix, like '*' operation in notmuch-search view before.
986 '*' operation (`notmuch-show-tag-all`) is now available in
989 `notmuch-show-{add,remove}-tag` functions no longer accept tag
990 argument, `notmuch-show-tag-message` should be used instead. Custom
991 bindings using these functions should be updated, e.g.:
993 (notmuch-show-remove-tag "unread")
995 should be changed to:
997 (notmuch-show-tag-message "-unread")
999 Refreshing the show view ('=' by default) no longer opens or closes messages
1001 To get the old behavior of putting messages back in their initial
1002 opened/closed state, use a prefix argument, e.g., 'C-u ='.
1004 Attachment buttons can be used to view or save attachments.
1006 When the cursor is on an attachment button the key 's' can be used
1007 to save the attachment, the key 'v' to view the attachment in the
1008 default mailcap application, and the key 'o' prompts the user for an
1009 application to use to open the attachment. By default Enter or mouse
1010 button 1 saves the attachment but this is customisable (option
1011 Notmuch Show Part Button Default Action).
1015 `notmuch-show-stash-mlarchive-link{,-and-go}` allow stashing and
1016 optionally visiting a URI to the current message at one of a number
1017 of Mailing List Archives.
1019 Fix MML tag quoting in replies
1021 The MML tag quoting fix of 0.11.1 unintentionally quoted tags
1022 inserted in `message-setup-hook`. Quoting is now limited to the
1025 Show view archiving key binding changes
1027 The show view archiving key bindings 'a' and 'x' now remove the
1028 "inbox" tag from the current message only (instead of thread), and
1029 move to the next message. At the last message, 'a' proceeds to the
1030 next thread in search results, and 'x' returns to search
1031 results. The thread archiving functions are now available in 'A' and
1034 Support text/calendar MIME type
1036 The text/calendar MIME type is now supported in addition to
1039 Generate inline patch fake attachment file names from message subject
1041 Use the message subject to generate file names for the inline patch
1042 fake attachments. The names are now similar to the ones generated by
1043 'git format-patch' instead of just "inline patch". See "Notmuch Show
1044 Insert Text/Plain Hook" in the notmuch customize interface.
1046 Enable `notmuch-search-line-faces` by default
1048 Make the `notmuch-search-line-faces` functionality more discoverable
1049 for new users by showing "unread" messages bold and "flagged"
1050 messages blue by default in the search view.
1054 notmuch-show mode now has simple printing support, bound to '#' by
1055 default. You can customize the variable notmuch-print-mechanism.
1062 `notmuch_query_add_tag_exclude` supports the new tag exclusion
1065 Python bindings changes
1066 -----------------------
1068 Python 3.2 compatibility
1070 The python bindings are now compatible with both python 2.5+ and 3.2.
1072 Added missing unicode conversions
1074 Python strings have to be encoded to and decoded from utf-8 when
1075 calling libnotmuch functions. Porting the bindings to python 3.2
1076 revealed a few function calls that were missing these conversions.
1081 Compatibility with GMime 2.6
1083 It is now possible to build notmuch against both GMime 2.4 and 2.6.
1084 However, a bug in GMime 2.6 before 2.6.5 causes notmuch not to
1085 report signatures where the signer key is unavailable (GNOME bug
1086 668085). For compatibility with GMime 2.4's tolerance of "From "
1087 headers we require GMime 2.6 >= 2.6.7.
1089 Notmuch 0.11.1 (2012-02-03)
1090 ===========================
1095 Fix error handling in python bindings
1097 The python bindings in 0.11 failed to detect NULL pointers being
1098 returned from libnotmuch functions and thus failed to raise
1099 exceptions to indicate the error condition. Any subsequent calls
1100 into libnotmuch caused segmentation faults.
1102 Quote MML tags in replies
1104 MML tags are text codes that Emacs uses to indicate attachments
1105 (among other things) in messages being composed. The Emacs
1106 interface did not quote MML tags in the quoted text of a reply.
1107 User could be tricked into replying to a maliciously formatted
1108 message and not editing out the MML tags from the quoted text. This
1109 could lead to files from the user's machine being attached to the
1110 outgoing message. The Emacs interface now quotes these tags in
1111 reply text, so that they do not effect outgoing messages.
1113 Notmuch 0.11 (2012-01-13)
1114 =========================
1116 Command-Line Interface
1117 ----------------------
1121 Hooks have been introduced to notmuch. Hooks are scripts that notmuch
1122 invokes before and after certain actions. Initially, `notmuch new`
1123 supports `pre-new` and `post-new` hooks that are run before and after
1124 importing new messages into the database.
1126 `notmuch reply --decrypt bugfix`
1128 The `notmuch reply` command with `--decrypt` argument had a rarely
1129 occurring bug that caused an encrypted message not to be decrypted
1130 sometimes. This is now fixed.
1135 Automatic tag query optimization
1137 `notmuch tag` now automatically optimizes the user's query to
1138 exclude messages whose tags won't change. In the past, we've
1139 suggested that people do this by hand; this is no longer necessary.
1141 Don't sort messages when creating a dump file
1143 This speeds up tag dumps considerably, without any loss of
1144 information. To replicate the old behavior of sorted output (for
1145 example to compare two dump files), one can use e.g. `sort(1)`.
1150 Reduction of memory leaks
1152 Two memory leaks when searching and showing messages were identified
1153 and fixed in this release.
1160 notmuch-show-advance (bound to the spacebar in notmuch-show-mode) had
1161 a bug that caused it to always jump to the next message, even if it
1162 should have scrolled down to show more of the current message instead.
1165 Support `notmuch new` as a notmuch-poll-script
1167 It's now possible to use `notmuch new` as a notmuch-poll-script
1168 directly. This is also the new default. This allows taking better
1169 advantage of the `notmuch new` hooks from emacs without intermediate
1172 Improvements in saved search management
1174 New saved searches are now appended to the list of saved searches,
1175 not inserted in front. It's also possible to define a sort function
1176 for displaying saved searches; alphabetical sort is provided.
1178 Hooks for notmuch-hello
1180 Two new hooks have been added: "notmuch-hello-mode-hook" (called after
1181 entering notmuch-hello-mode) and "notmuch-hello-refresh-hook" (called
1182 after updating a notmuch-hello buffer).
1184 New face for crypto parts headers
1186 Crypto parts used to be displayed with a hardcoded color. A new face
1187 has been introduced to fix this: notmuch-crypto-part-header. It
1188 defaults to the same value as before, but can be customized to match
1191 Use space as default thousands separator
1193 Large numbers in notmuch-hello are now displayed using a space as
1194 thousands separator (e.g. "123 456" instead of "123,456"). This can be
1195 changed by customizing "notmuch-hello-thousands-separator".
1197 Call notmuch-show instead of notmuch-search when clicking on
1198 buttonized id: links
1200 New function notmuch-show-advance
1202 This new function advances through just the current thread, and is
1203 less invasive than notmuch-show-advance-and-archive. It can easily
1204 be bound to SPC with:
1206 (define-key notmuch-show-mode-map " " 'notmuch-show-advance)
1208 Various performance improvements
1213 The tool `contrib/notmuch-deliver` helps with initial delivery and
1214 tagging of mail (replacing running `notmuch new`).
1217 Notmuch 0.10.2 (2011-12-04)
1218 ===========================
1223 Fix crash in python bindings
1225 The python bindings did not call `g_type_init`, which caused crashes
1226 for some, but not all users.
1228 Notmuch 0.10.1 (2011-11-25)
1229 ===========================
1234 Fix `--help` argument
1236 Argument processing changes in 0.10 introduced a bug where
1237 `notmuch --help` crashed while `notmuch help` worked fine.
1238 This is fixed in 0.10.1.
1240 Notmuch 0.10 (2011-11-23)
1241 =========================
1243 New build and testing features
1244 ------------------------------
1246 Emacs tests are now done in `dtach`. This means that dtach is now
1247 needed to run the notmuch test suite, at least until the checking for
1248 prerequisites is improved.
1250 Full test coverage of the stashing feature in Emacs.
1252 New command-line features
1253 -------------------------
1255 Add `notmuch restore --accumulate` option
1257 The `--accumulate` switch causes the union of the existing and new tags to
1258 be applied, instead of replacing each message's tags as they are read in
1261 Add search terms to `notmuch dump`
1263 The dump command now takes an optional search term much like notmuch
1264 search/show/tag. The output file argument of dump is deprecated in
1265 favour of using stdout.
1267 Add `notmuch search` `--offset` and `--limit` options
1269 The search command now takes options `--offset=[-]N` and `--limit=N` to
1270 limit the number of results shown.
1272 Add `notmuch count --output` option
1274 The count command is now capable of counting threads in addition to
1275 messages. This is selected using the new `--output=(threads|messages)`
1278 New emacs UI features
1279 ---------------------
1281 Add tab-completion for `notmuch-search` and `notmuch-search-filter`
1283 These functions now support completion tags for query parts
1284 starting with "tag:".
1286 Turn "id:MSG-ID" links into buttons associated with notmuch searches
1288 Text of the form "id:MSG-ID" in mails is now a clickable button that
1289 opens a notmuch search for the given message id.
1291 Add keybinding ('c I') for stashing Message-ID's without an id: prefix
1293 Reduces manual labour when stashing them for use outside notmuch.
1295 Do not query on `notmuch-search` exit
1297 It is harmless to kill the external notmuch process, so the user
1298 is no longer interrogated when they interrupt a search.
1303 Emacs now constructs large search buffers more efficiently
1305 Search avoids opening and parsing message files
1307 We now store more information in the database so search no longer
1308 has to open every message file to get basic headers. This can
1309 improve search speed by as much as 10X, but taking advantage of this
1310 requires a database rebuild:
1312 notmuch dump > notmuch.dump
1313 # Backup, then remove notmuch database ($MAIL/.notmuch)
1315 notmuch restore notmuch.dump
1317 New collection of add-on tools
1318 ------------------------------
1320 The source directory "contrib" contains tools built on notmuch. These
1321 tools are not part of notmuch, and you should check their individual
1322 licenses. Feel free to report problems with them to the notmuch
1325 nmbug - share tags with a given prefix
1327 nmbug helps maintain a git repo containing all tags with a given
1328 prefix (by default "notmuch::"). Tags can be shared by commiting
1329 them to git in one location and restoring in another.
1331 Notmuch 0.9 (2011-10-01)
1332 ========================
1334 New, general features
1335 ---------------------
1337 Correct handling of interruptions during `notmuch new`
1339 `notmuch new` now operates as a series of small, self-consistent
1340 transactions, so it can correctly resume after an interruption or
1341 crash. Previously, interruption could lose existing tags, fail to
1342 detect messages on resume, or leave the database in a state
1343 temporarily or permanently inconsistent with the mail store.
1350 `notmuch_database_begin_atomic` and `notmuch_database_end_atomic`
1351 allow multiple database operations to be performed atomically.
1353 `notmuch_database_find_message_by_filename` does exactly what it says.
1357 `notmuch_database_find_message` (and `n_d_f_m_by_filename`) now return
1358 a status indicator and uses an output parameter for the
1359 message. This change required changing the SONAME of libnotmuch to
1362 Python bindings changes
1363 -----------------------
1365 - Re-encode python unicode objects to utf-8 before passing back to
1367 - Support `Database().begin_atomic()/end_atomic()`
1368 - Support `Database().find_message_by_filename()`
1369 NB! This needs a db opened in READ-WRITE mode currently, or it will crash
1370 the python process. The is a limitation (=bug) of the underlying libnotmuch.
1371 - Fixes where we would not throw NotmuchErrors when we should (Justus Winter)
1372 - Update for `n_d_find_message*` API changes (see above).
1374 Ruby bindings changes
1375 ---------------------
1377 - Wrap new library functions `notmuch_database_{begin,end}_atomic.`
1378 - Add new exception `Notmuch::UnbalancedAtomicError.`
1379 - Rename destroy to destroy! according to Ruby naming conventions.
1380 - Update for `n_d_find_message*` API changes (see above).
1385 * Add gpg callback to crypto sigstatus buttons to retrieve/refresh
1387 * Add `notmuch-show-refresh-view` function (and corresponding binding)
1388 to refresh the view of a notmuch-show buffer.
1390 Reply formatting cleanup
1391 ------------------------
1393 `notmuch reply` no longer includes notification that non-leafnode
1394 MIME parts are being suppressed.
1396 Notmuch 0.8 (2011-09-10)
1397 ========================
1399 Improved handling of message/rfc822 parts
1401 Both in the CLI and the emacs interface. Output of rfc822 parts now
1402 includes the primary headers, as well as the body and all subparts.
1403 Output of the completely raw rfc822-formatted message, including all
1404 headers, is unfortunately not yet supported (but hopefully will be
1407 Improved Build system portability
1409 Certain parts of the shell script generating notmuch.sym were
1410 specific to the GNU versions of sed and nm. The new version should
1411 be more portable to e.g. OpenBSD.
1413 Documentation update for Ruby bindings
1415 Added documentation, typo fixes, and improved support for rdoc.
1417 Unicode, iterator, PEP8 changes for python bindings
1419 - PEP8 (code formatting) changes for python files.
1420 - Remove `Tags.__len__` ; see 0.6 release notes for motivation.
1421 - Decode headers as UTF8, encode (unicode) database paths as UTF8.
1423 Notmuch 0.7 (2011-08-01)
1424 ========================
1426 Vim interface improvements
1427 --------------------------
1429 Jason Woofenden provided a number of bug fixes for the Vim interface
1431 * fix citation/signature fold lengths
1432 * fix cig/cit parsing within multipart/*
1433 * fix on-screen instructions for show-signature
1434 * fix from list reformatting in search view
1435 * fix space key: now archives (did opposite)
1437 Uwe Kleine-König contributed
1439 * use full path for sendmail/doc fix
1440 * fix compose temp file name
1442 Python Bindings changes
1443 -----------------------
1445 Sebastian Spaeth contributed two changes related to unicode and UTF8:
1447 * message tags are now explicitly unicode
1448 * query string is encoded as a UTF8 byte string
1450 Build-System improvements
1451 -------------------------
1453 Generate notmuch.sym after the relevant object files
1455 This fixes a bug in parallel building. Thanks to Thomas Jost for the
1458 Notmuch 0.6.1 (2011-07-17)
1459 ==========================
1464 Re-export Xapian exception typeinfo symbols
1466 It turned out our aggressive symbol hiding caused problems for
1467 people running gcc 4.4.5.
1469 Notmuch 0.6 (2011-07-01)
1470 =======================
1472 New, general features
1473 ---------------------
1475 Folder-based searching
1477 Notmuch queries can now include a search term to match the
1478 directories in which mail files are stored (within the mail
1479 storage). The syntax is as follows:
1483 For example, one might use things such as:
1489 to match any path containing a directory "spam", "work/todo", or
1490 containing a directory starting with "2011-", respectively.
1492 This feature is particularly useful for users of delivery-agent
1493 software (such as procmail or maildrop) that is filtering mail and
1494 delivering it to particular folders, or users of systems such as
1495 Gmail that use filesystem directories to indicate message tags.
1497 NOTE: Only messages that are newly indexed with this version of
1498 notmuch will be searchable with folder: terms. In order to enable
1499 this feature for all mail, the entire notmuch index will need to be
1502 notmuch dump > notmuch.dump
1503 # Backup, then remove notmuch database ($MAIL/.notmuch)
1505 notmuch restore notmuch.dump
1507 Support for PGP/MIME
1509 Both the command-line interface and the emacs-interface have new
1510 support for PGP/MIME, detailed below. Thanks to Daniel Kahn Gillmor
1511 and Jameson Graef Rollins for making this happen.
1513 New, automatic tags: "signed" and "encrypted"
1515 These tags will automatically be applied to messages containing
1516 multipart/signed and multipart/encrypted parts.
1518 NOTE: Only messages that are newly indexed with this version of
1519 notmuch will receive these tags.
1521 New command-line features
1522 -------------------------
1524 Add new "notmuch show --verify" option for signature verification
1526 This option instruct notmuch to verify the signature of
1527 PGP/MIME-signed parts.
1529 Add new "notmuch show --decrypt" and "notmuch reply --decrypt" options
1531 This option instructs notmuch to decrypt PGP/MIME-encrypted parts.
1532 Note that this feature currently requires gpg-agent and a passphrase entry
1533 tool (e.g. pinentry-gtk or pinentry-curses).
1535 Proper nesting of multipart parts in "notmuch show" output
1537 MIME parts are now display with proper nesting to reflect original
1538 MIME hierarchy of a message. This allows clients to correctly
1539 analyze the MIME structure, (such as, for example, determining to
1540 which parts a signature part applies).
1542 Add new "notmuch show --part" option
1544 This is a replacement for the older "notmuch part" command, (which
1545 is now deprecated—it should still work as always, but is no longer
1546 documented). Putting part output under "notmuch show" allows for all
1547 of the "notmuch show" options to be applied when extracting a single
1548 part, (such as --format=json for extracting a message part with JSON
1551 Deprecate "notmuch search-tags" (in favor of "notmuch search --output=tags *")
1553 The "notmuch search-tags" sub-command has been redundant since the
1554 addition of the --output=tags option to "notmuch search". We now
1555 make that more clear by deprecating "notmuch search-tags", (dropping
1556 it from the documentation). We do continue to support the old syntax
1557 by translating it internally to the new call.
1559 Performance improvements
1560 ------------------------
1562 Faster searches (by doing fewer searches to construct threads)
1564 Whenever a user asks for search results as threads, notmuch first
1565 performs a search for messages matching the query, then performs
1566 additional searches to find other messages in the resulting threads.
1568 Removing inefficiencies and redundancies in these secondary searches
1569 results in a measured speedups of 1.5x for a typical search.
1571 Faster searches (by doing fewer passes to gather message data)
1573 Optimizing Xapian data access patterns (using a single pass to get
1574 all message-document data rather than a pass for each data type)
1575 results in a measured speedup of 1.7x for a typical search.
1577 The benefits of this optimization combine with the preceding
1578 optimization. With both in place, Austin Clements measured a speedup
1579 of 2.5x for a search of all messages in his inbox (was 4.5s, now
1580 1.8s). Thanks, Austin!
1582 Faster initial indexing
1584 More efficient indexing of new messages results in a measured
1585 speedup of 1.4x for the initial indexing of 3 GB of mail (1h 14m
1586 rather than 1h 46m). Thanks to Austin Clements and Michal Sojka.
1588 Make "notmuch new" faster for unchanged directories
1590 Optimizing to not do any further examinations of sub-directories
1591 when the filesystem indicates that a directory is unchanged from the
1592 last "notmuch new" results in measured speedups of 8.5 for the "No
1593 new mail" case, (was 0.77s, now 0.09s). Thanks to Karel Zak.
1595 New emacs-interface features
1596 ----------------------------
1598 Support for PGP/MIME (GnuPG)
1600 Automatically indicate validity of signatures for multipart/signed
1601 messages. Automatically display decrypted content for
1602 multipart/encrypted messages. See the emacs variable
1603 notmuch-crypto-process-mime for more information. Note that this
1604 needs gpg-agent and a pinentry tool just as the command-line tools.
1605 Also note there is no support SMIME yet.
1607 Output of pipe command is now displayed if pipe command fails
1609 This is extremely useful in the common use case of piping a patch to
1610 "git am". If git fails to cleanly merge the patch the error messages
1611 from the failed merge are now clearly displayed to the user, (where
1612 previously they were silently hidden from the user).
1614 User-selectable From address
1616 A user can choose which configured email addresses should be used as
1617 the From address whenever composing a new message. To do so, simply
1618 press C-u before the command which will open a new message. Emacs
1619 will prompt for the from address to use.
1621 The user can customize the "Notmuch Identities" setting in the
1622 notmuch customize group in order to use addresses other than those in
1623 the notmuch configuration file if desired.
1625 The user can also choose to always be prompted for the from address
1626 when composing a new message (without having to use C-u) by setting
1627 the "Notmuch Always Prompt For Sender" option in the notmuch
1630 Hiding of repeated subjects in collapsed thread view
1632 In notmuch-show mode, if a collapsed message has the same subject as
1633 its parent, the subject is not shown.
1635 Automatic detection and hiding of original message in top-posted message
1637 When a message contains a line looking something like:
1639 ----- Original Message -----
1641 emacs hides this and all subsequent lines as an "original message",
1642 (allowing the user to click or press enter on the "original message"
1643 button to display it again). This makes the handling of top-posted
1644 citations work much like conventional citations.
1646 New hooks for running code when tags are modified
1648 Some users want to perform additional actions whenever a particular
1649 tag is added/removed from a message. This could be used to, for
1650 example, interface with some external spam-recognition training
1651 tool. To facilitate this, two new hooks are added which can be
1652 modified in the following settings of the notmuch customize group:
1654 Notmuch Before Tag Hook
1655 Notmuch After Tag Hook
1657 New optional support for hiding some multipart/alternative parts
1659 Many emails are sent with redundant content within a
1660 multipart/alternative group (such as a text/plain part as well as a
1661 text/html part). Users can configure the setting:
1663 Notmuch Show All Multipart/Alternative Parts
1665 to "off" in the notmuch customize group to have the interface
1666 automatically hide some part alternatives (such as text/html
1667 parts). This new part hiding is not configured by default yet
1668 because there's not yet a simple way to re-display such a hidden
1669 part if it is not actually redundant with a displayed part.
1671 Better rendering of text/x-vcalendar parts
1673 These parts are now displayed in a format suitable for use with the
1676 Avoid getting confused by Subject and Author fields with newline characters
1678 Replacing all characters with ASCII code less than 32 with a question mark.
1680 Cleaner display of From line in email messages
1682 Remove double quotes, and drop "name" if it's actually just a repeat of
1685 Vim interface improvements
1686 --------------------------
1688 Felipe Contreras provided a number of updates for the vim interface:
1690 * Using sendmail directly rather than mailx,
1691 * Implementing archive in show view
1692 * Add support to mark as read in show and search views
1693 * Add delete commands
1696 Bindings improvements
1697 ---------------------
1699 Ruby bindings are now much more complete
1701 Including `QUERY.sort`, `QUERY.to_s`, `MESSAGE.maildir_flags_to_tags`,
1702 `MESSAGE.tags_to_maildir_flags`, and `MESSAGE.get_filenames`
1704 Python bindings have been updated and extended
1706 (docs online at http://packages.python.org/notmuch/)
1710 - `Message().get_filenames()`, `Message().tags_to_maildir_flags()`,
1711 `Message().maildir_flags_to_tags()`, `list(Threads())` and
1712 `list(Messages)` works now
1713 - `Message().__cmp__()` and `__hash__()`
1715 These allow, for example:
1717 if msg1 == msg2: ...
1719 As well as set arithmetic on `Messages()`:
1721 s1, s2 = set(msgs1), set(msgs2)
1727 - `len(Messages())` as it exhausted the iterator
1729 Use `len(list(Messages()))` or `Query.count_messages()`
1732 Added initial Go bindings in bindings/go
1734 New build-system features
1735 -------------------------
1737 Added support for building in a directory other than the source directory
1739 This can be used with the widely-supported idiom of simply running
1740 the configure script from some other directory:
1747 Fix to save configure options for future, implicit runs of configure
1749 When a user updates the source (such as with "git pull") calling
1750 "make" may cause an automatic re-run of the configure script. When
1751 this happens, the configure script will automatically be called with
1752 the same options the user originally passed in the most-recent
1753 manual invocation of configure.
1755 New test-suite feature
1756 ----------------------
1758 Binary for bash for running test suite now located via PATH
1760 The notmuch test suite requires a fairly recent version of bash (>=
1761 bash 4). As some systems supply an older version of bash at
1762 /bin/bash, the test suite is now updated to search $PATH to locate
1763 the bash binary. This allows users of systems with old /bin/bash to
1764 simply install bash >= 4 somewhere on $PATH before /bin and then use
1767 Support for testing output with a trailing newline
1769 Previously, some tests would fail to notice a difference in the
1770 presence/absence of a trailing newline in a program output, (which
1771 has led to bugs in the past). Now, carefully-written tests (using
1772 `test_expect_equal_file` rather than `test_expect_equal`) will detect
1773 any change in the presence/absence of a trailing newline. Many tests
1774 are updated to take advantage of this.
1776 Avoiding accessing user's $HOME while running test suite
1778 The test suite now carefully creates its own HOME directory. This
1779 allows the test suite to be run with no existing HOME directory, (as
1780 some build systems apparently do), and avoids test-suite differences
1781 due to configuration files in the users HOME directory.
1787 Output *all* files for "notmuch search --output=files"
1789 For the cases where multiple files have the same Message ID,
1790 previous versions of notmuch would output only one such file. This
1791 command is now fixed to correctly output all files.
1793 Fixed spurious search results from "overlapped" indexing of addresses
1795 This fixed a bug where a search for:
1797 to:user@elsewhere.com
1799 would incorrectly match a message sent:
1801 To: user@example,com, someone@elsewhere.com
1803 Fix --output=json when search has no results
1805 A bug present since notmuch 0.4 had caused searches with no results
1806 to produce an invalid json object. This is now fixed to cleanly
1807 return a valid json object representing an empty array "[]" as
1810 Fix the automatic detection of the From address for "notmuch reply"
1811 from the Received headers in some cases
1813 Fix core dump on DragonFlyBSD due to -1 return value from
1814 `sysconf(_SC_GETPW_R_SIZE_MAX)`
1816 Cleaned up several memory leaks
1818 Eliminated a few, rare segmentation faults and a double-free
1820 Fix libnotmuch library to only export notmuch API functions
1822 Previous release of the notmuch library also exported some Xapian
1823 C++ exception type symbols. These were never part of the library
1824 interface and were never intended to be exported.
1826 Emacs-interface bug fixes
1827 -------------------------
1829 Display any unexpected output or errors from "notmuch search" invocations
1831 Previously any misformatted output or trailing error messages were
1832 silently ignored. This output is now clearly displayed. This fix was
1833 very helpful in identifying and fixing the bug described below.
1835 Fix bug where some threads would be missing from large search results
1837 When a search returned a "large" number of results, the emacs
1838 interface was incorrectly dropping one thread every time the output
1839 of the "notmuch search" process spanned the emacs read-buffer. This
1842 Avoid re-compression of .gz files (and similar) when saving attachment
1844 Emacs was being too clever for its own good and trying to
1845 re-compress pre-compressed .gz files when saving such attachments
1846 (potentially corrupting the attachment). The emacs interface is
1847 fixed to avoid this bug.
1849 Fix hiding of a message when a previously-hidden citation is visible
1851 Previously the citation would remain visible in this case. This is
1852 fixed so that hiding a message hides all parts.
1854 Notmuch 0.5 (2010-11-11)
1855 ========================
1857 New, general features
1858 ---------------------
1860 Maildir-flag synchronization
1862 Notmuch now knows how to synchronize flags in maildir filenames with
1863 tags in the notmuch database. The following flag/tag mappings are
1872 'S' unread (added when 'S' flag is not present)
1874 The synchronization occurs in both directions, (for example, adding
1875 the 'S' flag to a file will cause the "unread" tag to be added, and
1876 adding the "replied" tag to a message will cause the file to be
1877 renamed with an 'R' flag).
1879 This synchronization is enabled by default for users of the
1880 command-line interface, (though only files in directories named
1881 "cur" or "new" will be renamed). It can be disabled by setting the
1882 new `maildir.synchronize_flags` option in the configuration file. For
1885 notmuch config set maildir.synchronize_flags false
1887 Users upgrading may also want to run "notmuch setup" once (just
1888 accept the existing configuration) to get a new, nicely-commented
1889 [maildir] section added to the configuration file.
1891 For users of the notmuch library, the new synchronization
1892 functionality is available with the following two new functions:
1894 notmuch_message_maildir_flags_to_tags
1895 notmuch_message_tags_to_maildir_flags
1897 It is anticipated that future improvements to this support will
1898 allow for safe synchronization of the 'T' flag with the "deleted"
1899 tag, as well as support for custom flag/tag mappings.
1901 New library features
1902 --------------------
1904 Support for querying multiple filenames for a single message
1906 It is common for the mailstore to contain multiple files with the
1907 same message ID. Previously, notmuch would always hide these
1908 duplicate files, (returning a single, arbitrary filename with
1909 `notmuch_message_get_filename`).
1911 With this release, library users can access all filenames for a
1912 message with the new function:
1914 notmuch_message_get_filenames
1916 Together with `notmuch_filenames_valid`, `notmuch_filenames_get`,
1917 and `notmuch_filenames_move_to_next` it is now possible to iterate
1918 over all available filenames for a given message.
1920 New command-line features
1921 -------------------------
1923 New "notmuch show --format=raw" for getting at original email contents
1925 This new feature allows for a fully-functional email client to be
1926 built on top of the notmuch command-line without needing any direct
1927 access to the mail store itself.
1929 For example, it's now possible to run "emacs -f notmuch" on a local
1930 machine with only ssh access to the mail store/notmuch database. To
1931 do this, simply set the notmuch-command variable in emacs to the
1932 name of a script containing:
1934 ssh user@host notmuch "$@"
1936 If the ssh client has enabled connection sharing (ControlMaster
1937 option in OpenSSH), the emacs interface can be quite responsive this
1943 Fix "notmuch search" to print nothing when nothing matches
1945 The 0.4 release had a bug in which:
1947 notmuch search <expression-with-no-matches>
1949 would produce a single blank line of output, (where previous
1950 versions would produce no output. This fix also causes a change in
1951 the --format=json output, (which would previously produce "[]" and
1952 now produces nothing).
1954 Emacs interface improvements
1955 ----------------------------
1957 Fix to allow pipe ('|') command to work when using notmuch over ssh
1959 Fix count of lines in hidden signatures
1961 Omit repeated subject lines in (collapsed) thread display
1963 Display current thread subject in a header line
1965 Provide a "c i" binding to copy a thread ID from the search view
1967 Allow for notmuch-fcc-dirs to have a value of nil
1969 Also, the more complex form of notmuch-fcc-dirs now has a slightly
1970 different format. It no longer has a special first-element, fallback
1971 string. Instead it's now a list of cons cells where the car of each
1972 cell is a regular expression to be matched against the sender
1973 address, and the cdr is the name of a folder to use for an FCC. So
1974 the old fallback behavior can be achieved by including a final cell
1975 of (".*" . "default-fcc-folder").
1977 Vim interface improvements
1978 --------------------------
1980 Felipe Contreras provided a number of updates for the vim interface
1982 These include optimizations, support for newer versions of vim, fixed
1983 support for sending mail on modern systems, new commands, and
1989 Added initial ruby bindings in bindings/ruby
1991 Notmuch 0.4 (2010-11-01)
1992 ========================
1994 New command-line features
1995 -------------------------
1997 `notmuch search --output=(summary|threads|messages|tags|files)`
1999 This new option allows for particular items to be returned from
2000 notmuch searches. The "summary" option is the default and behaves
2001 just as "notmuch search" has historically behaved.
2003 The new option values allow for thread IDs, message IDs, lists of
2004 tags, and lists of filenames to be returned from searches. It is
2005 expected that this new option will be very useful in shell
2006 scripts. For example:
2008 for file in $(notmuch search --output=files <search-terms>); do
2009 <operations-on> "$file"
2012 `notmuch show --format=mbox <search-specification>`
2014 This new option allows for the messages matching a search
2015 specification to be presented as an mbox. Specifically the "mboxrd"
2016 format is used which allows for reversible quoting of lines
2017 beginning with "From ". A reader should remove a single '>' from the
2018 beginning of all lines beginning with one or more '>' characters
2019 followed by the 5 characters "From ".
2021 `notmuch config [get|set] <section>.<item> [value ...]`
2023 The new top-level "config" command allows for any value in the
2024 notmuch configuration file to be queried or set to a new value. Both
2025 single-valued and multi-valued items are supported, as our any
2026 custom items stored in the configuration file.
2028 Avoid setting Bcc header in "notmuch reply"
2030 We decided that this was a bit heavy-handed as the actual mail
2031 user-agent should be responsible for setting any Bcc option. Also,
2032 see below for the notmuch/emacs user-agent now setting an Fcc by
2033 default rather than Bcc.
2035 New library features
2036 --------------------
2038 Add `notmuch_query_get_query_string` and `notmuch_query_get_sort`
2040 These are simply functions for querying properties of a
2041 `notmuch_query_t` object.
2046 Enable Fcc of all sent messages by default (to "sent" directory)
2048 All messages sent from the emacs interface will now be saved to the
2049 notmuch mail store where they will be incorporated to the database
2050 by the next "notmuch new". By default, messages are saved to the
2051 "sent" directory at the top-level of the mail store. This directory
2052 can be customized by means of the "Notmuch Fcc Dirs" option in the
2053 notmuch customize interface.
2055 Ability to all open messages in a thread to a pipe
2057 Historically, the '|' keybinding allows for piping a single message
2058 to an external command. Now, by prefixing this key with a prefix
2059 argument, (for example, by pressing "Control-U |"), all open
2060 messages in the current thread will be sent to the external command.
2062 Optional support for detecting inline patches
2064 This hook is disabled by default but can be enabled with a checkbox
2065 under "Notmuch Show Insert Text/Plain Hook" in the notmuch customize
2066 interface. It allows for inline patches to be detected and treated
2067 as if they were attachments, (with context-sensitive highlighting).
2069 Automatically tag messages as "replied" when sending a reply
2071 Messages replied to within the emacs interface will now be tagged as
2072 "replied". This feature can easily be customized to add or remove
2073 other tags as well. For example, a user might use a tag of
2074 "needs-reply" and can configure this feature to automatically remove
2075 that tag when replying. See "Notmuch Message Mark Replied" in the
2076 notmuch customize interface.
2078 Allow search-result color specifications to overlay each other
2080 For example, one tag can specify the background color of matching
2081 lines, while another can specify the foreground. With this change,
2082 both settings will now be visible simultaneously, (which was not the
2083 case in previous releases). See "Notmuch Search Line Faces" in the
2084 notmuch customize interface.
2086 Make hidden author names still available for incremental search
2088 When there is insufficient space to display all authors of a thread
2089 in search results, the names of hidden authors are now still made
2090 available to emacs' incremental search commands. As the user
2091 searches, matching lines will temporarily expand to show the hidden
2094 New binding of Control-TAB (works like TAB in reverse)
2096 Many notmuch nodes already use TAB to navigate forward through
2097 various items allowing actions, (message headers, email attachments,
2098 etc.). The new Control-TAB binding operates similarly but in the
2101 New build-system features
2102 -------------------------
2104 Various portability fixes have been applied
2106 These include fixes for build failures on at least Solaris, FreeBSD,
2107 and Fedora systems. We're hopeful that the notmuch code base is now
2108 more portable than ever before.
2110 Arrange for libnotmuch to be found automatically after make install
2112 The notmuch build system is now careful to help the user avoid
2113 errors of the form "libnotmuch.so could not be found" immediately
2114 after installing. This support takes two forms:
2116 1. If the library is installed to a system directory,
2117 (configured in /etc/ld.so.conf), then "make install" will
2118 automatically run ldconfig.
2120 2. If the library is installed to a non-system directory, the
2121 build system adds a `DR_RUNPATH` entry to the final binary
2122 pointing to the directory to which the library is installed.
2124 When this support works, the user should be able to run notmuch
2125 immediately after "make install", without any errors trying to find
2126 the notmuch library, and without having to manually set environment
2127 variables such as `LD_LIBRARY_PATH`.
2129 Check compiler/linker options before using them
2131 The configure script now carefully checks that any desired
2132 compilation options, (whether for enabling compiler warnings, or for
2133 embedding rpath, etc.), are supported. Only supported options are
2134 used in the resulting Makefile.
2136 New test-suite features
2137 -----------------------
2139 New modularization of test suite
2141 Thanks to a gracious relicensing of the test-suite infrastructure
2142 from the git project, notmuch now has a modular test suite. This
2143 provides the ability to run individual sections of the test suite
2144 rather than the whole things. It also provides better summary of
2145 test results, with support for tests that are expected to fail
2146 (BROKEN and FIXED) in addition to PASS and FAIL. Finally, it makes
2147 it easy to run the test suite within valgrind (pass --valgrind to
2148 notmuch-test or to any sub-script) which has been very useful.
2150 New testing of emacs interface
2152 The test suite has been augmented to allow automated testing of the
2153 emacs interfaces. So far, this includes basic searches, display of
2154 threads, and tag manipulation. This also includes a test that a new
2155 message can successfully be sent out through a (dummy) SMTP server
2156 and that said message is successfully integrated into the notmuch
2157 database via the FCC setting.
2162 Fix potential corruption of database when "notmuch new" is interrupted
2164 Previously, an interruption of "notmuch new" would (rarely) result
2165 in a corrupt database. The corruption would manifest itself by a
2166 persistent error of the form:
2168 document ID of 1234 has no thread ID
2170 The message-adding code has been carefully audited and reworked to
2171 avoid this sort of corruption regardless of when it is interrupted.
2173 Fix failure with extremely long message ID headers
2175 Previously, a message with an extremely long message ID, (say, more
2176 than 300 characters), would fail to be added to notmuch, (triggering
2177 Xapian exceptions). This has now been fixed.
2179 Fix for messages with "charset=unknown-8bit"
2181 Previously, messages with this charset would cause notmuch to emit a
2182 GMime warning, (which would then trip up emacs or other interfaces
2183 parsing the notmuch results).
2185 Fix `notmuch_query_search_threads` function to return NULL on any exception
2187 Fix "notmuch search" to return non-zero if `notmuch_query_search_threads`
2190 Previously, this command could confusingly report a Xapian
2191 exception, yet still return an error code of 0. It now correctly
2192 returns a failing error code of 1 in this case.
2197 Fix to handle a message with a subject containing, for example "[1234]"
2199 Previously, a message subject containing a sequence of digits within
2200 square brackets would cause the emacs interface to mis-parse the
2201 output of "notmuch search". This would result in the message being
2202 mis-displayed and prevent the user from manipulating the message in
2203 the emacs interface.
2205 Fix to correctly handle message IDs containing ".."
2207 The emacs interface now properly quotes message IDs to avoid a
2208 Xapian bug in which the ".." within a message ID would be
2209 misinterpreted as a numeric range specification.
2211 Python-binding fixes
2212 --------------------
2214 The python bindings for notmuch have been updated to work with python3.
2216 Debian-specific fixes
2217 ---------------------
2219 Fix emacs initialization so "M-x notmuch" works for users by default
2221 Now, a new Debian user can immediately run "emacs -f notmuch" after
2222 "apt-get install notmuch". Previously, the user would have had to
2223 edit the ~/.emacs file to add "(require 'notmuch)" before this would
2226 Notmuch 0.3.1 (2010-04-27)
2227 ==========================
2232 Fix an infinite loop in "notmuch reply"
2234 This bug could be triggered by replying to a message where the
2235 user's primary email address did not appear in the To: header and
2236 the user had not configured any secondary email addresses. The bug
2237 was a simple re-use of the same iterator variable in nested loops.
2239 Fix a potential SEGV in "notmuch search"
2241 This bug could be triggered by an author name ending in a ','.
2242 Admittedly - that's almost certainly a spam email, but we never
2243 want notmuch to crash.
2248 Fix calculations for line wrapping in the primary "notmuch" view
2250 Fix Fcc support to prompt to create a directory if the specified Fcc
2251 directory does not exist
2256 Fix build on OpenSolaris (at least) due to missing 'extern "C"' block
2258 Without this, the C++ sources could not find strcasestr and the
2259 final linking of notmuch would fail.
2261 Notmuch 0.3 (2010-04-27)
2262 ========================
2264 New command-line features
2265 -------------------------
2267 User-configurable tags for new messages
2269 A new "new.tags" option is available in the configuration file to
2270 determine which tags are applied to new messages. Run "notmuch
2271 setup" to generate new documentation within ~/.notmuch-config on how
2272 to specify this value.
2274 Threads search results named based on subjects that match search
2276 This means that when new mails arrived to a thread you've previously
2277 read, and the new mails have a new subject, you will see that
2278 subject in the search results rather than the old subject.
2280 Faster operation of "notmuch tag" (avoid unneeded sorting)
2282 Since the user just wants to tag all matching messages, we can make
2283 things perform a bit faster by avoiding the sort.
2285 Even Better guessing of From: header for "notmuch reply"
2287 Notmuch now looks at a number of headers when trying to figure out
2288 the best From: header to use in a reply. This is helpful if you have
2289 several configured email addresses, and you also subscribe to various
2290 mailing lists with different addresses, (so that mails you are
2291 replying to won't always include your subscribed address in the To:
2294 Indication of author names that match a search
2296 When notmuch displays threads as the result of a search, it now
2297 lists the authors that match the search before listing the other
2298 authors in the thread. It inserts a pipe '|' symbol between the last
2299 matching and first non-matching author. This is especially useful in
2300 a search that includes tag:unread. Now the authors of the unread
2301 messages in the thread are listed first.
2303 New: Python bindings
2304 --------------------
2306 Sebastian Spaeth has contributed his python bindings for the notmuch
2307 library to the central repository. These bindings were previously
2308 known as "cnotmuch" within python but have now been renamed to be
2309 accessible with a simple, and more official-looking "import notmuch".
2311 The bindings have already proven very useful as people proficient in
2312 python have been able to easily develop programs to do notmuch-based
2313 searches for email-address completion, maildir-flag synchronization,
2316 These bindings are available within the bindings/python directory, but
2317 are not yet integrated into the top-level Makefiles, nor the top-level
2318 package-building scripts. Improvements are welcome.
2320 Emacs interface improvements
2321 ----------------------------
2323 An entirely new initial view for notmuch, (friendly yet powerful)
2325 Some of us call the new view "notmuch hello" but you can get at it
2326 by simply calling "emacs -f notmuch". The new view provides a search
2327 bar where new searches can be performed. It also displays a list of
2328 recent searches, along with a button to save any of these, giving it
2329 a new name as a "saved search". Many people find these "saved
2330 searches" one of the most convenient ways of organizing their mail,
2331 (providing all of the features of "folders" in other mail clients,
2332 but without any of the disadvantages).
2334 Finally, this view can also optionally display all of the tags that
2335 exist in the database, along with a count for each tag, and a custom
2336 search of messages with that tag that's simply a click (or keypress)
2339 NOTE: For users that liked the original mode of "emacs -f notmuch"
2340 immediately displaying a particular search result, we recommend
2341 instead running something like:
2343 emacs --eval '(notmuch search "tag:inbox" t)'
2345 The "t" means to sort the messages in an "oldest first" order,
2346 (as notmuch would do previously by default). You can also
2347 leave that off to have your search results in "newest first"
2350 Full-featured "customize" support for configuring notmuch
2352 Notmuch now plugs in well to the emacs "customize" mode to make it
2353 much simpler to find things about the notmuch interface that can be
2354 tweaked by the user.
2356 You can get to this mode by starting at the main "Customize" menu in
2357 emacs, then browsing through "Applications", "Mail", and
2358 "Notmuch". Or you can go straight to "M-x customize-group"
2361 Once you're at the customize screen, you'll see a list of documented
2362 options that can be manipulated along with checkboxes, drop-down
2363 selectors, and text-entry boxes for configuring the various
2366 Support for doing tab-completion of email addresses
2368 This support currently relies on an external program,
2369 (notmuch-addresses), that is not yet shipped with notmuch
2370 itself. But multiple, suitable implementations of this program have
2371 already been written that generate address completions by doing
2372 notmuch searches of your email collection. For example, providing
2373 first those addresses that you have composed messages to in the
2376 One such program (implemented in python with the python bindings to
2377 notmuch) is available via:
2379 git clone http://jkr.acm.jhu.edu/git/notmuch_addresses.git
2381 Install that program as notmuch-addresses on your PATH, and then
2382 hitting TAB on a partial email address or name within the To: or Cc:
2383 line of an email message will provide matching completions.
2385 Support for file-based (Fcc) delivery of sent messages to mail store
2387 This isn't yet enabled by default. To enable this, one will have to
2388 set the "Notmuch Fcc Dirs" setting within the notmuch customize
2389 screen, (see its documentation there for details). We anticipate
2390 making this automatic in a future release.
2392 New 'G' key binding to trigger mail refresh (G == "Get new mail")
2394 The 'G' key works wherever '=' works. Before refreshing the screen
2395 it calls an external program that can be used to poll email servers,
2396 run notmuch new and setup specific tags for the new emails. The
2397 script to be called should be configured with the "Notmuch Poll
2398 Script" setting in the customize interface. This script will
2399 typically invoke "notmuch new" and then perhaps several "notmuch
2402 Implement emacs message display with the JSON output from notmuch
2404 This is much more robust than the previous implementation, (where
2405 some HTML mails and mail quoting the notmuch code with the delimiter
2406 characters in it would cause the parser to fall over).
2408 Better handling of HTML messages and MIME attachments (inline images!)
2410 Allow for any MIME parts that emacs can display to be displayed
2411 inline. This includes inline viewing of image attachments, (provided
2412 the window is large enough to fit the image at its natural size).
2414 Much more robust handling of HTML messages. Currently both text/plain
2415 and text/html alternates will be rendered next to each other. In a
2416 future release, users will be able to decide to see only one or the
2417 other representation.
2419 Each attachment now has its own button so that attachments can be
2420 saved individually (the 'w' key is still available to save all
2423 Customizable support for tidying of text/plain message content
2425 Many new functions are available for tidying up message
2426 content. These include options such as wrapping long lines,
2427 compressing duplicate blank lines, etc.
2429 Most of these are disabled by default, but can easily be enabled by
2430 clicking the available check boxes under the "Notmuch Show Insert
2431 Text/Plain Hook" within the notmuch customize screen.
2433 New support for searchable citations (even when hidden)
2435 When portions of overly-long citations are hidden, the contents of
2436 these citations will still be available for emacs' standard
2437 "incremental search" functions. When the search matches any portion
2438 of a hidden citation, the citation will become visible temporarily
2439 to display the search result.
2441 More flexible handling of header visibility
2443 As an answer to complaints from many users, the To, Cc, and Date
2444 headers of messages are no longer hidden by default. For those users
2445 that liked that these were hidden, a new "Notmuch Messages Headers
2446 Visible" option in the customize interface can be set to nil. The
2447 visibility of headers can still be toggled on a per-message basis
2448 with the 'h' keybinding.
2450 For users that don't want to see some subset of those headers, the
2451 new "Notmuch Message Headers" variable can be customized to list
2452 only those headers that should be present in the display of a message.
2454 The Return key now toggles message visibility anywhere
2456 Previously this worked only on the first summary-line of a message.
2458 Customizable formatting of search results
2460 The user can easily customize the order, width, and formatting of
2461 the various fields in a "notmuch search" buffer. See the "Notmuch
2462 Search Result Format" section of the customize interface.
2464 Generate nicer names for search buffers when using a saved search
2466 Add a notmuch User-Agent header when sending mail from notmuch/emacs
2468 New keybinding (M-Ret) to open all collapsed messages in a thread
2473 Provide a new `NOTMUCH_SORT_UNSORTED` value for queries
2475 This can be somewhat faster when sorting simply isn't desired. For
2476 example when collecting a set of messages that will all be
2477 manipulated identically, (adding a tag, removing a tag, deleting the
2478 messages), then there's no advantage to sorting the messages by
2484 Fix to compile against GMime 2.6
2486 Previously notmuch insisted on being able to find GMime 2.4, (even
2487 though GMime 2.6 would have worked all along).
2489 Fix configure script to accept (and ignore) various standard options
2491 For example, those that the Gentoo build scripts expect configure to
2492 accept are now all accepted.
2497 A large number of new tests for the many new features
2499 Better display of output from failed tests
2501 Now shows failures with diff rather than forcing the user to gaze at
2502 complete actual and expected output looking for deviation.
2504 Notmuch 0.2 (2010-04-16)
2505 ========================
2507 This is the second release of the notmuch mail system, with actual
2508 detailed release notes this time!
2510 This release consists of a number of minor new features that make
2511 notmuch more pleasant to use, and a few fairly major bug fixes.
2513 We didn't quite hit our release target of "about a week" from the 0.1
2514 release, (0.2 is happening 11 days after 0.1), but we hope to do
2515 better for next week. Look forward to some major features coming to
2516 notmuch in subsequent releases.
2523 Better guessing of From: header
2525 Notmuch now tries harder to guess which configured address should be
2526 used as the From: line in a "notmuch reply". It will examine the
2527 Received: headers if it fails to find any configured address in To:
2528 or Cc:. This allows it to often choose the correct address even when
2529 replying to a message sent to a mailing list, and not directly to a
2532 Make "notmuch count" with no arguments count all messages
2534 Previously, it was hard to construct a search term that was
2535 guaranteed to match all messages.
2537 Provide a new special-case search term of "*" to match all messages
2539 This can be used in any command accepting a search term, such as
2540 "notmuch search '*'". Note that you'll want to take care that the
2541 shell doesn't expand * against the current files. And note that the
2542 support for "*" is a special case. It's only meaningful as a single
2543 search term and loses its special meaning when combined with any
2546 Automatically detect thread connections even when a parent message is
2549 Previously, if two or more message were received with a common
2550 parent, but that parent was not received, then these messages would
2551 not be recognized as belonging to the same thread. This is now fixed
2552 so that such messages are properly connected in a thread.
2557 Fix potential data loss in "notmuch new" with SIGINT
2559 One code path in "notmuch new" was not properly handling
2560 SIGINT. Previously, this could lead to messages being removed from
2561 the database (and their tags being lost) if the user pressed
2562 Control-C while "notmuch new" was working.
2564 Fix segfault when a message includes a MIME part that is empty
2566 Fix handling of non-ASCII characters with --format=json
2568 Previously, characters outside the range of 7-bit ASCII were
2569 silently dropped from the JSON output. This led to corrupted display
2570 of utf-8 content in the upcoming notmuch web-based frontends.
2572 Fix headers to be properly decoded in "notmuch reply"
2574 Previously, the user might see:
2576 Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?=
2580 Subject: Re: Rozlučka
2582 The former text is properly encoded to be RFC-compliant SMTP, will
2583 be sent correctly, and will be properly decoded by the
2584 recipient. But the user trying to edit the reply would likely be
2585 unable to read or edit that field in its encoded form.
2587 Emacs client features
2588 ---------------------
2590 Show the last few lines of citations as well as the first few lines
2592 It's often the case that the last sentence of a citation is what is
2593 being replied to directly, so the last few lines are often much more
2594 important. The number of lines shown at the beginning and end of any
2595 citation can be configured, (notmuch-show-citation-lines-prefix and
2596 notmuch-show-citation-lines-suffix).
2598 The '+' and '-' commands in the search view can now add and remove
2601 Selective bulk tagging is now possible by selecting a region of
2602 threads and then using either the '+' or '-' keybindings. Bulk
2603 tagging is still available for all threads matching the current
2604 search with the '*' binding.
2606 More meaningful buffer names for thread-view buffers
2608 Notmuch now uses the Subject of the thread as the buffer
2609 name. Previously it was using the thread ID, which is a meaningless
2612 Provide for customized colors of threads in search view based on tags
2614 See the documentation of notmuch-search-line-faces, (or us "M-x
2615 customize" and browse to the "notmuch" group within "Applications"
2616 and "Mail"), for details on how to configure this colorization.
2618 Build-system features
2619 ---------------------
2621 Add support to properly build libnotmuch on Darwin systems (OS X)
2623 Add support to configure for many standard options
2625 We include actual support for:
2627 --includedir --mandir --sysconfdir
2629 And accept and silently ignore several more:
2631 --build --infodir --libexecdir --localstatedir
2632 --disable-maintainer-mode --disable-dependency-tracking
2634 Install emacs client in "make install" rather than requiring a
2635 separate "make install-emacs"
2637 Automatically compute versions numbers between releases
2639 This support uses the git-describe notation, so a version such as
2640 0.1-144-g43cbbfc indicates a version that is 144 commits since the
2641 0.1 release and is available as git commit "43cbbfc".
2643 Add a new "make test" target to run the test suite and actually
2646 Notmuch 0.1 (2010-04-05)
2647 ========================
2649 This is the first release of the notmuch mail system.
2651 It includes the libnotmuch library, the notmuch command-line
2652 interface, and an emacs-based interface to notmuch.
2654 Note: Notmuch will work best with Xapian 1.0.18 (or later) or Xapian
2655 1.1.4 (or later). Previous versions of Xapian (whether 1.0 or 1.1) had
2656 a performance bug that made notmuch very slow when modifying
2657 tags. This would cause distracting pauses when reading mail while
2658 notmuch would wait for Xapian when removing the "inbox" and "unread"
2659 tags from messages in a thread.
2666 indent-tabs-mode: nil