]> git.cworth.org Git - notmuch-wiki/blob - news/release-0.11.mdwn
no, headers cannot be split on multiple lines in source
[notmuch-wiki] / news / release-0.11.mdwn
1 [[!meta date="2012-01-13"]]
2
3 Notmuch 0.11 (2012-01-13)
4 =========================
5
6 Command-Line Interface
7 ----------------------
8
9 ### Hooks
10
11   Hooks have been introduced to notmuch. Hooks are scripts that notmuch
12   invokes before and after certain actions. Initially, `notmuch new`
13   supports `pre-new` and `post-new` hooks that are run before and after
14   importing new messages into the database.
15
16 ### `notmuch reply --decrypt bugfix`
17
18   The `notmuch reply` command with `--decrypt` argument had a rarely
19   occurring bug that caused an encrypted message not to be decrypted
20   sometimes. This is now fixed.
21
22 Performance
23 -----------
24
25 ### Automatic tag query optimization
26
27   `notmuch tag` now automatically optimizes the user's query to
28   exclude messages whose tags won't change.  In the past, we've
29   suggested that people do this by hand; this is no longer necessary.
30
31 ### Don't sort messages when creating a dump file
32
33   This speeds up tag dumps considerably, without any loss of
34   information. To replicate the old behavior of sorted output (for
35   example to compare two dump files), one can use e.g. `sort(1)`.
36
37 Memory Management
38 -----------------
39
40 ### Reduction of memory leaks
41
42   Two memory leaks when searching and showing messages were identified
43   and fixed in this release.
44
45 Emacs Interface
46 ---------------
47
48 ### Bug fixes
49
50   notmuch-show-advance (bound to the spacebar in notmuch-show-mode) had
51   a bug that caused it to always jump to the next message, even if it
52   should have scrolled down to show more of the current message instead.
53   This is now fixed.
54
55 ### Support `notmuch new` as a notmuch-poll-script
56
57   It's now possible to use `notmuch new` as a notmuch-poll-script
58   directly. This is also the new default. This allows taking better
59   advantage of the `notmuch new` hooks from emacs without intermediate
60   scripts.
61
62 ### Improvements in saved search management
63
64   New saved searches are now appended to the list of saved searches,
65   not inserted in front. It's also possible to define a sort function
66   for displaying saved searches; alphabetical sort is provided.
67
68 ### Hooks for notmuch-hello
69
70   Two new hooks have been added: "notmuch-hello-mode-hook" (called after
71   entering notmuch-hello-mode) and "notmuch-hello-refresh-hook" (called
72   after updating a notmuch-hello buffer).
73
74 ### New face for crypto parts headers
75
76   Crypto parts used to be displayed with a hardcoded color. A new face
77   has been introduced to fix this: notmuch-crypto-part-header. It
78   defaults to the same value as before, but can be customized to match
79   other color themes.
80
81 ### Use space as default thousands separator
82
83   Large numbers in notmuch-hello are now displayed using a space as
84   thousands separator (e.g. "123 456" instead of "123,456"). This can be
85   changed by customizing "notmuch-hello-thousands-separator".
86
87 ### Call notmuch-show instead of notmuch-search when clicking on buttonized id: links.
88
89 ### New function notmuch-show-advance
90
91   This new function advances through just the current thread, and is
92   less invasive than notmuch-show-advance-and-archive.  It can easily
93   be bound to SPC with:
94
95         (define-key notmuch-show-mode-map " " 'notmuch-show-advance)
96
97 ### Various performance improvements
98
99 New add-on tool
100 ---------------
101
102 The tool `contrib/notmuch-deliver` helps with initial delivery and
103 tagging of mail (replacing running `notmuch new`).