Merge branch 'release'

Conflicts:
	notmuch-reply.c
	notmuch.1
This commit is contained in:
David Bremner 2012-01-13 20:52:01 -04:00
commit 0bbfc5ce8b
6 changed files with 121 additions and 11 deletions

87
NEWS
View file

@ -1,8 +1,8 @@
Notmuch 0.11 (201x-xx-xx)
Notmuch 0.11 (2012-01-13)
=========================
New command-line features
-------------------------
Command-Line Interface
----------------------
Hooks
@ -11,6 +11,12 @@ Hooks
supports "pre-new" and "post-new" hooks that are run before and after
importing new messages into the database.
notmuch reply --decrypt bugfix
The "notmuch reply" command with --decrypt argument had a rarely
occurring bug that caused an encrypted message not to be decrypted
sometimes. This is now fixed.
Performance
-----------
@ -20,6 +26,81 @@ Automatic tag query optimization
exclude messages whose tags won't change. In the past, we've
suggested that people do this by hand; this is no longer necessary.
Don't sort messages when creating a dump file
This speeds up tag dumps considerably, without any loss of
information. To replicate the old behavior of sorted output (for
example to compare two dump files), one can use e.g. sort(1).
Memory Management
-----------------
Reduction of memory leaks
Two memory leaks when searching and showing messages were identified
and fixed in this release.
Emacs Interface
---------------
Bug fixes
notmuch-show-advance (bound to the spacebar in notmuch-show-mode) had
a bug that caused it to always jump to the next message, even if it
should have scrolled down to show more of the current message instead.
This is now fixed.
Support "notmuch new" as a notmuch-poll-script
It's now possible to use "notmuch new" as a notmuch-poll-script
directly. This is also the new default. This allows taking better
advantage of the "notmuch new" hooks from emacs without intermediate
scripts.
Improvements in saved search management
New saved searches are now appended to the list of saved searches,
not inserted in front. It's also possible to define a sort function
for displaying saved searches; alphabetical sort is provided.
Hooks for notmuch-hello
Two new hooks have been added: "notmuch-hello-mode-hook" (called after
entering notmuch-hello-mode) and "notmuch-hello-refresh-hook" (called
after updating a notmuch-hello buffer).
New face for crypto parts headers
Crypto parts used to be displayed with a hardcoded color. A new face
has been introduced to fix this: notmuch-crypto-part-header. It
defaults to the same value as before, but can be customized to match
other color themes.
Use space as default thousands separator
Large numbers in notmuch-hello are now displayed using a space as
thousands separator (e.g. "123 456" instead of "123,456"). This can be
changed by customizing "notmuch-hello-thousands-separator".
Call notmuch-show instead of notmuch-search when clicking on
buttonized id: links.
New function notmuch-show-advance
This new function advances through just the current thread, and is
less invasive than notmuch-show-advance-and-archive. It can easily
be bound to SPC with:
(define-key notmuch-show-mode-map " " 'notmuch-show-advance)
Various performance improvements.
New add-on tool
---------------
The tool contrib/notmuch-deliver helps with initial delivery and
tagging of mail (replacing running notmuch new).
Notmuch 0.10.2 (2011-12-04)
===========================

View file

@ -1,2 +1,2 @@
# this file should be kept in sync with ../../../version
__VERSION__ = '0.10.2'
__VERSION__ = '0.11'

29
debian/changelog vendored
View file

@ -1,3 +1,32 @@
notmuch (0.11-1) unstable; urgency=low
* New upstream release.
- New 'hook' feature for notmuch-new
- performance and memory use improvements
- new add-on tool notmuch-deliver
-- David Bremner <bremner@debian.org> Fri, 13 Jan 2012 19:59:23 -0400
notmuch (0.11~rc3-1) experimental; urgency=low
* New upstream release candidate
- Fix for uninitialized variable(s) in notmuch-reply
-- David Bremner <bremner@debian.org> Mon, 09 Jan 2012 07:07:46 -0400
notmuch (0.11~rc2-1) experimental; urgency=low
* New upstream release candidate.
- Includes fix for one python bindings segfault.
-- David Bremner <bremner@debian.org> Mon, 02 Jan 2012 06:57:29 -0400
notmuch (0.11~rc1-1) experimental; urgency=low
* New upstream release candidate.
-- David Bremner <bremner@debian.org> Sun, 25 Dec 2011 23:07:08 -0400
notmuch (0.10.2-1) unstable; urgency=low
* Upstream bug fix release

View file

@ -94,7 +94,7 @@ any given message."
:group 'notmuch
:type 'boolean)
(defcustom notmuch-indent-messages-width 1
(defcustom notmuch-show-indent-messages-width 1
"Width of message indentation in threads.
Messages are shown indented according to their depth in a thread.
@ -251,7 +251,7 @@ unchanged ADDRESS if parsing fails."
"Insert a notmuch style headerline based on HEADERS for a
message at DEPTH in the current thread."
(let ((start (point)))
(insert (notmuch-show-spaces-n (* notmuch-indent-messages-width depth))
(insert (notmuch-show-spaces-n (* notmuch-show-indent-messages-width depth))
(notmuch-show-clean-address (plist-get headers :From))
" ("
date
@ -746,7 +746,7 @@ current buffer, if possible."
(setq content-end (point-marker))
;; Indent according to the depth in the thread.
(indent-rigidly content-start content-end (* notmuch-indent-messages-width depth))
(indent-rigidly content-start content-end (* notmuch-show-indent-messages-width depth))
(setq message-end (point-max-marker))

View file

@ -52,21 +52,21 @@ test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage
test_begin_subtest "Basic notmuch-show view in emacs default indentation"
maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)
test_emacs "(let ((notmuch-indent-messages-width 1))
test_emacs "(let ((notmuch-show-indent-messages-width 1))
(notmuch-show \"$maildir_storage_thread\")
(test-output))"
test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage
test_begin_subtest "Basic notmuch-show view in emacs without indentation"
maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)
test_emacs "(let ((notmuch-indent-messages-width 0))
test_emacs "(let ((notmuch-show-indent-messages-width 0))
(notmuch-show \"$maildir_storage_thread\")
(test-output))"
test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage-without-indentation
test_begin_subtest "Basic notmuch-show view in emacs with fourfold indentation"
maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)
test_emacs "(let ((notmuch-indent-messages-width 4))
test_emacs "(let ((notmuch-show-indent-messages-width 4))
(notmuch-show \"$maildir_storage_thread\")
(test-output))"
test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage-with-fourfold-indentation

View file

@ -1 +1 @@
0.10.2
0.11