]> git.cworth.org Git - notmuch-wiki/blob - news/release-0.3.mdwn
add news entry for 0.3 release
[notmuch-wiki] / news / release-0.3.mdwn
1 Notmuch 0.3 (2010-04-27)
2 ========================
3 New command-line features
4 -------------------------
5 User-configurable tags for new messages
6
7   A new "new.tags" option is available in the configuration file to
8   determine which tags are applied to new messages. Run "notmuch
9   setup" to generate new documentation within ~/.notmuch-config on how
10   to specify this value.
11
12 Threads search results named based on subjects that match search
13
14   This means that when new mails arrived to a thread you've previously
15   read, and the new mails have a new subject, you will see that
16   subject in the search results rather than the old subject.
17
18 Faster operation of "notmuch tag" (avoid unneeded sorting)
19
20   Since the user just wants to tag all matching messages, we can make
21   things perform a bit faster by avoiding the sort.
22
23 Even Better guessing of From: header for "notmuch reply"
24
25   Notmuch now looks at a number of headers when trying to figure out
26   the best From: header to use in a reply. This is helpful if you have
27   several configured email addresses, and you also subscribe to various
28   mailing lists with different addresses, (so that mails you are
29   replying to won't always include your subscribed address in the To:
30   header).
31
32 Indication of author names that match a search
33
34   When notmuch displays threads as the result of a search, it now
35   lists the authors that match the search before listing the other
36   authors in the thread. It inserts a pipe '|' symbol between the last
37   matching and first non-matching author. This is especially useful in
38   a search that includes tag:unread. Now the authors of the unread
39   messages in the thread are listed first.
40
41 New: Python bindings
42 --------------------
43 Sebastian Spaeth has contributed his python bindings for the notmuch
44 library to the central repository. These bindings were previously
45 known as "cnotmuch" within python but have now been renamed to be
46 accessible with a simple, and more official-looking "import notmuch".
47
48 The bindings have already proven very useful as people proficient in
49 python have been able to easily develop programs to do notmuch-based
50 searches for email-address completion, maildir-flag synchronization,
51 and other tasks.
52
53 These bindings are available within the bindings/python directory, but
54 are not yet integrated into the top-level Makefiles, nor the top-level
55 package-building scripts. Improvements are welcome.
56
57 Emacs interface improvements
58 ----------------------------
59 An entirely new initial view for notmuch, (friendly yet powerful)
60
61   Some of us call the new view "notmuch hello" but you can get at it
62   by simply calling "emacs -f notmuch". The new view provides a search
63   bar where new searches can be performed. It also displays a list of
64   recent searches, along with a button to save any of these, giving it
65   a new name as a "saved search". Many people find these "saved
66   searches" one of the most convenient ways of organizing their mail,
67   (providing all of the features of "folders" in other mail clients,
68   but without any of the disadvantages).
69
70   Finally, this view can also optionally display all of the tags that
71   exist in the database, along with a count for each tag, and a custom
72   search of messages with that tag that's simply a click (or keypress)
73   away.
74
75   Note: For users that liked the original mode of "emacs -f notmuch"
76         immediately displaying a particular search result, we
77         recommend instead running something like:
78
79                 emacs --eval '(notmuch search "tag:inbox" t)'
80
81         The "t" means to sort the messages in an "oldest first" order,
82         (as notmuch would do previously by default). You can also
83         leave that off to have your search results in "newest first"
84         order.
85
86 Full-featured "customize" support for configuring notmuch
87
88   Notmuch now plugs in well to the emacs "customize" mode to make it
89   much simpler to find things about the notmuch interface that can be
90   tweaked by the user.
91
92   You can get to this mode by starting at the main "Customize" menu in
93   emacs, then browsing through "Applications", "Mail", and
94   "Notmuch". Or you can go straight to "M-x customize-group"
95   "notmuch".
96
97   Once you're at the customize screen, you'll see a list of documented
98   options that can be manipulated along with checkboxes, drop-down
99   selectors, and text-entry boxes for configuring the various
100   settings.
101
102 Support for doing tab-completion of email addresses
103
104   This support currently relies on an external program,
105   (notmuch-addresses), that is not yet shipped with notmuch
106   itself. But multiple, suitable implementations of this program have
107   already been written that generate address completions by doing
108   notmuch searches of your email collection. For example, providing
109   first those addresses that you have composed messages to in the
110   past, etc.
111
112   One such program (implemented in python with the python bindings to
113   notmuch) is available via:
114
115         git clone  http://jkr.acm.jhu.edu/git/notmuch_addresses.git
116
117   Install that program as notmuch-addresses on your PATH, and then
118   hitting TAB on a partial email address or name within the To: or Cc:
119   line of an email message will provide matching completions.
120
121 Support for file-based (Fcc) delivery of sent messages to mail store
122
123   This isn't yet enabled by default. To enable this, one will have to
124   set the "Notmuch Fcc Dirs" setting within the notmuch customize
125   screen, (see its documentation there for details). We anticipate
126   making this automatic in a future release.
127
128 New 'G' key binding to trigger mail refresh (G == "Get new mail")
129
130   The 'G' key works wherever '=' works. Before refreshing the screen
131   it calls an external program that can be used to poll email servers,
132   run notmuch new and setup specific tags for the new emails. The
133   script to be called should be configured with the "Notmuch Poll
134   Script" setting in the customize interface. This script will
135   typically invoke "notmuch new" and then perhaps several "notmuch
136   tag" commands.
137
138 Implement emacs message display with the JSON output from notmuch.
139
140   This is much more robust than the previous implementation, (where
141   some HTML mails and mail quoting the notmuch code with the delimiter
142   characters in it would cause the parser to fall over).
143
144 Better handling of HTML messages and MIME attachments (inline images!)
145
146   Allow for any MIME parts that emacs can display to be displayed
147   inline. This includes inline viewing of image attachments, (provided
148   the window is large enough to fit the image at its natural size).
149
150   Much more robust handling of HTML messages. Currently both text/plain
151   and text/html alternates will be rendered next to each other. In a
152   future release, users will be able to decide to see only one or the
153   other representation.
154
155   Each attachment now has its own button so that attachments can be
156   saved individually (the 'w' key is still available to save all
157   attachments).
158
159 Customizable support for tidying of text/plain message content
160
161   Many new functions are available for tidying up message
162   content. These include options such as wrapping long lines,
163   compressing duplicate blank lines, etc.
164
165   Most of these are disabled by default, but can easily be enabled by
166   clicking the available check boxes under the "Notmuch Show Insert
167   Text/Plain Hook" within the notmuch customize screen.
168
169 New support for searchable citations (even when hidden)
170
171   When portions of overly-long citations are hidden, the contents of
172   these citations will still be available for emacs' standard
173   "incremental search" functions. When the search matches any portion
174   of a hidden citation, the citation will become visible temporarily
175   to display the search result.
176
177 More flexible handling of header visibility
178
179   As an answer to complaints from many users, the To, Cc, and Date
180   headers of messages are no longer hidden by default. For those users
181   that liked that these were hidden, a new "Notmuch Messages Headers
182   Visible" option in the customize interface can be set to nil. The
183   visibility of headers can still be toggled on a per-message basis
184   with the 'h' keybinding.
185
186   For users that don't want to see some subset of those headers, the
187   new "Notmuch Message Headers" variable can be customized to list
188   only those headers that should be present in the display of a message.
189
190 The Return key now toggles message visibility anywhere
191
192   Previously this worked only on the first summary-line of a message.
193
194 Customizable formatting of search results
195
196   The user can easily customize the order, width, and formatting of
197   the various fields in a "notmuch search" buffer. See the "Notmuch
198   Search Result Format" section of the customize interface.
199
200 Generate nicer names for search buffers when using a saved search.
201
202 Add a notmuch User-Agent header when sending mail from notmuch/emacs.
203
204 New keybinding (M-Ret) to open all collapsed messages in a thread.
205
206 New library feature
207 -------------------
208 Provide a new NOTMUCH_SORT_UNSORTED value for queries
209
210   This can be somewhat faster when sorting simply isn't desired. For
211   example when collecting a set of messages that will all be
212   manipulated identically, (adding a tag, removing a tag, deleting the
213   messages), then there's no advantage to sorting the messages by
214   date.
215
216 Build fixes
217 -----------
218 Fix to compile against GMime 2.6
219
220   Previously notmuch insisted on being able to find GMime 2.4, (even
221   though GMime 2.6 would have worked all along).
222
223 Fix configure script to accept (and ignore) various standard options.
224
225   For example, those that the Gentoo build scripts expect configure to
226   accept are now all accepted.
227
228 Test suite
229 ----------
230 A large number of new tests for the many new features.
231
232 Better display of output from failed tests.
233
234   Now shows failures with diff rather than forcing the user to gaze at
235   complete actual and expected output looking for deviation.