2 Notmuch 0.17 (UNRELEASED)
3 =========================
8 New options to better support handling duplicate messages
10 If more than one message file is associated with a message-id,
11 `notmuch search --output=files` will print all of them. A new
12 `--duplicate=N` option can be used to specify which duplicate to
13 print for each message.
15 `notmuch count` now supports `--output=files` option to output the
16 number of files associated with matching messages. This may be
17 bigger than the number of matching messages due to duplicates
18 (i.e. multiple files having the same message-id).
20 Improved `notmuch new` performance for unchanged folders
22 `notmuch new` now skips over unchanged folders more efficiently,
23 which can substantially improve the performance of checking for new
24 mail in some situations (like NFS-mounted Maildirs).
26 `notmuch reply --format=text` RFC 2047-encodes headers
28 Previously, this used a mix of standard MIME encoding for the reply
29 body and UTF-8 for the headers. Now, the text format reply template
30 RFC 2047-encodes the headers, making the output a valid RFC 2822
31 message. The JSON/sexp format is unchanged.
36 Tagging threads in search is now race-free
38 Previously, adding or removing a tag from a thread in a search
39 buffer would affect messages that had arrived after the search was
40 performed, resulting in, for example, archiving messages that were
41 never seen. Tagging now affects only the messages that were in the
42 thread when the search was performed.
44 `notmuch-hello` refreshes when switching to the buffer
46 The hello buffer now refreshes whenever you switch to the buffer,
47 regardless of how you get there. You can disable automatic
48 refreshing by customizing `notmuch-hello-auto-refresh`.
50 Specific mini-buffer prompts for tagging operations
52 When entering tags to add or remove, the mini-buffer prompt now
53 indicates what operation will be performed (e.g., "Tag thread", "Tag
56 Built-in help improvements
58 Documentation for many commands has been improved, as displayed by
59 `notmuch-help` (usually bound to "?"). The bindings listed by
60 `notmuch-help` also now include descriptions of prefixed commands.
62 Fixed inconsistent use of configured search order
64 All ways of interactively invoking search now honor the value of
65 `notmuch-search-oldest-first`.
67 Common keymap for notmuch-wide bindings
69 Several key bindings have been moved from mode-specific keymaps to
70 the single `notmuch-common-keymap`, which is inherited by each
71 notmuch mode. If you've customized your key bindings, you may want
72 to move some of them to the common keymap.
74 The `notmuch-tag` function now requires a list of tag changes
76 For users who have scripted the Emacs interface: the `notmuch-tag`
77 API has changed. Previously, it accepted either a list of tag
78 changes or a space-separated string of tag changes. The latter is
79 no longer supported and the function now returns nothing.
81 Fixed `notmuch-mua-reply` point placement when signature involved
83 By restricting cursor movement to body section for cursor placement
84 after signature is inserted, the cursor cannot "leak" to header
85 section anymore. Now inserted citation content will definitely go to
86 the body part of the message.
88 Notmuch 0.16 (2013-08-03)
89 =========================
91 Command-Line Interface
92 ----------------------
94 Support for delivering messages to Maildir
96 There is a new command `insert` that adds a message to a Maildir
97 folder and notmuch index.
99 `notmuch count --batch` option
101 `notmuch count` now supports batch operations similar to `notmuch
102 tag`. This is mostly an optimization for remote notmuch usage.
104 `notmuch tag` option to remove all tags from matching messages
106 `notmuch tag --remove-all` option has been added to remove all tags
107 from matching messages. This can be combined with adding new tags,
108 resulting in setting (rather than modifying) the tags of the
111 Decrypting commands explicitly expect a gpg-agent
113 Decryption in `notmuch show` and `notmuch reply` has only ever
114 worked with a functioning gpg-agent. This is now made explicit in
115 code and documentation. The functional change is that it's now
116 possible to have gpg-agent running, but gpg "use-agent"
117 configuration option disabled, not forcing the user to use the agent
120 Configuration file saves follow symbolic links
122 The notmuch commands that save the configuration file now follow
123 symbolic links instead of overwrite them.
125 Top level option to specify configuration file
127 It's now possible to specify the configuration file to use on the
128 command line using the `notmuch --config=FILE` option.
130 Bash command-line completion
132 The notmuch command-line completion support for the bash shell has
133 been rewritten. Supported completions include all the notmuch
134 commands, command-line arguments, values for keyword arguments,
135 search prefixes (such as "subject:" or "from:") in all commands that
136 use search terms, tags after + and - in `notmuch tag`, tags after
137 "tag:" prefix, user's email addresses after "from:" and "to:"
138 prefixes, and config options (and some config option values) in
139 `notmuch config`. The new completion support depends on the
140 bash-completion package.
142 Deprecated commands "part" and "search-tags" are removed.
147 New keymap to view/save parts; removed s/v/o/| part button bindings
149 The commands to view, save, and open MIME parts are now prefixed
150 with "." (". s" to save, ". v" to view, etc) and can be invoked with
151 point anywhere in a part, unlike the old commands, which were
152 restricted to part buttons. The old "s"/"v"/"o"/"|" commands on
153 part buttons have been removed since they clashed with other
154 bindings (notably "s" for search!) and could not be invoked when
155 there was no part button. The new, prefixed bindings appear in
156 show's help, so you no longer have to memorize them.
158 Default part save directory is now `mm-default-directory`
160 Previously, notmuch offered to save parts and attachments to a mix
161 of `mm-default-directory`, `mailcap-download-directory`, and `~/`.
162 This has been standardized on `mm-default-directory`.
164 Key bindings for next/previous thread
166 Show view has new key bindings M-n and M-p to move to the next and
167 previous thread in the search results.
169 Better handling of errors in search buffers
171 Instead of interleaving errors in search result buffers, search mode
172 now reports errors in the minibuffer.
174 Faster search and show
176 Communication between Emacs and the notmuch CLI is now more
177 efficient because it uses the CLI's S-expression support. As a
178 result, search mode should now fill search buffers faster and
179 threads should show faster.
183 The Emacs 22 support added late 2010 was sufficient only for a short
184 period of time. After being incomplete for roughly 2 years the code
185 in question was now removed from this release.
190 The vim based front-end has been replaced with a new one that uses the Ruby
191 bindings. The old font-end is available in the contrib subfolder.
196 Fix loading of libnotmuch shared library on OS X (Darwin) systems.
198 Notmuch 0.15.2 (2013-02-17)
199 ===========================
204 Update dependencies to avoid problems when building in parallel.
206 Internal test framework changes
207 -------------------------------
209 Adjust Emacs test watchdog mechanism to cope with `process-attributes`
212 Notmuch 0.15.1 (2013-01-24)
213 ===========================
215 Internal test framework changes
216 -------------------------------
218 Set a default value for TERM when running tests. This fixes certain
219 build failures in non-interactive environments.
221 Notmuch 0.15 (2013-01-18)
222 =========================
227 Date range search support
229 The `date:` prefix can now be used in queries to restrict the results
230 to only messages within a particular time range (based on the Date:
231 header) with a range syntax of `date:<since>..<until>`. Notmuch
232 supports a wide variety of expressions in `<since>` and
233 `<until>`. Please refer to the `notmuch-search-terms(7)` manual page
236 Empty tag names and tags beginning with "-" are deprecated
238 Such tags have been a frequent source of confusion and cause
239 (sometimes unresolvable) conflicts with other syntax. notmuch tag
240 no longer allows such tags to be added to messages. Removing such
241 tags continues to be supported to allow cleanup of existing tags,
242 but may be removed in a future release.
244 Command-Line Interface
245 ----------------------
247 `notmuch new` no longer chokes on mboxes
249 `notmuch new` now rejects mbox files containing more than one
250 message, rather than treating the file as one giant message.
252 Support for single message mboxes is deprecated
254 For historical reasons, `notmuch new` will index mbox files
255 containing a single message; however, this behavior is now
256 officially deprecated.
258 Fixed `notmuch new` to skip ignored broken symlinks
260 `notmuch new` now correctly skips symlinks if they are in the
261 ignored files list. Previously, it would abort when encountering
262 broken symlink, even if it was ignored.
264 New dump/restore format and tagging interface
266 There is a new `batch-tag` format for dump and restore that is more
267 robust, particularly with respect to tags and message-ids containing
270 `notmuch tag` now supports the ability to read tag operations and
271 queries from an input stream, in a format compatible with the new
274 Bcc and Reply-To headers are now available in notmuch show json output
276 The `notmuch show --format=json` now includes "Bcc" and "Reply-To" headers.
277 For example notmuch Emacs client can now have these headers visible
278 when the headers are added to the `notmuch-message-headers` variable.
280 CLI callers can now request a specific output format version
282 `notmuch` subcommands that support structured output now support a
283 `--format-version` argument for requesting a specific version of the
284 structured output, enabling better compatibility and error handling.
286 `notmuch search` has gained a null character separated text output format
288 The new --format=text0 output format for `notmuch search` prints
289 output separated by null characters rather than newline
290 characters. This is similar to the find(1) -print0 option, and works
291 together with the xargs(1) -0 option.
296 Removal of the deprecated `notmuch-folders` variable
298 `notmuch-folders` has been deprecated since the introduction of saved
299 searches and the notmuch hello view in notmuch 0.3. `notmuch-folders`
300 has now been removed. Any remaining users should migrate to
301 `notmuch-saved-searches`.
303 Visibility of MIME parts can be toggled
305 Each part of a multi-part MIME email can now be shown or hidden
306 using the button at the top of each part (by pressing RET on it or
307 by clicking). For emails with multiple alternative formats (e.g.,
308 plain text and HTML), only the preferred format is shown initially,
309 but other formats can be shown using their part buttons. To control
310 the behavior of this, see
311 `notmuch-multipart/alternative-discouraged` and
312 `notmuch-show-all-multipart/alternative-parts`.
314 Note notmuch-show-print-message (bound to '#' by default) will print
315 all parts of multipart/alternative message regardless of whether
316 they are currently hidden or shown in the buffer.
318 Emacs now buttonizes mid: links
320 mid: links are a standardized way to link to messages by message ID
321 (see RFC 2392). Emacs now hyperlinks mid: links to the appropriate
324 Handle errors from bodypart insertions
326 If displaying the text of a message in show mode causes an error (in
327 the `notmuch-show-insert-part-*` functions), notmuch no longer cuts
328 off thread display at the offending message. The error is now
329 simply displayed in place of the message.
331 Emacs now detects version mismatches with the notmuch CLI
333 Emacs now detects and reports when the Emacs interface version and
334 the notmuch CLI version are incompatible.
336 Improved text/calendar content handling
338 Carriage returns in embedded text/calendar content caused insertion
339 of the calendar content fail. Now CRs are removed before calling icalendar
340 to extract icalendar data. In case icalendar extraction fails an error
341 is thrown for the bodypart insertion function to deal with.
343 Disabled coding conversions when reading in `with-current-notmuch-show-message`
345 Depending on the user's locale, saving attachments containing 8-bit
346 data may have performed an unintentional encoding conversion,
347 corrupting the saved attachment. This has been fixed by making
348 `with-current-notmuch-show-message` disable coding conversion.
350 Fixed errors with HTML email containing images in Emacs 24
352 Emacs 24 ships with a new HTML renderer that produces better output,
353 but is slightly buggy. We work around a bug that caused it to fail
354 for HTML email containing images.
356 Fixed handling of tags with unusual characters in them
358 Emacs now handles tags containing spaces, quotes, and parenthesis.
360 Fixed buttonization of id: links without quote characters
362 Emacs now correctly buttonizes id: links where the message ID is not
365 `notmuch-hello` refresh point placement improvements
367 Refreshing the `notmuch-hello` buffer does a better job of keeping
368 the point where it was.
370 Automatic tag changes are now unified and customizable
372 All the automatic tag changes that the Emacs interface makes when
373 reading, archiving, or replying to messages, can now be
374 customized. Any number of tag additions and removals is supported
375 through the `notmuch-show-mark-read`, `notmuch-archive-tags`, and
376 `notmuch-message-replied-tags` customization variables.
378 Support for stashing the thread id in show view
380 Invoking `notmuch-show-stash-message-id` with a prefix argument
381 stashes the (local and database specific) thread id of the current
382 thread instead of the message id.
384 New add-on tool: notmuch-pick
385 -----------------------------
387 The new contrib/ tool `notmuch-pick` is an experimental threaded message
388 view for the emacs interface. Each message is one line in the results
389 and the thread structure is shown using UTF-8 box drawing characters
390 (similar to Mutt's threaded view). It comes between search and show in
391 terms of amount of output and can be useful for viewing both single
392 threads and multiple threads. See the notmuch-pick README file for
393 further details and installation.
398 notmuch now builds on OpenBSD.
400 Internal test framework changes
401 -------------------------------
403 The emacsclient binary is now user-configurable
405 The test framework now accepts `TEST_EMACSCLIENT` in addition to
406 `TEST_EMACS` for configuring the emacsclient to use. This is
407 necessary to avoid using an old emacsclient with a new emacs, which
408 can result in buggy behavior.
410 Notmuch 0.14 (2012-08-20)
411 =========================
416 Maildir tag synchronization
418 Maildir flag-to-tag synchronization now applies only to messages in
419 maildir-like directory structures. Previously, it applied to any
420 message that had a maildir "info" part, which meant it could
421 incorrectly synchronize tags for non-maildir messages, while at the
422 same time failing to synchronize tags for newly received maildir
423 messages (typically causing new messages to not receive the "unread"
426 Command-Line Interface
427 ----------------------
429 The deprecated positional output file argument to `notmuch dump` has
430 been replaced with an `--output` option. The input file positional
431 argument to `notmuch restore` has been replaced with an `--input`
432 option for consistency with dump. These changes simplify the syntax
433 of dump/restore options and make them more consistent with other
439 Search results now get re-colored when tags are updated
441 The formatting of tags in search results can now be customized
443 Previously, attempting to change the format of tags in
444 `notmuch-search-result-format` would usually break tagging from
445 search-mode. We no longer make assumptions about the format.
447 Experimental support for multi-line search result formats
449 It is now possible to embed newlines in
450 `notmuch-search-result-format` to make individual search results
453 Next/previous in search and show now move by boundaries
455 All "next" and "previous" commands in the search and show modes now
456 move to the next/previous result or message boundary. This doesn't
457 change the behavior of "next", but "previous" commands will first
458 move to the beginning of the current result or message if point is
459 inside the result or message.
461 Search now uses the JSON format internally
463 This should address problems with unusual characters in authors and
464 subject lines that could confuse the old text-based search parser.
466 The date shown in search results is no longer padded before applying
467 user-specified formatting
469 Previously, the date in the search results was padded to fixed width
470 before being formatted with `notmuch-search-result-format`. It is
471 no longer padded. The default format has been updated, but if
472 you've customized this variable, you may have to change your date
473 format from `"%s "` to `"%12s "`.
475 The thread-id for the `target-thread` argument for `notmuch-search` should
476 now be supplied without the "thread:" prefix.
478 Notmuch 0.13.2 (2012-06-02)
479 ===========================
484 Update `contrib/notmuch-deliver` for API changes in 0.13. This fixes a
485 compilation error for this contrib package.
487 Notmuch 0.13.1 (2012-05-29)
488 ===========================
493 Fix inserting of UTF-8 characters from *text/plain* parts in reply
495 While notmuch gained ability to insert content from other than *text/plain*
496 parts of email whenever *text/plain* parts are not available (notably
497 HTML-only emails), replying to mails that do have *text/plain* the
498 non-ASCII characters were incorrectly decoded. This is now fixed.
500 `notmuch_database_get_directory` and
501 `notmuch_database_find_message_by_filename` now work on read-only
504 Previously, these functions attempted to create directory documents
505 that didn't exist and would return an error or abort when given a
506 read-only database. Now they no longer create directory documents
507 and simply return a `NULL` object if the directory does not exist,
510 Fix compilation of ruby bindings
512 Revert to dynamic linking, since the statically linked bindings did
515 Notmuch 0.13 (2012-05-15)
516 =========================
518 Command-Line Interface
519 ----------------------
523 `notmuch reply` can now produce JSON output that contains the headers
524 for a reply message and full information about the original message
525 begin replied to. This allows MUAs to create replies intelligently.
526 For example, an MUA that can parse HTML might quote HTML parts.
528 Calling notmuch reply with `--format=json` imposes the restriction that
529 only a single message is returned by the search, as replying to
530 multiple messages does not have a well-defined behavior. The default
531 retains its current behavior for multiple message replies.
535 Tags can be automatically excluded from search results by adding them
536 to the new `search.exclude_tags` option in the Notmuch config file.
538 This behaviour can be overridden by explicitly including an excluded
539 tag in your query, for example:
541 notmuch search $your_query and tag:$excluded_tag
543 Existing users will probably want to run `notmuch setup` again to add
544 the new well-commented [search] section to the configuration file.
546 For new configurations, accepting the default setting will cause the
547 tags "deleted" and "spam" to be excluded, equivalent to running:
549 notmuch config set search.exclude_tags deleted spam
551 Raw show format changes
553 The output of show `--format=raw` has changed for multipart and
554 message parts. Previously, the output was a mash of somewhat-parsed
555 headers and transfer-decoded bodies. Now, such parts are reproduced
556 faithfully from the original source. Message parts (which includes
557 part 0) output the full message, including the message headers (but
558 not the transfer headers). Multipart parts output the part as
559 encoded in the original message, including the part's headers. Leaf
560 parts, as before, output the part's transfer-decoded body.
562 Listing configuration items
564 The new `config list` command prints out all configuration items and
570 Changes to tagging interface
572 The user-facing tagging functions in the Emacs interface have been
573 normalized across all notmuch modes. The tagging functions are now
574 notmuch-search-tag in search-mode, and notmuch-show-tag in
575 show-mode. They accept a string representing a single tag change,
576 or a list of tag changes. See 'M-x describe-function notmuch-tag'
577 for more information.
579 NOTE: This breaks compatibility with old tagging functions, so user
580 may need to update in custom configurations.
582 Reply improvement using the JSON format
584 Emacs now uses the JSON reply format to create replies. It obeys
585 the customization variables message-citation-line-format and
586 message-citation-line-function when creating the first line of the
587 reply body, and it will quote HTML parts if no text/plain parts are
590 New add-on tool: notmuch-mutt
591 -----------------------------
593 The new contrib/ tool `notmuch-mutt` provides Notmuch integration for
594 the Mutt mail user agent. Using it, Mutt users can perform mail
595 search, thread reconstruction, and mail tagging/untagging without
596 leaving Mutt. notmuch-mutt, formerly distributed under the name
597 `mutt-notmuch` by Stefano Zacchiroli, will be maintained as a notmuch
598 contrib/ from now on.
603 The API changes detailed below break binary and source compatibility,
604 so libnotmuch has been bumped to version 3.0.0.
606 The function `notmuch_database_close` has been split into
607 `notmuch_database_close` and `notmuch_database_destroy`
609 This makes it possible for long running programs to close the xapian
610 database and thus release the lock associated with it without
611 destroying the data structures obtained from it.
613 `notmuch_database_open`, `notmuch_database_create`, and
614 `notmuch_database_get_directory` now return errors
616 The type signatures of these functions have changed so that the
617 functions now return a `notmuch_status_t` and take an out-argument for
618 returning the new database object or directory object.
625 The go bindings and the `notmuch-addrlookup` utility are now
626 compatible with go 1.
628 Notmuch 0.12 (2012-03-20)
629 =========================
631 Command-Line Interface
632 ----------------------
636 `notmuch reply` has gained the ability to create a reply template
637 for replying just to the sender of the message, in addition to reply
638 to all. The feature is available through the new command line option
639 `--reply-to=(all|sender)`.
641 Mail store folder/file ignore
643 A new configuration option, `new.ignore`, lets users specify a
644 ;-separated list of file and directory names that will not be
645 searched for messages by `notmuch new`.
647 NOTE: *Every* file/directory that goes by one of those names will
648 be ignored, independent of its depth/location in the mail store.
650 Unified help and manual pages
652 The notmuch help command now runs man for the appropriate page. If
653 you install notmuch somewhere "unusual", you may need to update
656 Manual page for notmuch configuration options
658 The notmuch CLI configuration file options are now documented in the
659 notmuch-config(1) manual page in addition to the configuration file
667 The Emacs interface has, with the new CLI support, gained the
668 ability to reply to sender in addition to reply to all. In both show
669 and search modes, 'r' has been bound to reply to sender, replacing
670 reply to all, which now has key binding 'R'.
672 More flexible and consistent tagging operations
674 All tagging operations ('+', '-', '*') now accept multiple tags with
675 '+' or '-' prefix, like '*' operation in notmuch-search view before.
677 '*' operation (`notmuch-show-tag-all`) is now available in
680 `notmuch-show-{add,remove}-tag` functions no longer accept tag
681 argument, `notmuch-show-tag-message` should be used instead. Custom
682 bindings using these functions should be updated, e.g.:
684 (notmuch-show-remove-tag "unread")
686 should be changed to:
688 (notmuch-show-tag-message "-unread")
690 Refreshing the show view ('=' by default) no longer opens or closes messages
692 To get the old behavior of putting messages back in their initial
693 opened/closed state, use a prefix argument, e.g., 'C-u ='.
695 Attachment buttons can be used to view or save attachments.
697 When the cursor is on an attachment button the key 's' can be used
698 to save the attachment, the key 'v' to view the attachment in the
699 default mailcap application, and the key 'o' prompts the user for an
700 application to use to open the attachment. By default Enter or mouse
701 button 1 saves the attachment but this is customisable (option
702 Notmuch Show Part Button Default Action).
706 `notmuch-show-stash-mlarchive-link{,-and-go}` allow stashing and
707 optionally visiting a URI to the current message at one of a number
708 of Mailing List Archives.
710 Fix MML tag quoting in replies
712 The MML tag quoting fix of 0.11.1 unintentionally quoted tags
713 inserted in `message-setup-hook`. Quoting is now limited to the
716 Show view archiving key binding changes
718 The show view archiving key bindings 'a' and 'x' now remove the
719 "inbox" tag from the current message only (instead of thread), and
720 move to the next message. At the last message, 'a' proceeds to the
721 next thread in search results, and 'x' returns to search
722 results. The thread archiving functions are now available in 'A' and
725 Support text/calendar MIME type
727 The text/calendar MIME type is now supported in addition to
730 Generate inline patch fake attachment file names from message subject
732 Use the message subject to generate file names for the inline patch
733 fake attachments. The names are now similar to the ones generated by
734 'git format-patch' instead of just "inline patch". See "Notmuch Show
735 Insert Text/Plain Hook" in the notmuch customize interface.
737 Enable `notmuch-search-line-faces` by default
739 Make the `notmuch-search-line-faces` functionality more discoverable
740 for new users by showing "unread" messages bold and "flagged"
741 messages blue by default in the search view.
745 notmuch-show mode now has simple printing support, bound to '#' by
746 default. You can customize the variable notmuch-print-mechanism.
753 `notmuch_query_add_tag_exclude` supports the new tag exclusion
756 Python bindings changes
757 -----------------------
759 Python 3.2 compatibility
761 The python bindings are now compatible with both python 2.5+ and 3.2.
763 Added missing unicode conversions
765 Python strings have to be encoded to and decoded from utf-8 when
766 calling libnotmuch functions. Porting the bindings to python 3.2
767 revealed a few function calls that were missing these conversions.
772 Compatibility with GMime 2.6
774 It is now possible to build notmuch against both GMime 2.4 and 2.6.
775 However, a bug in GMime 2.6 before 2.6.5 causes notmuch not to
776 report signatures where the signer key is unavailable (GNOME bug
777 668085). For compatibility with GMime 2.4's tolerance of "From "
778 headers we require GMime 2.6 >= 2.6.7.
780 Notmuch 0.11.1 (2012-02-03)
781 ===========================
786 Fix error handling in python bindings
788 The python bindings in 0.11 failed to detect NULL pointers being
789 returned from libnotmuch functions and thus failed to raise
790 exceptions to indicate the error condition. Any subsequent calls
791 into libnotmuch caused segmentation faults.
793 Quote MML tags in replies
795 MML tags are text codes that Emacs uses to indicate attachments
796 (among other things) in messages being composed. The Emacs
797 interface did not quote MML tags in the quoted text of a reply.
798 User could be tricked into replying to a maliciously formatted
799 message and not editing out the MML tags from the quoted text. This
800 could lead to files from the user's machine being attached to the
801 outgoing message. The Emacs interface now quotes these tags in
802 reply text, so that they do not effect outgoing messages.
804 Notmuch 0.11 (2012-01-13)
805 =========================
807 Command-Line Interface
808 ----------------------
812 Hooks have been introduced to notmuch. Hooks are scripts that notmuch
813 invokes before and after certain actions. Initially, `notmuch new`
814 supports `pre-new` and `post-new` hooks that are run before and after
815 importing new messages into the database.
817 `notmuch reply --decrypt bugfix`
819 The `notmuch reply` command with `--decrypt` argument had a rarely
820 occurring bug that caused an encrypted message not to be decrypted
821 sometimes. This is now fixed.
826 Automatic tag query optimization
828 `notmuch tag` now automatically optimizes the user's query to
829 exclude messages whose tags won't change. In the past, we've
830 suggested that people do this by hand; this is no longer necessary.
832 Don't sort messages when creating a dump file
834 This speeds up tag dumps considerably, without any loss of
835 information. To replicate the old behavior of sorted output (for
836 example to compare two dump files), one can use e.g. `sort(1)`.
841 Reduction of memory leaks
843 Two memory leaks when searching and showing messages were identified
844 and fixed in this release.
851 notmuch-show-advance (bound to the spacebar in notmuch-show-mode) had
852 a bug that caused it to always jump to the next message, even if it
853 should have scrolled down to show more of the current message instead.
856 Support `notmuch new` as a notmuch-poll-script
858 It's now possible to use `notmuch new` as a notmuch-poll-script
859 directly. This is also the new default. This allows taking better
860 advantage of the `notmuch new` hooks from emacs without intermediate
863 Improvements in saved search management
865 New saved searches are now appended to the list of saved searches,
866 not inserted in front. It's also possible to define a sort function
867 for displaying saved searches; alphabetical sort is provided.
869 Hooks for notmuch-hello
871 Two new hooks have been added: "notmuch-hello-mode-hook" (called after
872 entering notmuch-hello-mode) and "notmuch-hello-refresh-hook" (called
873 after updating a notmuch-hello buffer).
875 New face for crypto parts headers
877 Crypto parts used to be displayed with a hardcoded color. A new face
878 has been introduced to fix this: notmuch-crypto-part-header. It
879 defaults to the same value as before, but can be customized to match
882 Use space as default thousands separator
884 Large numbers in notmuch-hello are now displayed using a space as
885 thousands separator (e.g. "123 456" instead of "123,456"). This can be
886 changed by customizing "notmuch-hello-thousands-separator".
888 Call notmuch-show instead of notmuch-search when clicking on
891 New function notmuch-show-advance
893 This new function advances through just the current thread, and is
894 less invasive than notmuch-show-advance-and-archive. It can easily
895 be bound to SPC with:
897 (define-key notmuch-show-mode-map " " 'notmuch-show-advance)
899 Various performance improvements
904 The tool `contrib/notmuch-deliver` helps with initial delivery and
905 tagging of mail (replacing running `notmuch new`).
908 Notmuch 0.10.2 (2011-12-04)
909 ===========================
914 Fix crash in python bindings
916 The python bindings did not call `g_type_init`, which caused crashes
917 for some, but not all users.
919 Notmuch 0.10.1 (2011-11-25)
920 ===========================
925 Fix `--help` argument
927 Argument processing changes in 0.10 introduced a bug where
928 `notmuch --help` crashed while `notmuch help` worked fine.
929 This is fixed in 0.10.1.
931 Notmuch 0.10 (2011-11-23)
932 =========================
934 New build and testing features
935 ------------------------------
937 Emacs tests are now done in `dtach`. This means that dtach is now
938 needed to run the notmuch test suite, at least until the checking for
939 prerequisites is improved.
941 Full test coverage of the stashing feature in Emacs.
943 New command-line features
944 -------------------------
946 Add `notmuch restore --accumulate` option
948 The `--accumulate` switch causes the union of the existing and new tags to
949 be applied, instead of replacing each message's tags as they are read in
952 Add search terms to `notmuch dump`
954 The dump command now takes an optional search term much like notmuch
955 search/show/tag. The output file argument of dump is deprecated in
956 favour of using stdout.
958 Add `notmuch search` `--offset` and `--limit` options
960 The search command now takes options `--offset=[-]N` and `--limit=N` to
961 limit the number of results shown.
963 Add `notmuch count --output` option
965 The count command is now capable of counting threads in addition to
966 messages. This is selected using the new `--output=(threads|messages)`
969 New emacs UI features
970 ---------------------
972 Add tab-completion for `notmuch-search` and `notmuch-search-filter`
974 These functions now support completion tags for query parts
975 starting with "tag:".
977 Turn "id:MSG-ID" links into buttons associated with notmuch searches
979 Text of the form "id:MSG-ID" in mails is now a clickable button that
980 opens a notmuch search for the given message id.
982 Add keybinding ('c I') for stashing Message-ID's without an id: prefix
984 Reduces manual labour when stashing them for use outside notmuch.
986 Do not query on `notmuch-search` exit
988 It is harmless to kill the external notmuch process, so the user
989 is no longer interrogated when they interrupt a search.
994 Emacs now constructs large search buffers more efficiently
996 Search avoids opening and parsing message files
998 We now store more information in the database so search no longer
999 has to open every message file to get basic headers. This can
1000 improve search speed by as much as 10X, but taking advantage of this
1001 requires a database rebuild:
1003 notmuch dump > notmuch.dump
1004 # Backup, then remove notmuch database ($MAIL/.notmuch)
1006 notmuch restore notmuch.dump
1008 New collection of add-on tools
1009 ------------------------------
1011 The source directory "contrib" contains tools built on notmuch. These
1012 tools are not part of notmuch, and you should check their individual
1013 licenses. Feel free to report problems with them to the notmuch
1016 nmbug - share tags with a given prefix
1018 nmbug helps maintain a git repo containing all tags with a given
1019 prefix (by default "notmuch::"). Tags can be shared by commiting
1020 them to git in one location and restoring in another.
1022 Notmuch 0.9 (2011-10-01)
1023 ========================
1025 New, general features
1026 ---------------------
1028 Correct handling of interruptions during `notmuch new`
1030 `notmuch new` now operates as a series of small, self-consistent
1031 transactions, so it can correctly resume after an interruption or
1032 crash. Previously, interruption could lose existing tags, fail to
1033 detect messages on resume, or leave the database in a state
1034 temporarily or permanently inconsistent with the mail store.
1041 `notmuch_database_begin_atomic` and `notmuch_database_end_atomic`
1042 allow multiple database operations to be performed atomically.
1044 `notmuch_database_find_message_by_filename` does exactly what it says.
1048 `notmuch_database_find_message` (and `n_d_f_m_by_filename`) now return
1049 a status indicator and uses an output parameter for the
1050 message. This change required changing the SONAME of libnotmuch to
1053 Python bindings changes
1054 -----------------------
1056 - Re-encode python unicode objects to utf-8 before passing back to
1058 - Support `Database().begin_atomic()/end_atomic()`
1059 - Support `Database().find_message_by_filename()`
1060 NB! This needs a db opened in READ-WRITE mode currently, or it will crash
1061 the python process. The is a limitation (=bug) of the underlying libnotmuch.
1062 - Fixes where we would not throw NotmuchErrors when we should (Justus Winter)
1063 - Update for `n_d_find_message*` API changes (see above).
1065 Ruby bindings changes
1066 ---------------------
1068 - Wrap new library functions `notmuch_database_{begin,end}_atomic.`
1069 - Add new exception `Notmuch::UnbalancedAtomicError.`
1070 - Rename destroy to destroy! according to Ruby naming conventions.
1071 - Update for `n_d_find_message*` API changes (see above).
1076 * Add gpg callback to crypto sigstatus buttons to retrieve/refresh
1078 * Add `notmuch-show-refresh-view` function (and corresponding binding)
1079 to refresh the view of a notmuch-show buffer.
1081 Reply formatting cleanup
1082 ------------------------
1084 `notmuch reply` no longer includes notification that non-leafnode
1085 MIME parts are being suppressed.
1087 Notmuch 0.8 (2011-09-10)
1088 ========================
1090 Improved handling of message/rfc822 parts
1092 Both in the CLI and the emacs interface. Output of rfc822 parts now
1093 includes the primary headers, as well as the body and all subparts.
1094 Output of the completely raw rfc822-formatted message, including all
1095 headers, is unfortunately not yet supported (but hopefully will be
1098 Improved Build system portability
1100 Certain parts of the shell script generating notmuch.sym were
1101 specific to the GNU versions of sed and nm. The new version should
1102 be more portable to e.g. OpenBSD.
1104 Documentation update for Ruby bindings
1106 Added documentation, typo fixes, and improved support for rdoc.
1108 Unicode, iterator, PEP8 changes for python bindings
1110 - PEP8 (code formatting) changes for python files.
1111 - Remove `Tags.__len__` ; see 0.6 release notes for motivation.
1112 - Decode headers as UTF8, encode (unicode) database paths as UTF8.
1114 Notmuch 0.7 (2011-08-01)
1115 ========================
1117 Vim interface improvements
1118 --------------------------
1120 Jason Woofenden provided a number of bug fixes for the Vim interface
1122 * fix citation/signature fold lengths
1123 * fix cig/cit parsing within multipart/*
1124 * fix on-screen instructions for show-signature
1125 * fix from list reformatting in search view
1126 * fix space key: now archives (did opposite)
1128 Uwe Kleine-König contributed
1130 * use full path for sendmail/doc fix
1131 * fix compose temp file name
1133 Python Bindings changes
1134 -----------------------
1136 Sebastian Spaeth contributed two changes related to unicode and UTF8:
1138 * message tags are now explicitly unicode
1139 * query string is encoded as a UTF8 byte string
1141 Build-System improvements
1142 -------------------------
1144 Generate notmuch.sym after the relevant object files
1146 This fixes a bug in parallel building. Thanks to Thomas Jost for the
1149 Notmuch 0.6.1 (2011-07-17)
1150 ==========================
1155 Re-export Xapian exception typeinfo symbols
1157 It turned out our aggressive symbol hiding caused problems for
1158 people running gcc 4.4.5.
1160 Notmuch 0.6 (2011-07-01)
1161 =======================
1163 New, general features
1164 ---------------------
1166 Folder-based searching
1168 Notmuch queries can now include a search term to match the
1169 directories in which mail files are stored (within the mail
1170 storage). The syntax is as follows:
1174 For example, one might use things such as:
1180 to match any path containing a directory "spam", "work/todo", or
1181 containing a directory starting with "2011-", respectively.
1183 This feature is particularly useful for users of delivery-agent
1184 software (such as procmail or maildrop) that is filtering mail and
1185 delivering it to particular folders, or users of systems such as
1186 Gmail that use filesystem directories to indicate message tags.
1188 NOTE: Only messages that are newly indexed with this version of
1189 notmuch will be searchable with folder: terms. In order to enable
1190 this feature for all mail, the entire notmuch index will need to be
1193 notmuch dump > notmuch.dump
1194 # Backup, then remove notmuch database ($MAIL/.notmuch)
1196 notmuch restore notmuch.dump
1198 Support for PGP/MIME
1200 Both the command-line interface and the emacs-interface have new
1201 support for PGP/MIME, detailed below. Thanks to Daniel Kahn Gillmor
1202 and Jameson Graef Rollins for making this happen.
1204 New, automatic tags: "signed" and "encrypted"
1206 These tags will automatically be applied to messages containing
1207 multipart/signed and multipart/encrypted parts.
1209 NOTE: Only messages that are newly indexed with this version of
1210 notmuch will receive these tags.
1212 New command-line features
1213 -------------------------
1215 Add new "notmuch show --verify" option for signature verification
1217 This option instruct notmuch to verify the signature of
1218 PGP/MIME-signed parts.
1220 Add new "notmuch show --decrypt" and "notmuch reply --decrypt" options
1222 This option instructs notmuch to decrypt PGP/MIME-encrypted parts.
1223 Note that this feature currently requires gpg-agent and a passphrase entry
1224 tool (e.g. pinentry-gtk or pinentry-curses).
1226 Proper nesting of multipart parts in "notmuch show" output
1228 MIME parts are now display with proper nesting to reflect original
1229 MIME hierarchy of a message. This allows clients to correctly
1230 analyze the MIME structure, (such as, for example, determining to
1231 which parts a signature part applies).
1233 Add new "notmuch show --part" option
1235 This is a replacement for the older "notmuch part" command, (which
1236 is now deprecated—it should still work as always, but is no longer
1237 documented). Putting part output under "notmuch show" allows for all
1238 of the "notmuch show" options to be applied when extracting a single
1239 part, (such as --format=json for extracting a message part with JSON
1242 Deprecate "notmuch search-tags" (in favor of "notmuch search --output=tags *")
1244 The "notmuch search-tags" sub-command has been redundant since the
1245 addition of the --output=tags option to "notmuch search". We now
1246 make that more clear by deprecating "notmuch search-tags", (dropping
1247 it from the documentation). We do continue to support the old syntax
1248 by translating it internally to the new call.
1250 Performance improvements
1251 ------------------------
1253 Faster searches (by doing fewer searches to construct threads)
1255 Whenever a user asks for search results as threads, notmuch first
1256 performs a search for messages matching the query, then performs
1257 additional searches to find other messages in the resulting threads.
1259 Removing inefficiencies and redundancies in these secondary searches
1260 results in a measured speedups of 1.5x for a typical search.
1262 Faster searches (by doing fewer passes to gather message data)
1264 Optimizing Xapian data access patterns (using a single pass to get
1265 all message-document data rather than a pass for each data type)
1266 results in a measured speedup of 1.7x for a typical search.
1268 The benefits of this optimization combine with the preceding
1269 optimization. With both in place, Austin Clements measured a speedup
1270 of 2.5x for a search of all messages in his inbox (was 4.5s, now
1271 1.8s). Thanks, Austin!
1273 Faster initial indexing
1275 More efficient indexing of new messages results in a measured
1276 speedup of 1.4x for the initial indexing of 3 GB of mail (1h 14m
1277 rather than 1h 46m). Thanks to Austin Clements and Michal Sojka.
1279 Make "notmuch new" faster for unchanged directories
1281 Optimizing to not do any further examinations of sub-directories
1282 when the filesystem indicates that a directory is unchanged from the
1283 last "notmuch new" results in measured speedups of 8.5 for the "No
1284 new mail" case, (was 0.77s, now 0.09s). Thanks to Karel Zak.
1286 New emacs-interface features
1287 ----------------------------
1289 Support for PGP/MIME (GnuPG)
1291 Automatically indicate validity of signatures for multipart/signed
1292 messages. Automatically display decrypted content for
1293 multipart/encrypted messages. See the emacs variable
1294 notmuch-crypto-process-mime for more information. Note that this
1295 needs gpg-agent and a pinentry tool just as the command-line tools.
1296 Also note there is no support SMIME yet.
1298 Output of pipe command is now displayed if pipe command fails
1300 This is extremely useful in the common use case of piping a patch to
1301 "git am". If git fails to cleanly merge the patch the error messages
1302 from the failed merge are now clearly displayed to the user, (where
1303 previously they were silently hidden from the user).
1305 User-selectable From address
1307 A user can choose which configured email addresses should be used as
1308 the From address whenever composing a new message. To do so, simply
1309 press C-u before the command which will open a new message. Emacs
1310 will prompt for the from address to use.
1312 The user can customize the "Notmuch Identities" setting in the
1313 notmuch customize group in order to use addresses other than those in
1314 the notmuch configuration file if desired.
1316 The user can also choose to always be prompted for the from address
1317 when composing a new message (without having to use C-u) by setting
1318 the "Notmuch Always Prompt For Sender" option in the notmuch
1321 Hiding of repeated subjects in collapsed thread view
1323 In notmuch-show mode, if a collapsed message has the same subject as
1324 its parent, the subject is not shown.
1326 Automatic detection and hiding of original message in top-posted message
1328 When a message contains a line looking something like:
1330 ----- Original Message -----
1332 emacs hides this and all subsequent lines as an "original message",
1333 (allowing the user to click or press enter on the "original message"
1334 button to display it again). This makes the handling of top-posted
1335 citations work much like conventional citations.
1337 New hooks for running code when tags are modified
1339 Some users want to perform additional actions whenever a particular
1340 tag is added/removed from a message. This could be used to, for
1341 example, interface with some external spam-recognition training
1342 tool. To facilitate this, two new hooks are added which can be
1343 modified in the following settings of the notmuch customize group:
1345 Notmuch Before Tag Hook
1346 Notmuch After Tag Hook
1348 New optional support for hiding some multipart/alternative parts
1350 Many emails are sent with redundant content within a
1351 multipart/alternative group (such as a text/plain part as well as a
1352 text/html part). Users can configure the setting:
1354 Notmuch Show All Multipart/Alternative Parts
1356 to "off" in the notmuch customize group to have the interface
1357 automatically hide some part alternatives (such as text/html
1358 parts). This new part hiding is not configured by default yet
1359 because there's not yet a simple way to re-display such a hidden
1360 part if it is not actually redundant with a displayed part.
1362 Better rendering of text/x-vcalendar parts
1364 These parts are now displayed in a format suitable for use with the
1367 Avoid getting confused by Subject and Author fields with newline characters
1369 Replacing all characters with ASCII code less than 32 with a question mark.
1371 Cleaner display of From line in email messages
1373 Remove double quotes, and drop "name" if it's actually just a repeat of
1376 Vim interface improvements
1377 --------------------------
1379 Felipe Contreras provided a number of updates for the vim interface:
1381 * Using sendmail directly rather than mailx,
1382 * Implementing archive in show view
1383 * Add support to mark as read in show and search views
1384 * Add delete commands
1387 Bindings improvements
1388 ---------------------
1390 Ruby bindings are now much more complete
1392 Including `QUERY.sort`, `QUERY.to_s`, `MESSAGE.maildir_flags_to_tags`,
1393 `MESSAGE.tags_to_maildir_flags`, and `MESSAGE.get_filenames`
1395 Python bindings have been updated and extended
1397 (docs online at http://packages.python.org/notmuch/)
1401 - `Message().get_filenames()`, `Message().tags_to_maildir_flags()`,
1402 `Message().maildir_flags_to_tags()`, `list(Threads())` and
1403 `list(Messages)` works now
1404 - `Message().__cmp__()` and `__hash__()`
1406 These allow, for example:
1408 if msg1 == msg2: ...
1410 As well as set arithmetic on `Messages()`:
1412 s1, s2 = set(msgs1), set(msgs2)
1418 - `len(Messages())` as it exhausted the iterator
1420 Use `len(list(Messages()))` or `Query.count_messages()`
1423 Added initial Go bindings in bindings/go
1425 New build-system features
1426 -------------------------
1428 Added support for building in a directory other than the source directory
1430 This can be used with the widely-supported idiom of simply running
1431 the configure script from some other directory:
1438 Fix to save configure options for future, implicit runs of configure
1440 When a user updates the source (such as with "git pull") calling
1441 "make" may cause an automatic re-run of the configure script. When
1442 this happens, the configure script will automatically be called with
1443 the same options the user originally passed in the most-recent
1444 manual invocation of configure.
1446 New test-suite feature
1447 ----------------------
1449 Binary for bash for running test suite now located via PATH
1451 The notmuch test suite requires a fairly recent version of bash (>=
1452 bash 4). As some systems supply an older version of bash at
1453 /bin/bash, the test suite is now updated to search $PATH to locate
1454 the bash binary. This allows users of systems with old /bin/bash to
1455 simply install bash >= 4 somewhere on $PATH before /bin and then use
1458 Support for testing output with a trailing newline
1460 Previously, some tests would fail to notice a difference in the
1461 presence/absence of a trailing newline in a program output, (which
1462 has led to bugs in the past). Now, carefully-written tests (using
1463 `test_expect_equal_file` rather than `test_expect_equal`) will detect
1464 any change in the presence/absence of a trailing newline. Many tests
1465 are updated to take advantage of this.
1467 Avoiding accessing user's $HOME while running test suite
1469 The test suite now carefully creates its own HOME directory. This
1470 allows the test suite to be run with no existing HOME directory, (as
1471 some build systems apparently do), and avoids test-suite differences
1472 due to configuration files in the users HOME directory.
1478 Output *all* files for "notmuch search --output=files"
1480 For the cases where multiple files have the same Message ID,
1481 previous versions of notmuch would output only one such file. This
1482 command is now fixed to correctly output all files.
1484 Fixed spurious search results from "overlapped" indexing of addresses
1486 This fixed a bug where a search for:
1488 to:user@elsewhere.com
1490 would incorrectly match a message sent:
1492 To: user@example,com, someone@elsewhere.com
1494 Fix --output=json when search has no results
1496 A bug present since notmuch 0.4 had caused searches with no results
1497 to produce an invalid json object. This is now fixed to cleanly
1498 return a valid json object representing an empty array "[]" as
1501 Fix the automatic detection of the From address for "notmuch reply"
1502 from the Received headers in some cases
1504 Fix core dump on DragonFlyBSD due to -1 return value from
1505 `sysconf(_SC_GETPW_R_SIZE_MAX)`
1507 Cleaned up several memory leaks
1509 Eliminated a few, rare segmentation faults and a double-free
1511 Fix libnotmuch library to only export notmuch API functions
1513 Previous release of the notmuch library also exported some Xapian
1514 C++ exception type symbols. These were never part of the library
1515 interface and were never intended to be exported.
1517 Emacs-interface bug fixes
1518 -------------------------
1520 Display any unexpected output or errors from "notmuch search" invocations
1522 Previously any misformatted output or trailing error messages were
1523 silently ignored. This output is now clearly displayed. This fix was
1524 very helpful in identifying and fixing the bug described below.
1526 Fix bug where some threads would be missing from large search results
1528 When a search returned a "large" number of results, the emacs
1529 interface was incorrectly dropping one thread every time the output
1530 of the "notmuch search" process spanned the emacs read-buffer. This
1533 Avoid re-compression of .gz files (and similar) when saving attachment
1535 Emacs was being too clever for its own good and trying to
1536 re-compress pre-compressed .gz files when saving such attachments
1537 (potentially corrupting the attachment). The emacs interface is
1538 fixed to avoid this bug.
1540 Fix hiding of a message when a previously-hidden citation is visible
1542 Previously the citation would remain visible in this case. This is
1543 fixed so that hiding a message hides all parts.
1545 Notmuch 0.5 (2010-11-11)
1546 ========================
1548 New, general features
1549 ---------------------
1551 Maildir-flag synchronization
1553 Notmuch now knows how to synchronize flags in maildir filenames with
1554 tags in the notmuch database. The following flag/tag mappings are
1563 'S' unread (added when 'S' flag is not present)
1565 The synchronization occurs in both directions, (for example, adding
1566 the 'S' flag to a file will cause the "unread" tag to be added, and
1567 adding the "replied" tag to a message will cause the file to be
1568 renamed with an 'R' flag).
1570 This synchronization is enabled by default for users of the
1571 command-line interface, (though only files in directories named
1572 "cur" or "new" will be renamed). It can be disabled by setting the
1573 new `maildir.synchronize_flags` option in the configuration file. For
1576 notmuch config set maildir.synchronize_flags false
1578 Users upgrading may also want to run "notmuch setup" once (just
1579 accept the existing configuration) to get a new, nicely-commented
1580 [maildir] section added to the configuration file.
1582 For users of the notmuch library, the new synchronization
1583 functionality is available with the following two new functions:
1585 notmuch_message_maildir_flags_to_tags
1586 notmuch_message_tags_to_maildir_flags
1588 It is anticipated that future improvements to this support will
1589 allow for safe synchronization of the 'T' flag with the "deleted"
1590 tag, as well as support for custom flag/tag mappings.
1592 New library features
1593 --------------------
1595 Support for querying multiple filenames for a single message
1597 It is common for the mailstore to contain multiple files with the
1598 same message ID. Previously, notmuch would always hide these
1599 duplicate files, (returning a single, arbitrary filename with
1600 `notmuch_message_get_filename`).
1602 With this release, library users can access all filenames for a
1603 message with the new function:
1605 notmuch_message_get_filenames
1607 Together with `notmuch_filenames_valid`, `notmuch_filenames_get`,
1608 and `notmuch_filenames_move_to_next` it is now possible to iterate
1609 over all available filenames for a given message.
1611 New command-line features
1612 -------------------------
1614 New "notmuch show --format=raw" for getting at original email contents
1616 This new feature allows for a fully-functional email client to be
1617 built on top of the notmuch command-line without needing any direct
1618 access to the mail store itself.
1620 For example, it's now possible to run "emacs -f notmuch" on a local
1621 machine with only ssh access to the mail store/notmuch database. To
1622 do this, simply set the notmuch-command variable in emacs to the
1623 name of a script containing:
1625 ssh user@host notmuch "$@"
1627 If the ssh client has enabled connection sharing (ControlMaster
1628 option in OpenSSH), the emacs interface can be quite responsive this
1634 Fix "notmuch search" to print nothing when nothing matches
1636 The 0.4 release had a bug in which:
1638 notmuch search <expression-with-no-matches>
1640 would produce a single blank line of output, (where previous
1641 versions would produce no output. This fix also causes a change in
1642 the --format=json output, (which would previously produce "[]" and
1643 now produces nothing).
1645 Emacs interface improvements
1646 ----------------------------
1648 Fix to allow pipe ('|') command to work when using notmuch over ssh
1650 Fix count of lines in hidden signatures
1652 Omit repeated subject lines in (collapsed) thread display
1654 Display current thread subject in a header line
1656 Provide a "c i" binding to copy a thread ID from the search view
1658 Allow for notmuch-fcc-dirs to have a value of nil
1660 Also, the more complex form of notmuch-fcc-dirs now has a slightly
1661 different format. It no longer has a special first-element, fallback
1662 string. Instead it's now a list of cons cells where the car of each
1663 cell is a regular expression to be matched against the sender
1664 address, and the cdr is the name of a folder to use for an FCC. So
1665 the old fallback behavior can be achieved by including a final cell
1666 of (".*" . "default-fcc-folder").
1668 Vim interface improvements
1669 --------------------------
1671 Felipe Contreras provided a number of updates for the vim interface
1673 These include optimizations, support for newer versions of vim, fixed
1674 support for sending mail on modern systems, new commands, and
1680 Added initial ruby bindings in bindings/ruby
1682 Notmuch 0.4 (2010-11-01)
1683 ========================
1685 New command-line features
1686 -------------------------
1688 `notmuch search --output=(summary|threads|messages|tags|files)`
1690 This new option allows for particular items to be returned from
1691 notmuch searches. The "summary" option is the default and behaves
1692 just as "notmuch search" has historically behaved.
1694 The new option values allow for thread IDs, message IDs, lists of
1695 tags, and lists of filenames to be returned from searches. It is
1696 expected that this new option will be very useful in shell
1697 scripts. For example:
1699 for file in $(notmuch search --output=files <search-terms>); do
1700 <operations-on> "$file"
1703 `notmuch show --format=mbox <search-specification>`
1705 This new option allows for the messages matching a search
1706 specification to be presented as an mbox. Specifically the "mboxrd"
1707 format is used which allows for reversible quoting of lines
1708 beginning with "From ". A reader should remove a single '>' from the
1709 beginning of all lines beginning with one or more '>' characters
1710 followed by the 5 characters "From ".
1712 `notmuch config [get|set] <section>.<item> [value ...]`
1714 The new top-level "config" command allows for any value in the
1715 notmuch configuration file to be queried or set to a new value. Both
1716 single-valued and multi-valued items are supported, as our any
1717 custom items stored in the configuration file.
1719 Avoid setting Bcc header in "notmuch reply"
1721 We decided that this was a bit heavy-handed as the actual mail
1722 user-agent should be responsible for setting any Bcc option. Also,
1723 see below for the notmuch/emacs user-agent now setting an Fcc by
1724 default rather than Bcc.
1726 New library features
1727 --------------------
1729 Add `notmuch_query_get_query_string` and `notmuch_query_get_sort`
1731 These are simply functions for querying properties of a
1732 `notmuch_query_t` object.
1737 Enable Fcc of all sent messages by default (to "sent" directory)
1739 All messages sent from the emacs interface will now be saved to the
1740 notmuch mail store where they will be incorporated to the database
1741 by the next "notmuch new". By default, messages are saved to the
1742 "sent" directory at the top-level of the mail store. This directory
1743 can be customized by means of the "Notmuch Fcc Dirs" option in the
1744 notmuch customize interface.
1746 Ability to all open messages in a thread to a pipe
1748 Historically, the '|' keybinding allows for piping a single message
1749 to an external command. Now, by prefixing this key with a prefix
1750 argument, (for example, by pressing "Control-U |"), all open
1751 messages in the current thread will be sent to the external command.
1753 Optional support for detecting inline patches
1755 This hook is disabled by default but can be enabled with a checkbox
1756 under "Notmuch Show Insert Text/Plain Hook" in the notmuch customize
1757 interface. It allows for inline patches to be detected and treated
1758 as if they were attachments, (with context-sensitive highlighting).
1760 Automatically tag messages as "replied" when sending a reply
1762 Messages replied to within the emacs interface will now be tagged as
1763 "replied". This feature can easily be customized to add or remove
1764 other tags as well. For example, a user might use a tag of
1765 "needs-reply" and can configure this feature to automatically remove
1766 that tag when replying. See "Notmuch Message Mark Replied" in the
1767 notmuch customize interface.
1769 Allow search-result color specifications to overlay each other
1771 For example, one tag can specify the background color of matching
1772 lines, while another can specify the foreground. With this change,
1773 both settings will now be visible simultaneously, (which was not the
1774 case in previous releases). See "Notmuch Search Line Faces" in the
1775 notmuch customize interface.
1777 Make hidden author names still available for incremental search
1779 When there is insufficient space to display all authors of a thread
1780 in search results, the names of hidden authors are now still made
1781 available to emacs' incremental search commands. As the user
1782 searches, matching lines will temporarily expand to show the hidden
1785 New binding of Control-TAB (works like TAB in reverse)
1787 Many notmuch nodes already use TAB to navigate forward through
1788 various items allowing actions, (message headers, email attachments,
1789 etc.). The new Control-TAB binding operates similarly but in the
1792 New build-system features
1793 -------------------------
1795 Various portability fixes have been applied
1797 These include fixes for build failures on at least Solaris, FreeBSD,
1798 and Fedora systems. We're hopeful that the notmuch code base is now
1799 more portable than ever before.
1801 Arrange for libnotmuch to be found automatically after make install
1803 The notmuch build system is now careful to help the user avoid
1804 errors of the form "libnotmuch.so could not be found" immediately
1805 after installing. This support takes two forms:
1807 1. If the library is installed to a system directory,
1808 (configured in /etc/ld.so.conf), then "make install" will
1809 automatically run ldconfig.
1811 2. If the library is installed to a non-system directory, the
1812 build system adds a `DR_RUNPATH` entry to the final binary
1813 pointing to the directory to which the library is installed.
1815 When this support works, the user should be able to run notmuch
1816 immediately after "make install", without any errors trying to find
1817 the notmuch library, and without having to manually set environment
1818 variables such as `LD_LIBRARY_PATH`.
1820 Check compiler/linker options before using them
1822 The configure script now carefully checks that any desired
1823 compilation options, (whether for enabling compiler warnings, or for
1824 embedding rpath, etc.), are supported. Only supported options are
1825 used in the resulting Makefile.
1827 New test-suite features
1828 -----------------------
1830 New modularization of test suite
1832 Thanks to a gracious relicensing of the test-suite infrastructure
1833 from the git project, notmuch now has a modular test suite. This
1834 provides the ability to run individual sections of the test suite
1835 rather than the whole things. It also provides better summary of
1836 test results, with support for tests that are expected to fail
1837 (BROKEN and FIXED) in addition to PASS and FAIL. Finally, it makes
1838 it easy to run the test suite within valgrind (pass --valgrind to
1839 notmuch-test or to any sub-script) which has been very useful.
1841 New testing of emacs interface
1843 The test suite has been augmented to allow automated testing of the
1844 emacs interfaces. So far, this includes basic searches, display of
1845 threads, and tag manipulation. This also includes a test that a new
1846 message can successfully be sent out through a (dummy) SMTP server
1847 and that said message is successfully integrated into the notmuch
1848 database via the FCC setting.
1853 Fix potential corruption of database when "notmuch new" is interrupted
1855 Previously, an interruption of "notmuch new" would (rarely) result
1856 in a corrupt database. The corruption would manifest itself by a
1857 persistent error of the form:
1859 document ID of 1234 has no thread ID
1861 The message-adding code has been carefully audited and reworked to
1862 avoid this sort of corruption regardless of when it is interrupted.
1864 Fix failure with extremely long message ID headers
1866 Previously, a message with an extremely long message ID, (say, more
1867 than 300 characters), would fail to be added to notmuch, (triggering
1868 Xapian exceptions). This has now been fixed.
1870 Fix for messages with "charset=unknown-8bit"
1872 Previously, messages with this charset would cause notmuch to emit a
1873 GMime warning, (which would then trip up emacs or other interfaces
1874 parsing the notmuch results).
1876 Fix `notmuch_query_search_threads` function to return NULL on any exception
1878 Fix "notmuch search" to return non-zero if `notmuch_query_search_threads`
1881 Previously, this command could confusingly report a Xapian
1882 exception, yet still return an error code of 0. It now correctly
1883 returns a failing error code of 1 in this case.
1888 Fix to handle a message with a subject containing, for example "[1234]"
1890 Previously, a message subject containing a sequence of digits within
1891 square brackets would cause the emacs interface to mis-parse the
1892 output of "notmuch search". This would result in the message being
1893 mis-displayed and prevent the user from manipulating the message in
1894 the emacs interface.
1896 Fix to correctly handle message IDs containing ".."
1898 The emacs interface now properly quotes message IDs to avoid a
1899 Xapian bug in which the ".." within a message ID would be
1900 misinterpreted as a numeric range specification.
1902 Python-binding fixes
1903 --------------------
1905 The python bindings for notmuch have been updated to work with python3.
1907 Debian-specific fixes
1908 ---------------------
1910 Fix emacs initialization so "M-x notmuch" works for users by default
1912 Now, a new Debian user can immediately run "emacs -f notmuch" after
1913 "apt-get install notmuch". Previously, the user would have had to
1914 edit the ~/.emacs file to add "(require 'notmuch)" before this would
1917 Notmuch 0.3.1 (2010-04-27)
1918 ==========================
1923 Fix an infinite loop in "notmuch reply"
1925 This bug could be triggered by replying to a message where the
1926 user's primary email address did not appear in the To: header and
1927 the user had not configured any secondary email addresses. The bug
1928 was a simple re-use of the same iterator variable in nested loops.
1930 Fix a potential SEGV in "notmuch search"
1932 This bug could be triggered by an author name ending in a ','.
1933 Admittedly - that's almost certainly a spam email, but we never
1934 want notmuch to crash.
1939 Fix calculations for line wrapping in the primary "notmuch" view
1941 Fix Fcc support to prompt to create a directory if the specified Fcc
1942 directory does not exist
1947 Fix build on OpenSolaris (at least) due to missing 'extern "C"' block
1949 Without this, the C++ sources could not find strcasestr and the
1950 final linking of notmuch would fail.
1952 Notmuch 0.3 (2010-04-27)
1953 ========================
1955 New command-line features
1956 -------------------------
1958 User-configurable tags for new messages
1960 A new "new.tags" option is available in the configuration file to
1961 determine which tags are applied to new messages. Run "notmuch
1962 setup" to generate new documentation within ~/.notmuch-config on how
1963 to specify this value.
1965 Threads search results named based on subjects that match search
1967 This means that when new mails arrived to a thread you've previously
1968 read, and the new mails have a new subject, you will see that
1969 subject in the search results rather than the old subject.
1971 Faster operation of "notmuch tag" (avoid unneeded sorting)
1973 Since the user just wants to tag all matching messages, we can make
1974 things perform a bit faster by avoiding the sort.
1976 Even Better guessing of From: header for "notmuch reply"
1978 Notmuch now looks at a number of headers when trying to figure out
1979 the best From: header to use in a reply. This is helpful if you have
1980 several configured email addresses, and you also subscribe to various
1981 mailing lists with different addresses, (so that mails you are
1982 replying to won't always include your subscribed address in the To:
1985 Indication of author names that match a search
1987 When notmuch displays threads as the result of a search, it now
1988 lists the authors that match the search before listing the other
1989 authors in the thread. It inserts a pipe '|' symbol between the last
1990 matching and first non-matching author. This is especially useful in
1991 a search that includes tag:unread. Now the authors of the unread
1992 messages in the thread are listed first.
1994 New: Python bindings
1995 --------------------
1997 Sebastian Spaeth has contributed his python bindings for the notmuch
1998 library to the central repository. These bindings were previously
1999 known as "cnotmuch" within python but have now been renamed to be
2000 accessible with a simple, and more official-looking "import notmuch".
2002 The bindings have already proven very useful as people proficient in
2003 python have been able to easily develop programs to do notmuch-based
2004 searches for email-address completion, maildir-flag synchronization,
2007 These bindings are available within the bindings/python directory, but
2008 are not yet integrated into the top-level Makefiles, nor the top-level
2009 package-building scripts. Improvements are welcome.
2011 Emacs interface improvements
2012 ----------------------------
2014 An entirely new initial view for notmuch, (friendly yet powerful)
2016 Some of us call the new view "notmuch hello" but you can get at it
2017 by simply calling "emacs -f notmuch". The new view provides a search
2018 bar where new searches can be performed. It also displays a list of
2019 recent searches, along with a button to save any of these, giving it
2020 a new name as a "saved search". Many people find these "saved
2021 searches" one of the most convenient ways of organizing their mail,
2022 (providing all of the features of "folders" in other mail clients,
2023 but without any of the disadvantages).
2025 Finally, this view can also optionally display all of the tags that
2026 exist in the database, along with a count for each tag, and a custom
2027 search of messages with that tag that's simply a click (or keypress)
2030 NOTE: For users that liked the original mode of "emacs -f notmuch"
2031 immediately displaying a particular search result, we recommend
2032 instead running something like:
2034 emacs --eval '(notmuch search "tag:inbox" t)'
2036 The "t" means to sort the messages in an "oldest first" order,
2037 (as notmuch would do previously by default). You can also
2038 leave that off to have your search results in "newest first"
2041 Full-featured "customize" support for configuring notmuch
2043 Notmuch now plugs in well to the emacs "customize" mode to make it
2044 much simpler to find things about the notmuch interface that can be
2045 tweaked by the user.
2047 You can get to this mode by starting at the main "Customize" menu in
2048 emacs, then browsing through "Applications", "Mail", and
2049 "Notmuch". Or you can go straight to "M-x customize-group"
2052 Once you're at the customize screen, you'll see a list of documented
2053 options that can be manipulated along with checkboxes, drop-down
2054 selectors, and text-entry boxes for configuring the various
2057 Support for doing tab-completion of email addresses
2059 This support currently relies on an external program,
2060 (notmuch-addresses), that is not yet shipped with notmuch
2061 itself. But multiple, suitable implementations of this program have
2062 already been written that generate address completions by doing
2063 notmuch searches of your email collection. For example, providing
2064 first those addresses that you have composed messages to in the
2067 One such program (implemented in python with the python bindings to
2068 notmuch) is available via:
2070 git clone http://jkr.acm.jhu.edu/git/notmuch_addresses.git
2072 Install that program as notmuch-addresses on your PATH, and then
2073 hitting TAB on a partial email address or name within the To: or Cc:
2074 line of an email message will provide matching completions.
2076 Support for file-based (Fcc) delivery of sent messages to mail store
2078 This isn't yet enabled by default. To enable this, one will have to
2079 set the "Notmuch Fcc Dirs" setting within the notmuch customize
2080 screen, (see its documentation there for details). We anticipate
2081 making this automatic in a future release.
2083 New 'G' key binding to trigger mail refresh (G == "Get new mail")
2085 The 'G' key works wherever '=' works. Before refreshing the screen
2086 it calls an external program that can be used to poll email servers,
2087 run notmuch new and setup specific tags for the new emails. The
2088 script to be called should be configured with the "Notmuch Poll
2089 Script" setting in the customize interface. This script will
2090 typically invoke "notmuch new" and then perhaps several "notmuch
2093 Implement emacs message display with the JSON output from notmuch
2095 This is much more robust than the previous implementation, (where
2096 some HTML mails and mail quoting the notmuch code with the delimiter
2097 characters in it would cause the parser to fall over).
2099 Better handling of HTML messages and MIME attachments (inline images!)
2101 Allow for any MIME parts that emacs can display to be displayed
2102 inline. This includes inline viewing of image attachments, (provided
2103 the window is large enough to fit the image at its natural size).
2105 Much more robust handling of HTML messages. Currently both text/plain
2106 and text/html alternates will be rendered next to each other. In a
2107 future release, users will be able to decide to see only one or the
2108 other representation.
2110 Each attachment now has its own button so that attachments can be
2111 saved individually (the 'w' key is still available to save all
2114 Customizable support for tidying of text/plain message content
2116 Many new functions are available for tidying up message
2117 content. These include options such as wrapping long lines,
2118 compressing duplicate blank lines, etc.
2120 Most of these are disabled by default, but can easily be enabled by
2121 clicking the available check boxes under the "Notmuch Show Insert
2122 Text/Plain Hook" within the notmuch customize screen.
2124 New support for searchable citations (even when hidden)
2126 When portions of overly-long citations are hidden, the contents of
2127 these citations will still be available for emacs' standard
2128 "incremental search" functions. When the search matches any portion
2129 of a hidden citation, the citation will become visible temporarily
2130 to display the search result.
2132 More flexible handling of header visibility
2134 As an answer to complaints from many users, the To, Cc, and Date
2135 headers of messages are no longer hidden by default. For those users
2136 that liked that these were hidden, a new "Notmuch Messages Headers
2137 Visible" option in the customize interface can be set to nil. The
2138 visibility of headers can still be toggled on a per-message basis
2139 with the 'h' keybinding.
2141 For users that don't want to see some subset of those headers, the
2142 new "Notmuch Message Headers" variable can be customized to list
2143 only those headers that should be present in the display of a message.
2145 The Return key now toggles message visibility anywhere
2147 Previously this worked only on the first summary-line of a message.
2149 Customizable formatting of search results
2151 The user can easily customize the order, width, and formatting of
2152 the various fields in a "notmuch search" buffer. See the "Notmuch
2153 Search Result Format" section of the customize interface.
2155 Generate nicer names for search buffers when using a saved search
2157 Add a notmuch User-Agent header when sending mail from notmuch/emacs
2159 New keybinding (M-Ret) to open all collapsed messages in a thread
2164 Provide a new `NOTMUCH_SORT_UNSORTED` value for queries
2166 This can be somewhat faster when sorting simply isn't desired. For
2167 example when collecting a set of messages that will all be
2168 manipulated identically, (adding a tag, removing a tag, deleting the
2169 messages), then there's no advantage to sorting the messages by
2175 Fix to compile against GMime 2.6
2177 Previously notmuch insisted on being able to find GMime 2.4, (even
2178 though GMime 2.6 would have worked all along).
2180 Fix configure script to accept (and ignore) various standard options
2182 For example, those that the Gentoo build scripts expect configure to
2183 accept are now all accepted.
2188 A large number of new tests for the many new features
2190 Better display of output from failed tests
2192 Now shows failures with diff rather than forcing the user to gaze at
2193 complete actual and expected output looking for deviation.
2195 Notmuch 0.2 (2010-04-16)
2196 ========================
2198 This is the second release of the notmuch mail system, with actual
2199 detailed release notes this time!
2201 This release consists of a number of minor new features that make
2202 notmuch more pleasant to use, and a few fairly major bug fixes.
2204 We didn't quite hit our release target of "about a week" from the 0.1
2205 release, (0.2 is happening 11 days after 0.1), but we hope to do
2206 better for next week. Look forward to some major features coming to
2207 notmuch in subsequent releases.
2214 Better guessing of From: header
2216 Notmuch now tries harder to guess which configured address should be
2217 used as the From: line in a "notmuch reply". It will examine the
2218 Received: headers if it fails to find any configured address in To:
2219 or Cc:. This allows it to often choose the correct address even when
2220 replying to a message sent to a mailing list, and not directly to a
2223 Make "notmuch count" with no arguments count all messages
2225 Previously, it was hard to construct a search term that was
2226 guaranteed to match all messages.
2228 Provide a new special-case search term of "*" to match all messages
2230 This can be used in any command accepting a search term, such as
2231 "notmuch search '*'". Note that you'll want to take care that the
2232 shell doesn't expand * against the current files. And note that the
2233 support for "*" is a special case. It's only meaningful as a single
2234 search term and loses its special meaning when combined with any
2237 Automatically detect thread connections even when a parent message is
2240 Previously, if two or more message were received with a common
2241 parent, but that parent was not received, then these messages would
2242 not be recognized as belonging to the same thread. This is now fixed
2243 so that such messages are properly connected in a thread.
2248 Fix potential data loss in "notmuch new" with SIGINT
2250 One code path in "notmuch new" was not properly handling
2251 SIGINT. Previously, this could lead to messages being removed from
2252 the database (and their tags being lost) if the user pressed
2253 Control-C while "notmuch new" was working.
2255 Fix segfault when a message includes a MIME part that is empty
2257 Fix handling of non-ASCII characters with --format=json
2259 Previously, characters outside the range of 7-bit ASCII were
2260 silently dropped from the JSON output. This led to corrupted display
2261 of utf-8 content in the upcoming notmuch web-based frontends.
2263 Fix headers to be properly decoded in "notmuch reply"
2265 Previously, the user might see:
2267 Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?=
2271 Subject: Re: Rozlučka
2273 The former text is properly encoded to be RFC-compliant SMTP, will
2274 be sent correctly, and will be properly decoded by the
2275 recipient. But the user trying to edit the reply would likely be
2276 unable to read or edit that field in its encoded form.
2278 Emacs client features
2279 ---------------------
2281 Show the last few lines of citations as well as the first few lines
2283 It's often the case that the last sentence of a citation is what is
2284 being replied to directly, so the last few lines are often much more
2285 important. The number of lines shown at the beginning and end of any
2286 citation can be configured, (notmuch-show-citation-lines-prefix and
2287 notmuch-show-citation-lines-suffix).
2289 The '+' and '-' commands in the search view can now add and remove
2292 Selective bulk tagging is now possible by selecting a region of
2293 threads and then using either the '+' or '-' keybindings. Bulk
2294 tagging is still available for all threads matching the current
2295 search with the '*' binding.
2297 More meaningful buffer names for thread-view buffers
2299 Notmuch now uses the Subject of the thread as the buffer
2300 name. Previously it was using the thread ID, which is a meaningless
2303 Provide for customized colors of threads in search view based on tags
2305 See the documentation of notmuch-search-line-faces, (or us "M-x
2306 customize" and browse to the "notmuch" group within "Applications"
2307 and "Mail"), for details on how to configure this colorization.
2309 Build-system features
2310 ---------------------
2312 Add support to properly build libnotmuch on Darwin systems (OS X)
2314 Add support to configure for many standard options
2316 We include actual support for:
2318 --includedir --mandir --sysconfdir
2320 And accept and silently ignore several more:
2322 --build --infodir --libexecdir --localstatedir
2323 --disable-maintainer-mode --disable-dependency-tracking
2325 Install emacs client in "make install" rather than requiring a
2326 separate "make install-emacs"
2328 Automatically compute versions numbers between releases
2330 This support uses the git-describe notation, so a version such as
2331 0.1-144-g43cbbfc indicates a version that is 144 commits since the
2332 0.1 release and is available as git commit "43cbbfc".
2334 Add a new "make test" target to run the test suite and actually
2337 Notmuch 0.1 (2010-04-05)
2338 ========================
2340 This is the first release of the notmuch mail system.
2342 It includes the libnotmuch library, the notmuch command-line
2343 interface, and an emacs-based interface to notmuch.
2345 Note: Notmuch will work best with Xapian 1.0.18 (or later) or Xapian
2346 1.1.4 (or later). Previous versions of Xapian (whether 1.0 or 1.1) had
2347 a performance bug that made notmuch very slow when modifying
2348 tags. This would cause distracting pauses when reading mail while
2349 notmuch would wait for Xapian when removing the "inbox" and "unread"
2350 tags from messages in a thread.
2357 indent-tabs-mode: nil