From: David Bremner Date: Sat, 14 Jan 2012 00:52:01 +0000 (-0400) Subject: Merge branch 'release' X-Git-Tag: debian/0.12_rc1-1~219 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=0bbfc5ce8be91b881d9542d86aceec7e6a716e86;hp=38546e4acba5593c6ad8b35712475abc27d3a4fd;p=obsolete%2Fnotmuch-old Merge branch 'release' Conflicts: notmuch-reply.c notmuch.1 --- diff --git a/NEWS b/NEWS index eaed960c..bf21e644 100644 --- a/NEWS +++ b/NEWS @@ -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) =========================== diff --git a/bindings/python/notmuch/version.py b/bindings/python/notmuch/version.py index fd414b0a..59c396fe 100644 --- a/bindings/python/notmuch/version.py +++ b/bindings/python/notmuch/version.py @@ -1,2 +1,2 @@ # this file should be kept in sync with ../../../version -__VERSION__ = '0.10.2' +__VERSION__ = '0.11' diff --git a/debian/changelog b/debian/changelog index 0bcade10..26fff874 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 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 Mon, 02 Jan 2012 06:57:29 -0400 + +notmuch (0.11~rc1-1) experimental; urgency=low + + * New upstream release candidate. + + -- David Bremner Sun, 25 Dec 2011 23:07:08 -0400 + notmuch (0.10.2-1) unstable; urgency=low * Upstream bug fix release diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 5502efd1..2806879e 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -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)) diff --git a/test/emacs b/test/emacs index a06c2238..ac47b161 100755 --- a/test/emacs +++ b/test/emacs @@ -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 diff --git a/version b/version index 5eef0f10..51176c7c 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.10.2 +0.11