]> git.cworth.org Git - notmuch-wiki/blob - news/release-0.5.mdwn
add date meta tags to new entries so that they sort chronologically
[notmuch-wiki] / news / release-0.5.mdwn
1 [[!meta date="2010-11-11]]
2
3 Notmuch 0.5 (2010-11-11)
4 ========================
5 New, general features
6 ---------------------
7 Maildir-flag synchronization
8
9   Notmuch now knows how to synchronize flags in maildir filenames with
10   tags in the notmuch database. The following flag/tag mappings are
11   supported:
12
13         Flag <-> Tag
14         ----     -----
15         'D'      draft
16         'F'      flagged
17         'P'      passed
18         'R'      replied
19         'S'      unread (added when 'S' flag is not present)
20
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).
25
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
30   example:
31
32         notmuch config set maildir.synchronize_flags false
33
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.
37
38   For users of the notmuch library, the new synchronization
39   functionality is available with the following two new functions:
40
41         notmuch_message_maildir_flags_to_tags
42         notmuch_message_tags_to_maildir_flags
43
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.
47
48 New library features
49 --------------------
50 Support for querying multiple filenames for a single message
51
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).
56
57   With this release, library users can access all filenames for a
58   message with the new function:
59
60         notmuch_message_get_filenames
61
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.
65
66 New command-line features
67 -------------------------
68 New "notmuch show --format=raw" for getting at original email contents
69
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.
73
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:
78
79         ssh user@host notmuch "$@"
80
81   If the ssh client has enabled connection sharing (ControlMaster
82   option in OpenSSH), the emacs interface can be quite responsive this
83   way.
84
85 General bug fixes
86 -----------------
87 Fix "notmuch search" to print nothing when nothing matches
88
89   The 0.4 release had a bug in which:
90
91         notmuch search <expression-with-no-matches>
92
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).
97
98 Emacs interface improvements
99 ----------------------------
100 Fix to allow pipe ('|') command to work when using notmuch over ssh
101
102 Fix count of lines in hidden signatures.
103
104 Omit repeated subject lines in (collapsed) thread display.
105
106 Display current thread subject in a header line.
107
108 Provide a "c i" binding to copy a thread ID from the search view.
109
110 Allow for notmuch-fcc-dirs to have a value of nil.
111
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").
119
120 Vim interface improvements
121 --------------------------
122 Felipe Contreras provided a number of updates for the vim interface.
123
124   These include optimizations, support for newer versions of vim, fixed
125   support for sending mail on modern systems, new commands, and
126   various cleanups.
127
128 New bindings
129 ------------
130 Added initial ruby bindings in bindings/ruby