1 [[!meta date="2010-11-11"]]
3 Notmuch 0.5 (2010-11-11)
4 ========================
7 Maildir-flag synchronization
9 Notmuch now knows how to synchronize flags in maildir filenames with
10 tags in the notmuch database. The following flag/tag mappings are
19 'S' unread (added when 'S' flag is not present)
21 The synchronization occurs in both directions, (for example, adding
22 the 'S' flag to a file will cause the "unread" tag to be added, and
23 adding the "replied" tag to a message will cause the file to be
24 renamed with an 'R' flag).
26 This synchronization is enabled by default for users of the
27 command-line interface, (though only files in directories named
28 "cur" or "new" will be renamed). It can be disabled by setting the
29 new maildir.synchronize_flags option in the configuration file. For
32 notmuch config set maildir.synchronize_flags false
34 Users upgrading may also want to run "notmuch setup" once (just
35 accept the existing configuration) to get a new, nicely-commented
36 [maildir] section added to the configuration file.
38 For users of the notmuch library, the new synchronization
39 functionality is available with the following two new functions:
41 notmuch_message_maildir_flags_to_tags
42 notmuch_message_tags_to_maildir_flags
44 It is anticipated that future improvements to this support will
45 allow for safe synchronization of the 'T' flag with the "deleted"
46 tag, as well as support for custom flag/tag mappings.
50 Support for querying multiple filenames for a single message
52 It is common for the mailstore to contain multiple files with the
53 same message ID. Previously, notmuch would always hide these
54 duplicate files, (returning a single, arbitrary filename with
55 notmuch_message_get_filename).
57 With this release, library users can access all filenames for a
58 message with the new function:
60 notmuch_message_get_filenames
62 Together with notmuch_filenames_valid, notmuch_filenames_get, and
63 notmuch_filenames_move_to_next it is now possible to iterate over
64 all available filenames for a given message.
66 New command-line features
67 -------------------------
68 New "notmuch show --format=raw" for getting at original email contents
70 This new feature allows for a fully-functional email client to be
71 built on top of the notmuch command-line without needing any direct
72 access to the mail store itself.
74 For example, it's now possible to run "emacs -f notmuch" on a local
75 machine with only ssh access to the mail store/notmuch database. To
76 do this, simply set the notmuch-command variable in emacs to the
77 name of a script containing:
79 ssh user@host notmuch "$@"
81 If the ssh client has enabled connection sharing (ControlMaster
82 option in OpenSSH), the emacs interface can be quite responsive this
87 Fix "notmuch search" to print nothing when nothing matches
89 The 0.4 release had a bug in which:
91 notmuch search <expression-with-no-matches>
93 would produce a single blank line of output, (where previous
94 versions would produce no output. This fix also causes a change in
95 the --format=json output, (which would previously produce "[]" and
96 now produces nothing).
98 Emacs interface improvements
99 ----------------------------
100 Fix to allow pipe ('|') command to work when using notmuch over ssh
102 Fix count of lines in hidden signatures.
104 Omit repeated subject lines in (collapsed) thread display.
106 Display current thread subject in a header line.
108 Provide a "c i" binding to copy a thread ID from the search view.
110 Allow for notmuch-fcc-dirs to have a value of nil.
112 Also, the more complex form of notmuch-fcc-dirs now has a slightly
113 different format. It no longer has a special first-element, fallback
114 string. Instead it's now a list of cons cells where the car of each
115 cell is a regular expression to be matched against the sender
116 address, and the cdr is the name of a folder to use for an FCC. So
117 the old fallback behavior can be achieved by including a final cell
118 of (".*" . "default-fcc-folder").
120 Vim interface improvements
121 --------------------------
122 Felipe Contreras provided a number of updates for the vim interface.
124 These include optimizations, support for newer versions of vim, fixed
125 support for sending mail on modern systems, new commands, and
130 Added initial ruby bindings in bindings/ruby