From baa2c9721d850ea95857f44ba0b44147c80f7998 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sat, 14 Jan 2012 18:39:28 +0200 Subject: NEWS: add news items for reply to sender --- NEWS | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index bf21e64..1161c22 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,26 @@ +Notmuch 0.12 (2012-xx-xx) +========================= + +Command-Line Interface +---------------------- + +Reply to sender + + "notmuch reply" has gained the ability to create a reply template + for replying just to the sender of the message, in addition to reply + to all. The feature is available through the new command line option + --reply-to=(all|sender). + +Emacs Interface +--------------- + +Reply to sender + + The Emacs interface has, with the new CLI support, gained the + ability to reply to sender in addition to reply to all. In both show + and search modes, 'r' has been bound to reply to sender, replacing + reply to all, which now has key binding 'R'. + Notmuch 0.11 (2012-01-13) ========================= -- cgit v1.2.3 From d2df1eca1e661f4354517b5030489ea162719df8 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 17 Jan 2012 13:00:15 +0200 Subject: NEWS: consistent 2-space indentation In NEWS file, indentation for item descriptions is generally 2 spaces but in a few cases there were 3 or 4 (4 caused different markdown handling) space indentations. Indentation in those lines are brought to consistent 2-space indentation. --- NEWS | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 1161c22..1e561a9 100644 --- a/NEWS +++ b/NEWS @@ -133,8 +133,8 @@ Bug-fix release. Fix crash in python bindings. - The python bindings did not call g_type_init, which caused crashes - for some, but not all users. + The python bindings did not call g_type_init, which caused crashes + for some, but not all users. Notmuch 0.10.1 (2011-11-25) =========================== @@ -204,8 +204,8 @@ Add keybinding ('c I') for stashing Message-ID's without an id: prefix Do not query on notmuch-search exit - It is harmless to kill the external notmuch process, so the user - is no longer interrogated when they interrupt a search. + It is harmless to kill the external notmuch process, so the user + is no longer interrogated when they interrupt a search. Performance ----------- @@ -234,9 +234,9 @@ mailing list. nmbug - share tags with a given prefix - nmbug helps maintain a git repo containing all tags with a given - prefix (by default "notmuch::"). Tags can be shared by commiting - them to git in one location and restoring in another. + nmbug helps maintain a git repo containing all tags with a given + prefix (by default "notmuch::"). Tags can be shared by commiting + them to git in one location and restoring in another. Notmuch 0.9 (2011-10-01) ======================== @@ -621,7 +621,7 @@ Ruby bindings are now much more complete s1.union(s2) s2 -= s1 - Removed: + Removed: - len(Messages()) as it exhausted the iterator. Use len(list(Messages())) or Query.count_messages() to get the length. -- cgit v1.2.3 From ad6d0d5e12114815bcf6ba3499f94a5ff13809b4 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Wed, 18 Jan 2012 15:58:50 -0500 Subject: News for tag exclusion --- NEWS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 1e561a9..6afa912 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,13 @@ Reply to sender to all. The feature is available through the new command line option --reply-to=(all|sender). +Tag exclusion + + Tags can be automatically excluded from search results unless they + appear explicitly in a query. By default, notmuch excludes the tags + deleted and spam. This can be changed using the new config setting + search.auto_exclude_tags. + Emacs Interface --------------- @@ -21,6 +28,14 @@ Reply to sender and search modes, 'r' has been bound to reply to sender, replacing reply to all, which now has key binding 'R'. +Library changes +--------------- + +New functions + + notmuch_query_add_tag_exclude supports the new tag exclusion + feature. + Notmuch 0.11 (2012-01-13) ========================= -- cgit v1.2.3 From 6d0fcea4e4fcfb803822741bbed762d499f9a055 Mon Sep 17 00:00:00 2001 From: Thomas Jost Date: Fri, 20 Jan 2012 10:39:25 +0100 Subject: Update NEWS and INSTALL about gmime 2.6 --- INSTALL | 12 ++++++------ NEWS | 9 +++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'NEWS') diff --git a/INSTALL b/INSTALL index e51b397..bc98f1d 100644 --- a/INSTALL +++ b/INSTALL @@ -20,8 +20,8 @@ configure stage. Dependencies ------------ -Notmuch depends on three libraries: Xapian, GMime 2.4, and Talloc -which are each described below: +Notmuch depends on three libraries: Xapian, GMime 2.4 or 2.6, and +Talloc which are each described below: Xapian ------ @@ -39,14 +39,14 @@ which are each described below: reading mail while notmuch would wait for Xapian when removing the "inbox" and "unread" tags from messages in a thread. - GMime 2.4 - --------- - GMime 2.4 provides decoding of MIME email messages for Notmuch. + GMime 2.4 or 2.6 + ---------------- + GMime provides decoding of MIME email messages for Notmuch. Without GMime, Notmuch would not be able to extract and index the actual text from email message encoded as BASE64, etc. - GMime 2.4 is available from http://spruce.sourceforge.net/gmime/ + GMime is available from http://spruce.sourceforge.net/gmime/ Talloc ------ diff --git a/NEWS b/NEWS index 6afa912..e78472c 100644 --- a/NEWS +++ b/NEWS @@ -36,6 +36,15 @@ New functions notmuch_query_add_tag_exclude supports the new tag exclusion feature. +Build fixes +----------- + +Compatibility with GMime 2.6 + + It is now possible to build notmuch against both GMime 2.4 and 2.6. + However they may be some issues in PGP signature verification + because of a bug in current versions of GMime 2.6. + Notmuch 0.11 (2012-01-13) ========================= -- cgit v1.2.3 From d449c60a73cae2fdd88aa7c255e49d67c5a907ff Mon Sep 17 00:00:00 2001 From: Thomas Jost Date: Sun, 22 Jan 2012 01:29:41 +0100 Subject: Fix NEWS about gmime 2.6 Previous version had a typo ("they may be" instead of "there may be") and was lacking a proper description of the gmime bug. --- NEWS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index e78472c..2c2d9e9 100644 --- a/NEWS +++ b/NEWS @@ -42,8 +42,8 @@ Build fixes Compatibility with GMime 2.6 It is now possible to build notmuch against both GMime 2.4 and 2.6. - However they may be some issues in PGP signature verification - because of a bug in current versions of GMime 2.6. + However, a bug in current GMime 2.6 causes notmuch not to report + signatures where the signer key is unavailable (GNOME bug 668085). Notmuch 0.11 (2012-01-13) ========================= -- cgit v1.2.3 From c8410bce8ba4fb40672f997e66ac4f94072b6349 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Mon, 23 Jan 2012 13:15:03 +0100 Subject: Add a NEWS section for 0.11.1 and document the python error handling bugfix --- NEWS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index bf21e64..3d2c2a8 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,17 @@ +Notmuch 0.11.1 (2012-mm-dd) +=========================== + +Bug-fix release. +---------------- + +Fix error handling in python bindings. + + The python bindings in 0.11 failed to detect NULL pointers being + returned from libnotmuch functions and thus failed to raise + exceptions to indicate the error condition. Any subsequent calls + into libnotmuch caused segmentation faults. + + Notmuch 0.11 (2012-01-13) ========================= -- cgit v1.2.3 From 08b3b0f37f73922d84943fe27a36e1964266c674 Mon Sep 17 00:00:00 2001 From: Pieter Praet Date: Mon, 23 Jan 2012 06:41:45 +0100 Subject: NEWS: update "Tag exclusion" section --- NEWS | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 2c2d9e9..2acdce5 100644 --- a/NEWS +++ b/NEWS @@ -13,10 +13,21 @@ Reply to sender Tag exclusion - Tags can be automatically excluded from search results unless they - appear explicitly in a query. By default, notmuch excludes the tags - deleted and spam. This can be changed using the new config setting - search.auto_exclude_tags. + Tags can be automatically excluded from search results by adding them + to the new 'search.exclude_tags' option in the Notmuch config file. + + This behaviour can be overridden by explicitly including an excluded + tag in your query, for example: + + notmuch search $your_query and tag:$excluded_tag + + Existing users will probably want to run "notmuch setup" again to add + the new well-commented [search] section to the configuration file. + + For new configurations, accepting the default setting will cause the + tags "deleted" and "spam" to be excluded, equivalent to running: + + notmuch config set search.exclude_tags deleted spam Emacs Interface --------------- -- cgit v1.2.3 From ae438ccd8c77831158c7c30f19710d798ee4a6b4 Mon Sep 17 00:00:00 2001 From: Aaron Ecay Date: Fri, 3 Feb 2012 11:24:08 +0100 Subject: emacs: quote MML tags in replies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Emacs message-mode uses certain text strings to indicate how to attach files to outgoing mail. If these are present in the text of an email, and a user is tricked into replying to the message, the user’s files could be exposed. Edited-by: Pieter Praet : Rebased to release branch. --- NEWS | 11 +++++++++++ emacs/notmuch-mua.el | 7 ++++++- test/emacs | 1 - 3 files changed, 17 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3d2c2a8..a089e67 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,17 @@ Fix error handling in python bindings. exceptions to indicate the error condition. Any subsequent calls into libnotmuch caused segmentation faults. +Quote MML tags in replies + + MML tags are text codes that Emacs uses to indicate attachments + (among other things) in messages being composed. The Emacs + interface did not quote MML tags in the quoted text of a reply. + User could be tricked into replying to a maliciously formatted + message and not editing out the MML tags from the quoted text. This + could lead to files from the user's machine being attached to the + outgoing message. The Emacs interface now quotes these tags in + reply text, so that they do not effect outgoing messages. + Notmuch 0.11 (2012-01-13) ========================= diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 7114e48..3e93d7c 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -111,7 +111,12 @@ list." (insert body)) (set-buffer-modified-p nil) - (message-goto-body)) + (message-goto-body) + ;; Original message may contain (malicious) MML tags. We must + ;; properly quote them in the reply. Note that using `point-max' + ;; instead of `mark' here is wrong. The buffer may include user's + ;; signature which should not be MML-quoted. + (mml-quote-region (point) (point-max))) (defun notmuch-mua-forward-message () (message-forward) diff --git a/test/emacs b/test/emacs index db8e4ad..2d066ed 100755 --- a/test/emacs +++ b/test/emacs @@ -274,7 +274,6 @@ EOF test_expect_equal_file OUTPUT EXPECTED test_begin_subtest "Quote MML tags in reply" -test_subtest_known_broken message_id='test-emacs-mml-quoting@message.id' add_message [id]="$message_id" \ "[subject]='$test_subtest_name'" \ -- cgit v1.2.3 From 3f44da70b1dab028301641f7cfe5da6e420d60d9 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 3 Feb 2012 08:30:30 -0400 Subject: NEWS: set release date for 0.11.1 --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a089e67..e57e970 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Notmuch 0.11.1 (2012-mm-dd) +Notmuch 0.11.1 (2012-02-03) =========================== Bug-fix release. -- cgit v1.2.3 From 61fa5c0bb88fd3cd4a52d5a5b93a12bed58c063e Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Sun, 5 Feb 2012 11:13:53 +0400 Subject: NEWS: document Emacs UI tagging operations changes --- NEWS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 5c5b645..f449fba 100644 --- a/NEWS +++ b/NEWS @@ -39,6 +39,24 @@ Reply to sender and search modes, 'r' has been bound to reply to sender, replacing reply to all, which now has key binding 'R'. +More flexible and consistent tagging operations + + All tagging operations ("+", "-", "*") now accept multiple tags with + "+" or "-" prefix, like "*" operation in notmuch-search view before. + + "*" operation (`notmuch-show-tag-all') is now available in + notmuch-show view. + + `Notmuch-show-{add,remove}-tag' functions no longer accept tag + argument, `notmuch-show-tag-message' should be used instead. Custom + bindings using these functions should be updated, e.g.: + + (notmuch-show-remove-tag "unread") + + should be changed to: + + (notmuch-show-tag-message "-unread") + Library changes --------------- -- cgit v1.2.3 From 4c31cc615b844fc792367a092daac0b3cafe9e49 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 15 Feb 2012 11:17:32 +0200 Subject: NEWS: add news section for new.ignore Added NEWS section 'Mail store folder/file ignore'. --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index f449fba..e9abb86 100644 --- a/NEWS +++ b/NEWS @@ -29,6 +29,12 @@ Tag exclusion notmuch config set search.exclude_tags deleted spam +Mail store folder/file ignore + + A new configuration option, `new.ignore`, lets users specify a + ;-separated list of file and directory names that will not be + searched for messages by "notmuch new". + Emacs Interface --------------- -- cgit v1.2.3 From 8dec19fd66d8dafea8cbba5617eeb8ee86f4ac60 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 22 Feb 2012 20:33:30 +0100 Subject: NEWS: add entry for python 3.2 compatibility Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index e9abb86..403a310 100644 --- a/NEWS +++ b/NEWS @@ -71,6 +71,13 @@ New functions notmuch_query_add_tag_exclude supports the new tag exclusion feature. +Python bindings changes +----------------------- + +Python 3.2 compatibility + + The python bindings are now compatible with both python 2.5+ and 3.2. + Build fixes ----------- -- cgit v1.2.3 From 327892f5966157427f9f9081474eefec665c37fb Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 22 Feb 2012 20:33:31 +0100 Subject: NEWS: add entry for the improved unicode handling in the python bindings Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 403a310..af5e9ea 100644 --- a/NEWS +++ b/NEWS @@ -78,6 +78,12 @@ Python 3.2 compatibility The python bindings are now compatible with both python 2.5+ and 3.2. +Added missing unicode conversions + + Python strings have to be encoded to and decoded from utf-8 when + calling libnotmuch functions. Porting the bindings to python 3.2 + revealed a few function calls that were missing these conversions. + Build fixes ----------- -- cgit v1.2.3 From 4d2d96be5f5c5d7c138a932c362e10cd9c94d665 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Tue, 21 Feb 2012 10:42:33 -0500 Subject: News for retaining state when refreshing notmuch show --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index af5e9ea..70b1518 100644 --- a/NEWS +++ b/NEWS @@ -63,6 +63,11 @@ More flexible and consistent tagging operations (notmuch-show-tag-message "-unread") +Refreshing the show view ('=' by default) no longer opens or closes messages + + To get the old behavior of putting messages back in their initial + opened/closed state, use a prefix argument, e.g., C-u =. + Library changes --------------- -- cgit v1.2.3 From c5520af0ae423244afe552b4fcc16b67cf541535 Mon Sep 17 00:00:00 2001 From: Pieter Praet Date: Sun, 19 Feb 2012 21:47:52 +0100 Subject: NEWS: sync 'new.ignore' entry with its comment in notmuch-config.c See previous commit. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 70b1518..b2bec04 100644 --- a/NEWS +++ b/NEWS @@ -35,6 +35,9 @@ Mail store folder/file ignore ;-separated list of file and directory names that will not be searched for messages by "notmuch new". + NOTE: *Every* file/directory that goes by one of those names will + be ignored, independent of its depth/location in the mail store. + Emacs Interface --------------- -- cgit v1.2.3 From 95fb22ebdbd55d116b47bba47b940a95e6d463bf Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Wed, 29 Feb 2012 09:31:26 +0000 Subject: News for Make buttons for attachments allow viewing as well as saving On Sat, 21 Jan 2012 09:09:58 -0400, David Bremner wrote: > On Fri, 20 Jan 2012 09:44:06 +0000, Mark Walters wrote: > > Define a keymap for attachment buttons to allow multiple actions. > > Define 3 possible actions: > > save attachment: exactly as currently, > > view attachment: uses mailcap entry, > > view attachment with user chosen program > > pushed. Here is a News patch for this feature. Best wishes Mark From fde33258850a438f1810e4158c946b3cf185b5e8 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Wed, 29 Feb 2012 09:26:17 +0000 Subject: [PATCH] News item for allowing attachment buttons to view as well as save. --- NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b2bec04..8fb2f24 100644 --- a/NEWS +++ b/NEWS @@ -71,6 +71,15 @@ Refreshing the show view ('=' by default) no longer opens or closes messages To get the old behavior of putting messages back in their initial opened/closed state, use a prefix argument, e.g., C-u =. +Attachment buttons can be used to view or save attachments. + + When the cursor is on an attachment button the key 's' can be used + to save the attachment, the key 'v' to view the attachment in the + default mailcap application, and the key 'o' prompts the user for an + application to use to open the attachment. By default Enter or mouse + button 1 saves the attachment but this is customisable (option + Notmuch Show Part Button Default Action). + Library changes --------------- -- cgit v1.2.3 From 5234f808bc5fe5c4ce28c04f9add38cc5bd1fb3d Mon Sep 17 00:00:00 2001 From: Pieter Praet Date: Thu, 1 Mar 2012 22:44:30 +0100 Subject: NEWS: add entry for `notmuch-show-stash-mlarchive-link{,-and-go}' --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 8fb2f24..a739914 100644 --- a/NEWS +++ b/NEWS @@ -80,6 +80,12 @@ Attachment buttons can be used to view or save attachments. button 1 saves the attachment but this is customisable (option Notmuch Show Part Button Default Action). +New functions + + `notmuch-show-stash-mlarchive-link{,-and-go}' allow stashing and + optionally visiting a URI to the current message at one of a number + of Mailing List Archives. + Library changes --------------- -- cgit v1.2.3 From e83409d21c48259af0321b8c187a1980d69d1ff1 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Wed, 29 Feb 2012 18:13:06 +0000 Subject: NEWS: revert NEWS item for exclude tags for 0.12 --- NEWS | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a739914..4152e7c 100644 --- a/NEWS +++ b/NEWS @@ -11,24 +11,6 @@ Reply to sender to all. The feature is available through the new command line option --reply-to=(all|sender). -Tag exclusion - - Tags can be automatically excluded from search results by adding them - to the new 'search.exclude_tags' option in the Notmuch config file. - - This behaviour can be overridden by explicitly including an excluded - tag in your query, for example: - - notmuch search $your_query and tag:$excluded_tag - - Existing users will probably want to run "notmuch setup" again to add - the new well-commented [search] section to the configuration file. - - For new configurations, accepting the default setting will cause the - tags "deleted" and "spam" to be excluded, equivalent to running: - - notmuch config set search.exclude_tags deleted spam - Mail store folder/file ignore A new configuration option, `new.ignore`, lets users specify a -- cgit v1.2.3 From 4b3af0e4443f88f302f09a7a6099a31103d862d6 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 3 Mar 2012 08:56:15 -0400 Subject: Make exclusion visible again This reverts dfee0f9 man: remove search.exclude_tags from notmuch-config.1 for 0.12 e83409d NEWS: revert NEWS item for exclude tags for 0.12 e77b031 config: disable addition of exclude tags for 0.12 --- NEWS | 18 ++++++++++++++++++ man/man1/notmuch-config.1 | 8 ++++++++ notmuch-config.c | 3 ++- notmuch-setup.c | 19 ++++++++++++++++++- 4 files changed, 46 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 4152e7c..a739914 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,24 @@ Reply to sender to all. The feature is available through the new command line option --reply-to=(all|sender). +Tag exclusion + + Tags can be automatically excluded from search results by adding them + to the new 'search.exclude_tags' option in the Notmuch config file. + + This behaviour can be overridden by explicitly including an excluded + tag in your query, for example: + + notmuch search $your_query and tag:$excluded_tag + + Existing users will probably want to run "notmuch setup" again to add + the new well-commented [search] section to the configuration file. + + For new configurations, accepting the default setting will cause the + tags "deleted" and "spam" to be excluded, equivalent to running: + + notmuch config set search.exclude_tags deleted spam + Mail store folder/file ignore A new configuration option, `new.ignore`, lets users specify a diff --git a/man/man1/notmuch-config.1 b/man/man1/notmuch-config.1 index 57eee93..e62577c 100644 --- a/man/man1/notmuch-config.1 +++ b/man/man1/notmuch-config.1 @@ -83,6 +83,14 @@ will be ignored, regardless of the location in the mail store directory hierarchy. .RE +.RS 4 +.TP 4 +.B search.exclude_tags +A list of tags that will be excluded from search results by +default. Using an excluded tag in a query will override that +exclusion. +.RE + .RS 4 .TP 4 .B maildir.synchronize_flags diff --git a/notmuch-config.c b/notmuch-config.c index 61fda3e..e9b2750 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -377,7 +377,8 @@ notmuch_config_open (void *ctx, if (notmuch_config_get_search_exclude_tags (config, &tmp) == NULL) { if (is_new) { - /* We do not set default search_exclude_tags for 0.12 */ + const char *tags[] = { "deleted", "spam" }; + notmuch_config_set_search_exclude_tags (config, tags, 2); } else { notmuch_config_set_search_exclude_tags (config, NULL, 0); } diff --git a/notmuch-setup.c b/notmuch-setup.c index 307231d..94d0aa7 100644 --- a/notmuch-setup.c +++ b/notmuch-setup.c @@ -133,6 +133,8 @@ notmuch_setup_command (unused (void *ctx), int is_new; const char **new_tags; size_t new_tags_len; + const char **search_exclude_tags; + size_t search_exclude_tags_len; #define prompt(format, ...) \ do { \ @@ -209,7 +211,22 @@ notmuch_setup_command (unused (void *ctx), } - /* Temporarily remove exclude tag support for 0.12 */ + search_exclude_tags = notmuch_config_get_search_exclude_tags (config, &search_exclude_tags_len); + + printf ("Tags to exclude when searching messages (separated by spaces) ["); + print_tag_list (search_exclude_tags, search_exclude_tags_len); + prompt ("]: "); + + if (strlen (response)) { + GPtrArray *tags = parse_tag_list (ctx, response); + + notmuch_config_set_search_exclude_tags (config, + (const char **) tags->pdata, + tags->len); + + g_ptr_array_free (tags, TRUE); + } + if (! notmuch_config_save (config)) { if (is_new) -- cgit v1.2.3 From bd99627e6d5d8b88e1b790557c91bff3be337c8e Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 14 Mar 2012 23:21:06 +0200 Subject: NEWS: emacs: Fix MML tag quoting in replies --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 4152e7c..6778442 100644 --- a/NEWS +++ b/NEWS @@ -68,6 +68,12 @@ New functions optionally visiting a URI to the current message at one of a number of Mailing List Archives. +Fix MML tag quoting in replies + + The MML tag quoting fix of 0.11.1 unintentionally quoted tags + inserted in `message-setup-hook'. Quoting is now limited to the + cited message. + Library changes --------------- -- cgit v1.2.3 From f9fd98142ba1f5e2042dba8b8476e6afc6bfa402 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 14 Mar 2012 23:21:07 +0200 Subject: NEWS: emacs: show view archiving key binding changes --- NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 6778442..86c0690 100644 --- a/NEWS +++ b/NEWS @@ -74,6 +74,15 @@ Fix MML tag quoting in replies inserted in `message-setup-hook'. Quoting is now limited to the cited message. +Show view archiving key binding changes + + The show view archiving key bindings 'a' and 'x' now remove the + "inbox" tag from the current message only (instead of thread), and + move to the next message. At the last message, 'a' proceeds to the + next thread in search results, and 'x' returns to search + results. The thread archiving functions are now available in 'A' and + 'X'. + Library changes --------------- -- cgit v1.2.3 From 8d479ce3e80453c6497753ba490502777b6f66f3 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 14 Mar 2012 23:21:08 +0200 Subject: NEWS: emacs: support text/calendar MIME type --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 86c0690..3c2cd82 100644 --- a/NEWS +++ b/NEWS @@ -83,6 +83,11 @@ Show view archiving key binding changes results. The thread archiving functions are now available in 'A' and 'X'. +Support text/calendar MIME type + + The text/calendar MIME type is now supported in addition to + text/x-vcalendar. + Library changes --------------- -- cgit v1.2.3 From 743d3bcdd8e84bc35051778c42b402ffb747e599 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 14 Mar 2012 23:21:09 +0200 Subject: NEWS: emacs: inline patch fake attachment file names --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3c2cd82..83d764a 100644 --- a/NEWS +++ b/NEWS @@ -88,6 +88,13 @@ Support text/calendar MIME type The text/calendar MIME type is now supported in addition to text/x-vcalendar. +Generate inline patch fake attachment file names from message subject + + Use the message subject to generate file names for the inline patch + fake attachments. The names are now similar to the ones generated by + 'git format-patch' instead of just "inline patch". See "Notmuch Show + Insert Text/Plain Hook" in the notmuch customize interface. + Library changes --------------- -- cgit v1.2.3 From d8b131c37dccf3c09a61dbd10b543b75903d9e76 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 14 Mar 2012 23:21:11 +0200 Subject: NEWS: cli: manual page for notmuch configuration options --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 83d764a..18760ce 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,12 @@ Mail store folder/file ignore NOTE: *Every* file/directory that goes by one of those names will be ignored, independent of its depth/location in the mail store. +Manual page for notmuch configuration options + + The notmuch CLI configuration file options are now documented in the + notmuch-config(1) manual page in addition to the configuration file + itself. + Emacs Interface --------------- -- cgit v1.2.3 From 622d2f6128a70ff010586a211d4b4af19650064b Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 14 Mar 2012 23:21:10 +0200 Subject: NEWS: emacs: enable `notmuch-search-line-faces' by default --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 18760ce..09c5d9c 100644 --- a/NEWS +++ b/NEWS @@ -101,6 +101,12 @@ Generate inline patch fake attachment file names from message subject 'git format-patch' instead of just "inline patch". See "Notmuch Show Insert Text/Plain Hook" in the notmuch customize interface. +Enable `notmuch-search-line-faces' by default + + Make the `notmuch-search-line-faces' functionality more discoverable + for new users by showing "unread" messages bold and "flagged" + messages blue by default in the search view. + Library changes --------------- -- cgit v1.2.3 From c83388819c0c1255f29baa801a7babd5f4f2202f Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 18 Mar 2012 10:15:47 -0300 Subject: NEWS: start section for 0.13 People are making patches for the 0.12 NEWS section for features that won't be there. Let's help them out by adding a new stanza. --- NEWS | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c34b546..b49e252 100644 --- a/NEWS +++ b/NEWS @@ -1,16 +1,6 @@ -Notmuch 0.12 (2012-xx-xx) +Notmuch 0.13 (2012-xx-xx) ========================= -Command-Line Interface ----------------------- - -Reply to sender - - "notmuch reply" has gained the ability to create a reply template - for replying just to the sender of the message, in addition to reply - to all. The feature is available through the new command line option - --reply-to=(all|sender). - Tag exclusion Tags can be automatically excluded from search results by adding them @@ -29,6 +19,19 @@ Tag exclusion notmuch config set search.exclude_tags deleted spam +Notmuch 0.12 (2012-xx-xx) +========================= + +Command-Line Interface +---------------------- + +Reply to sender + + "notmuch reply" has gained the ability to create a reply template + for replying just to the sender of the message, in addition to reply + to all. The feature is available through the new command line option + --reply-to=(all|sender). + Mail store folder/file ignore A new configuration option, `new.ignore`, lets users specify a -- cgit v1.2.3 From eb82b4551ad0c5e808a677d886f58ba2c41f970d Mon Sep 17 00:00:00 2001 From: Adam Wolfe Gordon Date: Sun, 18 Mar 2012 10:32:43 -0600 Subject: NEWS: news for reply enhancements --- NEWS | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b49e252..5cfe222 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,28 @@ Notmuch 0.13 (2012-xx-xx) ========================= +Command-Line Interface +---------------------- + +Reply to sender + + "notmuch reply" has gained the ability to create a reply template + for replying just to the sender of the message, in addition to reply + to all. The feature is available through the new command line option + --reply-to=(all|sender). + +JSON reply format + + "notmuch reply" can now produce JSON output that contains the headers + for a reply message and full information about the original message + begin replied to. This allows MUAs to create replies intelligtently. + For example, an MUA that can parse HTML might quote HTML parts. + + Calling notmuch reply with --format=json imposes the restriction that + only a single message is returned by the search, as replying to + multiple messages does not have a well-defined behavior. The default + retains its current behavior for multiple message replies. + Tag exclusion Tags can be automatically excluded from search results by adding them @@ -19,6 +41,17 @@ Tag exclusion notmuch config set search.exclude_tags deleted spam +Emacs Interface +--------------- + +Reply improvement using the JSON format + + Emacs now uses the JSON reply format to create replies. It obeys + the customization variables message-citation-line-format and + message-citation-line-function when creating the first line of the + reply body, and it will quote HTML parts if no text/plain parts are + available. + Notmuch 0.12 (2012-xx-xx) ========================= -- cgit v1.2.3 From 7fb0eb3293037b338c808da0d53ee4452b65993a Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 19 Mar 2012 22:15:05 -0300 Subject: NEWS: set release date for 0.12 --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 09c5d9c..bfef158 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Notmuch 0.12 (2012-xx-xx) +Notmuch 0.12 (2012-03-20) ========================= Command-Line Interface -- cgit v1.2.3 From 686ed4c6ad9f601af76bcd81856c0a62c63122c7 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 19 Mar 2012 22:25:05 -0300 Subject: NEWS: update discussion of GMime 2.6 version requirements. Be more specific than "Current GMime 2.6". Also explain why we need >=2.6.7 --- NEWS | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index bfef158..f179106 100644 --- a/NEWS +++ b/NEWS @@ -134,8 +134,10 @@ Build fixes Compatibility with GMime 2.6 It is now possible to build notmuch against both GMime 2.4 and 2.6. - However, a bug in current GMime 2.6 causes notmuch not to report - signatures where the signer key is unavailable (GNOME bug 668085). + However, a bug in GMime 2.6 before 2.6.5 causes notmuch not to + report signatures where the signer key is unavailable (GNOME bug + 668085). For compatibility with GMime 2.4's tolerance of "From " + headers we require GMime 2.6 >= 2.6.7. Notmuch 0.11.1 (2012-02-03) =========================== -- cgit v1.2.3 From 5b6a91849c0d8aff1ae4fd147c0a8510d69fcc83 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 19 Mar 2012 22:32:23 -0300 Subject: NEWS: add news item for help = man page As we discovered recently on the list, this really is new for 0.12 --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index f179106..5c54735 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,12 @@ Mail store folder/file ignore NOTE: *Every* file/directory that goes by one of those names will be ignored, independent of its depth/location in the mail store. +Unified help and manual pages + + The notmuch help command now runs man for the appropriate page. If + you install notmuch somewhere "unusual", you may need to update + MANPATH. + Manual page for notmuch configuration options The notmuch CLI configuration file options are now documented in the -- cgit v1.2.3 From 0dcdc2ae8a352a164e052188cfb6224f24dad1ae Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 20 Mar 2012 07:47:24 -0300 Subject: add NEWS item for printing --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 5c54735..2e393c4 100644 --- a/NEWS +++ b/NEWS @@ -113,6 +113,11 @@ Enable `notmuch-search-line-faces' by default for new users by showing "unread" messages bold and "flagged" messages blue by default in the search view. +Printing Support + + notmuch-show mode now has simple printing support, bound to '#' by + default. You can customize the variable notmuch-print-mechanism. + Library changes --------------- -- cgit v1.2.3 From 2b97293b15311f61dc73aa149484e7c1293f4ad2 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 21 Mar 2012 21:32:29 +0200 Subject: NEWS: consistent 2-space indentation in new content Some 0.12 NEWS items descriptions were indented with 3 spaces whereas all other lines are indented with 2 spaces. Brought those escaped lines back in line with others. --- NEWS | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ed5e3c5..26c775c 100644 --- a/NEWS +++ b/NEWS @@ -67,18 +67,18 @@ Reply to sender Mail store folder/file ignore - A new configuration option, `new.ignore`, lets users specify a - ;-separated list of file and directory names that will not be - searched for messages by "notmuch new". + A new configuration option, `new.ignore`, lets users specify a + ;-separated list of file and directory names that will not be + searched for messages by "notmuch new". - NOTE: *Every* file/directory that goes by one of those names will - be ignored, independent of its depth/location in the mail store. + NOTE: *Every* file/directory that goes by one of those names will + be ignored, independent of its depth/location in the mail store. Unified help and manual pages - The notmuch help command now runs man for the appropriate page. If - you install notmuch somewhere "unusual", you may need to update - MANPATH. + The notmuch help command now runs man for the appropriate page. If + you install notmuch somewhere "unusual", you may need to update + MANPATH. Manual page for notmuch configuration options -- cgit v1.2.3 From 84f7ac7fc3a1cba165ba38a6af26b3c42ce9aa2d Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Sat, 31 Mar 2012 10:33:24 +0200 Subject: NEWS: document inclusion of contrib/notmuch-mutt --- NEWS | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 26c775c..a618a9d 100644 --- a/NEWS +++ b/NEWS @@ -52,6 +52,16 @@ Reply improvement using the JSON format reply body, and it will quote HTML parts if no text/plain parts are available. +New add-on tool: notmuch-mutt +----------------------------- + +The new contrib/ tool "notmuch-mutt" provides Notmuch integration for +the Mutt mail user agent. Using it, Mutt users can perform mail +search, thread reconstruction, and mail tagging/untagging without +leaving Mutt. notmuch-mutt, formerly distributed under the name +"mutt-notmuch" by Stefano Zacchiroli, will be maintained as a notmuch +contrib/ from now on. + Notmuch 0.12 (2012-03-20) ========================= -- cgit v1.2.3 From f9ad2372732b4a114306b4bb6e9b37d9173095aa Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 7 Apr 2012 21:09:56 -0400 Subject: News for raw format changes --- NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a618a9d..c1704e0 100644 --- a/NEWS +++ b/NEWS @@ -41,6 +41,17 @@ Tag exclusion notmuch config set search.exclude_tags deleted spam +Raw show format changes + + The output of show --format=raw has changed for multipart and + message parts. Previously, the output was a mash of somewhat-parsed + headers and transfer-decoded bodies. Now, such parts are reproduced + faithfully from the original source. Message parts (which includes + part 0) output the full message, including the message headers (but + not the transfer headers). Multipart parts output the part as + encoded in the original message, including the part's headers. Leaf + parts, as before, output the part's transfer-decoded body. + Emacs Interface --------------- -- cgit v1.2.3 From 2b3e9ff467d99fe02852cfcc46181c4d29dea99b Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 22 Apr 2012 14:07:52 +0200 Subject: NEWS: Document the notmuch_database_close split Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> --- NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c1704e0..a2cd080 100644 --- a/NEWS +++ b/NEWS @@ -73,6 +73,18 @@ leaving Mutt. notmuch-mutt, formerly distributed under the name "mutt-notmuch" by Stefano Zacchiroli, will be maintained as a notmuch contrib/ from now on. +Library changes +--------------- + +API changes + + The function notmuch_database_close has been split into + notmuch_database_close and notmuch_database_destroy. + + This makes it possible for long running programs to close the xapian + database and thus release the lock associated with it without + destroying the data structures obtained from it. + Notmuch 0.12 (2012-03-20) ========================= -- cgit v1.2.3 From 77e128a0f0340185af6d393ee6e18e74b17c8de4 Mon Sep 17 00:00:00 2001 From: Peter Wang Date: Sun, 29 Apr 2012 11:26:10 +1000 Subject: NEWS: add news item for 'config list' --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a2cd080..4f36dff 100644 --- a/NEWS +++ b/NEWS @@ -52,6 +52,11 @@ Raw show format changes encoded in the original message, including the part's headers. Leaf parts, as before, output the part's transfer-decoded body. +Listing configuration items + + The new "config list" command prints out all configuration items and + their values. + Emacs Interface --------------- -- cgit v1.2.3 From 3ac72151c2e5ef9209fa5d5b0b03bf85bafb3503 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 26 Apr 2012 22:52:29 +0300 Subject: NEWS: untabified and added file local variables block Changed all tabs to 8 spaces (M-x untabify over region of the whole file). Now this looks uniformly on all viewers (using fixed-width font) and the observed difference between this "source" file and markdown generated html output on browser window is smaller. In markdown to html conversions tab and 8 spaces indents differently. Also the "Local variables:" block added to the end of this file attempts to ensure tabs are always expanded; whether the used editor is Emacs or Vi. --- NEWS | 134 ++++++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 72 insertions(+), 62 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 4f36dff..500e7a7 100644 --- a/NEWS +++ b/NEWS @@ -464,10 +464,10 @@ Search avoids opening and parsing message files improve search speed by as much as 10X, but taking advantage of this requires a database rebuild: - notmuch dump > notmuch.dump - # Backup, then remove notmuch database ($MAIL/.notmuch) - notmuch new - notmuch restore notmuch.dump + notmuch dump > notmuch.dump + # Backup, then remove notmuch database ($MAIL/.notmuch) + notmuch new + notmuch restore notmuch.dump New collection of add-on tools ------------------------------ @@ -631,13 +631,13 @@ Folder-based searching directories in which mail files are stored (within the mail storage). The syntax is as follows: - folder: + folder: For example, one might use things such as: - folder:spam - folder:2011-* - folder:work/todo + folder:spam + folder:2011-* + folder:work/todo to match any path containing a directory "spam", "work/todo", or containing a directory starting with "2011-", respectively. @@ -652,10 +652,10 @@ Folder-based searching this feature for all mail, the entire notmuch index will need to be rebuilt as follows: - notmuch dump > notmuch.dump - # Backup, then remove notmuch database ($MAIL/.notmuch) - notmuch new - notmuch restore notmuch.dump + notmuch dump > notmuch.dump + # Backup, then remove notmuch database ($MAIL/.notmuch) + notmuch new + notmuch restore notmuch.dump Support for PGP/MIME @@ -787,7 +787,7 @@ Automatic detection and hiding of original message in top-posted message When a message contains a line looking something like: - ----- Original Message ----- + ----- Original Message ----- emacs hides this and all subsequent lines as an "original message", (allowing the user to click or press enter on the "original message" @@ -802,8 +802,8 @@ New hooks for running code when tags are modified tool. To facilitate this, two new hooks are added which can be modified in the following settings of the notmuch customize group: - Notmuch Before Tag Hook - Notmuch After Tag Hook + Notmuch Before Tag Hook + Notmuch After Tag Hook New optional support for hiding some multipart/alternative parts @@ -811,7 +811,7 @@ New optional support for hiding some multipart/alternative parts multipart/alternative group (such as a text/plain part as well as a text/html part). Users can configure the setting: - Notmuch Show All Multipart/Alternative Parts + Notmuch Show All Multipart/Alternative Parts to "off" in the notmuch customize group to have the interface automatically hide some part alternatives (such as text/html @@ -858,13 +858,13 @@ Ruby bindings are now much more complete - Message().__cmp__() and __hash__() These allow, for example: - if msg1 == msg2: ... + if msg1 == msg2: ... As well as set arithmetic on Messages(): - s1, s2= set(msgs1), set(msgs2) - s1.union(s2) - s2 -= s1 + s1, s2= set(msgs1), set(msgs2) + s1.union(s2) + s2 -= s1 Removed: - len(Messages()) as it exhausted the iterator. @@ -880,10 +880,10 @@ Added support for building in a directory other than the source directory This can be used with the widely-supported idiom of simply running the configure script from some other directory: - mkdir build - cd build - ../configure - make + mkdir build + cd build + ../configure + make Fix to save configure options for future, implicit runs of configure @@ -933,11 +933,11 @@ Fixed spurious search results from "overlapped" indexing of addresses This fixed a bug where a search for: - to:user@elsewhere.com + to:user@elsewhere.com would incorrectly match a message sent: - To: user@example,com, someone@elsewhere.com + To: user@example,com, someone@elsewhere.com Fix --output=json when search has no results @@ -999,13 +999,13 @@ Maildir-flag synchronization tags in the notmuch database. The following flag/tag mappings are supported: - Flag <-> Tag - ---- ----- - 'D' draft - 'F' flagged - 'P' passed - 'R' replied - 'S' unread (added when 'S' flag is not present) + Flag <-> Tag + ---- ----- + 'D' draft + 'F' flagged + 'P' passed + 'R' replied + 'S' unread (added when 'S' flag is not present) The synchronization occurs in both directions, (for example, adding the 'S' flag to a file will cause the "unread" tag to be added, and @@ -1018,7 +1018,7 @@ Maildir-flag synchronization new maildir.synchronize_flags option in the configuration file. For example: - notmuch config set maildir.synchronize_flags false + notmuch config set maildir.synchronize_flags false Users upgrading may also want to run "notmuch setup" once (just accept the existing configuration) to get a new, nicely-commented @@ -1027,8 +1027,8 @@ Maildir-flag synchronization For users of the notmuch library, the new synchronization functionality is available with the following two new functions: - notmuch_message_maildir_flags_to_tags - notmuch_message_tags_to_maildir_flags + notmuch_message_maildir_flags_to_tags + notmuch_message_tags_to_maildir_flags It is anticipated that future improvements to this support will allow for safe synchronization of the 'T' flag with the "deleted" @@ -1046,7 +1046,7 @@ Support for querying multiple filenames for a single message With this release, library users can access all filenames for a message with the new function: - notmuch_message_get_filenames + notmuch_message_get_filenames Together with notmuch_filenames_valid, notmuch_filenames_get, and notmuch_filenames_move_to_next it is now possible to iterate over @@ -1065,7 +1065,7 @@ New "notmuch show --format=raw" for getting at original email contents do this, simply set the notmuch-command variable in emacs to the name of a script containing: - ssh user@host notmuch "$@" + ssh user@host notmuch "$@" If the ssh client has enabled connection sharing (ControlMaster option in OpenSSH), the emacs interface can be quite responsive this @@ -1077,7 +1077,7 @@ Fix "notmuch search" to print nothing when nothing matches The 0.4 release had a bug in which: - notmuch search + notmuch search would produce a single blank line of output, (where previous versions would produce no output. This fix also causes a change in @@ -1133,9 +1133,9 @@ notmuch search --output=(summary|threads|messages|tags|files) expected that this new option will be very useful in shell scripts. For example: - for file in $(notmuch search --output=files ); do - "$file" - done + for file in $(notmuch search --output=files ); do + "$file" + done notmuch show --format=mbox @@ -1238,13 +1238,13 @@ Arrange for libnotmuch to be found automatically after make install errors of the form "libnotmuch.so could not be found" immediately after installing. This support takes two forms: - 1. If the library is installed to a system directory, - (configured in /etc/ld.so.conf), then "make install" will - automatically run ldconfig. + 1. If the library is installed to a system directory, + (configured in /etc/ld.so.conf), then "make install" will + automatically run ldconfig. - 2. If the library is installed to a non-system directory, the - build system adds a DR_RUNPATH entry to the final binary - pointing to the directory to which the library is installed. + 2. If the library is installed to a non-system directory, the + build system adds a DR_RUNPATH entry to the final binary + pointing to the directory to which the library is installed. When this support works, the user should be able to run notmuch immediately after "make install", without any errors trying to find @@ -1288,7 +1288,7 @@ Fix potential corruption of database when "notmuch new " is interrupted. in a corrupt database. The corruption would manifest itself by a persistent error of the form: - document ID of 1234 has no thread ID + document ID of 1234 has no thread ID The message-adding code has been carefully audited and reworked to avoid this sort of corruption regardless of when it is interrupted. @@ -1448,15 +1448,15 @@ An entirely new initial view for notmuch, (friendly yet powerful) away. Note: For users that liked the original mode of "emacs -f notmuch" - immediately displaying a particular search result, we - recommend instead running something like: + immediately displaying a particular search result, we + recommend instead running something like: - emacs --eval '(notmuch search "tag:inbox" t)' + emacs --eval '(notmuch search "tag:inbox" t)' - The "t" means to sort the messages in an "oldest first" order, - (as notmuch would do previously by default). You can also - leave that off to have your search results in "newest first" - order. + The "t" means to sort the messages in an "oldest first" order, + (as notmuch would do previously by default). You can also + leave that off to have your search results in "newest first" + order. Full-featured "customize" support for configuring notmuch @@ -1487,7 +1487,7 @@ Support for doing tab-completion of email addresses One such program (implemented in python with the python bindings to notmuch) is available via: - git clone http://jkr.acm.jhu.edu/git/notmuch_addresses.git + git clone http://jkr.acm.jhu.edu/git/notmuch_addresses.git Install that program as notmuch-addresses on your PATH, and then hitting TAB on a partial email address or name within the To: or Cc: @@ -1678,11 +1678,11 @@ Fix headers to be properly decoded in "notmuch reply" Previously, the user might see: - Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?= + Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?= rather than: - Subject: Re: Rozlučka + Subject: Re: Rozlučka The former text is properly encoded to be RFC-compliant SMTP, will be sent correctly, and will be properly decoded by the @@ -1727,12 +1727,12 @@ Add support to configure for many standard options. We include actual support for: - --includedir --mandir --sysconfdir + --includedir --mandir --sysconfdir And accept and silently ignore several more: - --build --infodir --libexecdir --localstatedir - --disable-maintainer-mode --disable-dependency-tracking + --build --infodir --libexecdir --localstatedir + --disable-maintainer-mode --disable-dependency-tracking Install emacs client in "make install" rather than requiring a separate "make install-emacs". @@ -1759,3 +1759,13 @@ a performance bug that made notmuch very slow when modifying tags. This would cause distracting pauses when reading mail while notmuch would wait for Xapian when removing the "inbox" and "unread" tags from messages in a thread. + + + -- cgit v1.2.3 From 48b610e3f5ed99fd43de397a21c7e182a98bbb02 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 26 Apr 2012 22:52:30 +0300 Subject: NEWS: spacing changes With these whitespace changes the spacing looks generally the same throughout the whole file. --- NEWS | 123 +++++++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 86 insertions(+), 37 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 500e7a7..245e9ed 100644 --- a/NEWS +++ b/NEWS @@ -146,11 +146,11 @@ More flexible and consistent tagging operations argument, `notmuch-show-tag-message' should be used instead. Custom bindings using these functions should be updated, e.g.: - (notmuch-show-remove-tag "unread") + (notmuch-show-remove-tag "unread") should be changed to: - (notmuch-show-tag-message "-unread") + (notmuch-show-tag-message "-unread") Refreshing the show view ('=' by default) no longer opens or closes messages @@ -359,7 +359,7 @@ New function notmuch-show-advance 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) + (define-key notmuch-show-mode-map " " 'notmuch-show-advance) Various performance improvements. @@ -623,8 +623,10 @@ Re-export Xapian exception typeinfo symbols. Notmuch 0.6 (2011-07-01) ======================= + New, general features --------------------- + Folder-based searching Notmuch queries can now include a search term to match the @@ -673,6 +675,7 @@ New, automatic tags: "signed" and "encrypted" New command-line features ------------------------- + Add new "notmuch show --verify" option for signature verification This option instruct notmuch to verify the signature of @@ -710,6 +713,7 @@ Deprecate "notmuch search-tags", (in favor of "notmuch search --output=tags *") Performance improvements ------------------------ + Faster searches (by doing fewer searches to construct threads) Whenever a user asks for search results as threads, notmuch first @@ -833,6 +837,7 @@ and drop "name" if it's actually just a repeat of the email address). Vim interface improvements -------------------------- + Felipe Contreras provided a number of updates for the vim interface: * Using sendmail directly rather than mailx, @@ -843,38 +848,45 @@ Felipe Contreras provided a number of updates for the vim interface: Bindings improvements --------------------- + Ruby bindings are now much more complete Including QUERY.sort, QUERY.to_s, MESSAGE.maildir_flags_to_tags, MESSAGE.tags_to_maildir_flags, and MESSAGE.get_filenames * Python bindings have been updated and extended + (docs online at http://packages.python.org/notmuch/) New bindings: - - Message().get_filenames(), - - Message().tags_to_maildir_flags(),Message().maildir_flags_to_tags() - - list(Threads()) and list(Messages) works now + - Message().get_filenames(), Message().tags_to_maildir_flags(), + Message().maildir_flags_to_tags(), list(Threads()) and + list(Messages) works now - Message().__cmp__() and __hash__() + These allow, for example: + if msg1 == msg2: ... As well as set arithmetic on Messages(): - s1, s2= set(msgs1), set(msgs2) + s1, s2 = set(msgs1), set(msgs2) s1.union(s2) s2 -= s1 Removed: - - len(Messages()) as it exhausted the iterator. - Use len(list(Messages())) or - Query.count_messages() to get the length. + + - len(Messages()) as it exhausted the iterator + + Use len(list(Messages())) or Query.count_messages() + to get the length. Added initial Go bindings in bindings/go New build-system features ------------------------- + Added support for building in a directory other than the source directory This can be used with the widely-supported idiom of simply running @@ -895,7 +907,8 @@ Fix to save configure options for future, implicit runs of configure New test-suite feature ---------------------- -Binary for bash for running test suite now located via PATH. + +Binary for bash for running test suite now located via PATH The notmuch test suite requires a fairly recent version of bash (>= bash 4). As some systems supply an older version of bash at @@ -923,6 +936,7 @@ Avoiding accessing user's $HOME while running test suite General bug fixes ----------------- + Output *all* files for "notmuch search --output=files" For the cases where multiple files have the same Message ID, @@ -964,6 +978,7 @@ Fix libnotmuch library to only export notmuch API functions Emacs-interface bug fixes ------------------------- + Display any unexpected output or errors from "notmuch search" invocations Previously any misformatted output or trailing error messages were @@ -991,8 +1006,10 @@ Fix hiding of a message when a previously-hidden citation is visible Notmuch 0.5 (2010-11-11) ======================== + New, general features --------------------- + Maildir-flag synchronization Notmuch now knows how to synchronize flags in maildir filenames with @@ -1036,6 +1053,7 @@ Maildir-flag synchronization New library features -------------------- + Support for querying multiple filenames for a single message It is common for the mailstore to contain multiple files with the @@ -1054,6 +1072,7 @@ Support for querying multiple filenames for a single message New command-line features ------------------------- + New "notmuch show --format=raw" for getting at original email contents This new feature allows for a fully-functional email client to be @@ -1073,6 +1092,7 @@ New "notmuch show --format=raw" for getting at original email contents General bug fixes ----------------- + Fix "notmuch search" to print nothing when nothing matches The 0.4 release had a bug in which: @@ -1086,6 +1106,7 @@ Fix "notmuch search" to print nothing when nothing matches Emacs interface improvements ---------------------------- + Fix to allow pipe ('|') command to work when using notmuch over ssh Fix count of lines in hidden signatures. @@ -1108,7 +1129,8 @@ Allow for notmuch-fcc-dirs to have a value of nil. Vim interface improvements -------------------------- -Felipe Contreras provided a number of updates for the vim interface. + +Felipe Contreras provided a number of updates for the vim interface These include optimizations, support for newer versions of vim, fixed support for sending mail on modern systems, new commands, and @@ -1116,12 +1138,15 @@ Felipe Contreras provided a number of updates for the vim interface. New bindings ------------ + Added initial ruby bindings in bindings/ruby Notmuch 0.4 (2010-11-01) ======================== + New command-line features ------------------------- + notmuch search --output=(summary|threads|messages|tags|files) This new option allows for particular items to be returned from @@ -1162,6 +1187,7 @@ Avoid setting Bcc header in "notmuch reply" New library features -------------------- + Add notmuch_query_get_query_string and notmuch_query_get_sort These are simply functions for querying properties of a @@ -1169,6 +1195,7 @@ Add notmuch_query_get_query_string and notmuch_query_get_sort New emacs features ------------------ + Enable Fcc of all sent messages by default (to "sent" directory) All messages sent from the emacs interface will now be saved to the @@ -1238,13 +1265,13 @@ Arrange for libnotmuch to be found automatically after make install errors of the form "libnotmuch.so could not be found" immediately after installing. This support takes two forms: - 1. If the library is installed to a system directory, - (configured in /etc/ld.so.conf), then "make install" will - automatically run ldconfig. + 1. If the library is installed to a system directory, + (configured in /etc/ld.so.conf), then "make install" will + automatically run ldconfig. - 2. If the library is installed to a non-system directory, the - build system adds a DR_RUNPATH entry to the final binary - pointing to the directory to which the library is installed. + 2. If the library is installed to a non-system directory, the + build system adds a DR_RUNPATH entry to the final binary + pointing to the directory to which the library is installed. When this support works, the user should be able to run notmuch immediately after "make install", without any errors trying to find @@ -1260,7 +1287,8 @@ Check compiler/linker options before using them New test-suite features ----------------------- -New modularization of test suite. + +New modularization of test suite Thanks to a gracious relicensing of the test-suite infrastructure from the git project, notmuch now has a modular test suite. This @@ -1282,7 +1310,8 @@ New testing of emacs interface. General bug fixes ----------------- -Fix potential corruption of database when "notmuch new " is interrupted. + +Fix potential corruption of database when "notmuch new" is interrupted Previously, an interruption of "notmuch new" would (rarely) result in a corrupt database. The corruption would manifest itself by a @@ -1315,6 +1344,7 @@ Fix "notmuch search" to return non-zero if notmuch_query_search_threads fails Emacs bug fixes --------------- + Fix to handle a message with a subject containing, for example "[1234]" Previously, a message subject containing a sequence of digits within @@ -1331,11 +1361,13 @@ Fix to correctly handle message IDs containing ".." Python-binding fixes -------------------- + The python bindings for notmuch have been updated to work with python3. Debian-specific fixes --------------------- -Fix emacs initialization so "M-x notmuch" works for users by default. + +Fix emacs initialization so "M-x notmuch" works for users by default Now, a new Debian user can immediately run "emacs -f notmuch" after "apt-get install notmuch". Previously, the user would have had to @@ -1344,8 +1376,10 @@ Fix emacs initialization so "M-x notmuch" works for users by default. Notmuch 0.3.1 (2010-04-27) ========================== + General bug fixes ----------------- + Fix an infinite loop in "notmuch reply" This bug could be triggered by replying to a message where the @@ -1361,22 +1395,26 @@ Fix a potential SEGV in "notmuch search" Emacs bug fixes --------------- -Fix calculations for line wrapping in the primary "notmuch" view. + +Fix calculations for line wrapping in the primary "notmuch" view Fix Fcc support to prompt to create a directory if the specified Fcc directory does not exist. Build fix --------- -Fix build on OpenSolaris (at least) due to missing 'extern "C"' block. + +Fix build on OpenSolaris (at least) due to missing 'extern "C"' block Without this, the C++ sources could not find strcasestr and the final linking of notmuch would fail. Notmuch 0.3 (2010-04-27) ======================== + New command-line features ------------------------- + User-configurable tags for new messages A new "new.tags" option is available in the configuration file to @@ -1415,6 +1453,7 @@ Indication of author names that match a search New: Python bindings -------------------- + Sebastian Spaeth has contributed his python bindings for the notmuch library to the central repository. These bindings were previously known as "cnotmuch" within python but have now been renamed to be @@ -1431,6 +1470,7 @@ package-building scripts. Improvements are welcome. Emacs interface improvements ---------------------------- + An entirely new initial view for notmuch, (friendly yet powerful) Some of us call the new view "notmuch hello" but you can get at it @@ -1447,16 +1487,16 @@ An entirely new initial view for notmuch, (friendly yet powerful) search of messages with that tag that's simply a click (or keypress) away. - Note: For users that liked the original mode of "emacs -f notmuch" - immediately displaying a particular search result, we - recommend instead running something like: + NOTE: For users that liked the original mode of "emacs -f notmuch" + immediately displaying a particular search result, we recommend + instead running something like: - emacs --eval '(notmuch search "tag:inbox" t)' + emacs --eval '(notmuch search "tag:inbox" t)' - The "t" means to sort the messages in an "oldest first" order, - (as notmuch would do previously by default). You can also - leave that off to have your search results in "newest first" - order. + The "t" means to sort the messages in an "oldest first" order, + (as notmuch would do previously by default). You can also + leave that off to have your search results in "newest first" + order. Full-featured "customize" support for configuring notmuch @@ -1580,6 +1620,7 @@ New keybinding (M-Ret) to open all collapsed messages in a thread. New library feature ------------------- + Provide a new NOTMUCH_SORT_UNSORTED value for queries This can be somewhat faster when sorting simply isn't desired. For @@ -1590,6 +1631,7 @@ Provide a new NOTMUCH_SORT_UNSORTED value for queries Build fixes ----------- + Fix to compile against GMime 2.6 Previously notmuch insisted on being able to find GMime 2.4, (even @@ -1602,15 +1644,17 @@ Fix configure script to accept (and ignore) various standard options. Test suite ---------- -A large number of new tests for the many new features. -Better display of output from failed tests. +A large number of new tests for the many new features + +Better display of output from failed tests Now shows failures with diff rather than forcing the user to gaze at complete actual and expected output looking for deviation. Notmuch 0.2 (2010-04-16) ======================== + This is the second release of the notmuch mail system, with actual detailed release notes this time! @@ -1626,7 +1670,8 @@ notmuch in subsequent releases. General features ---------------- -Better guessing of From: header. + +Better guessing of From: header Notmuch now tries harder to guess which configured address should be used as the From: line in a "notmuch reply". It will examine the @@ -1659,6 +1704,7 @@ missing. General bug fixes ----------------- + Fix potential data loss in "notmuch new" with SIGINT One code path in "notmuch new" was not properly handling @@ -1691,7 +1737,8 @@ Fix headers to be properly decoded in "notmuch reply" Emacs client features --------------------- -Show the last few lines of citations as well as the first few lines. + +Show the last few lines of citations as well as the first few lines It's often the case that the last sentence of a citation is what is being replied to directly, so the last few lines are often much more @@ -1721,9 +1768,10 @@ Provide for customized colors of threads in search view based on tags. Build-system features --------------------- -Add support to properly build libnotmuch on Darwin systems (OS X). -Add support to configure for many standard options. +Add support to properly build libnotmuch on Darwin systems (OS X) + +Add support to configure for many standard options We include actual support for: @@ -1748,6 +1796,7 @@ its results. Notmuch 0.1 (2010-04-05) ======================== + This is the first release of the notmuch mail system. It includes the libnotmuch library, the notmuch command-line -- cgit v1.2.3 From 1579fb334e0bbc42d5ae7692b184127f43ed7027 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 26 Apr 2012 22:52:31 +0300 Subject: NEWS: Insert markdown formatting commands To make updating the notmuchmail.org wiki 'news' section more straightforward the content of the NEWS file has now been brought to almost the same as the *.mdwn files in the wiki page. The changes are basically insertion of mdwn formatting "commands". More effort has been put into formatting the newer release entries (0.12, 0.11 & 0.10) than older. Commit to format 0.13 entries will be made available separately. --- NEWS | 271 ++++++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 138 insertions(+), 133 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 245e9ed..3a5c744 100644 --- a/NEWS +++ b/NEWS @@ -98,16 +98,16 @@ Command-Line Interface Reply to sender - "notmuch reply" has gained the ability to create a reply template + `notmuch reply` has gained the ability to create a reply template for replying just to the sender of the message, in addition to reply to all. The feature is available through the new command line option - --reply-to=(all|sender). + `--reply-to=(all|sender)`. Mail store folder/file ignore A new configuration option, `new.ignore`, lets users specify a ;-separated list of file and directory names that will not be - searched for messages by "notmuch new". + searched for messages by `notmuch new`. NOTE: *Every* file/directory that goes by one of those names will be ignored, independent of its depth/location in the mail store. @@ -136,14 +136,14 @@ Reply to sender More flexible and consistent tagging operations - All tagging operations ("+", "-", "*") now accept multiple tags with - "+" or "-" prefix, like "*" operation in notmuch-search view before. + All tagging operations ('+', '-', '*') now accept multiple tags with + '+' or '-' prefix, like '*' operation in notmuch-search view before. - "*" operation (`notmuch-show-tag-all') is now available in + '*' operation (`notmuch-show-tag-all`) is now available in notmuch-show view. - `Notmuch-show-{add,remove}-tag' functions no longer accept tag - argument, `notmuch-show-tag-message' should be used instead. Custom + `notmuch-show-{add,remove}-tag` functions no longer accept tag + argument, `notmuch-show-tag-message` should be used instead. Custom bindings using these functions should be updated, e.g.: (notmuch-show-remove-tag "unread") @@ -155,7 +155,7 @@ More flexible and consistent tagging operations Refreshing the show view ('=' by default) no longer opens or closes messages To get the old behavior of putting messages back in their initial - opened/closed state, use a prefix argument, e.g., C-u =. + opened/closed state, use a prefix argument, e.g., 'C-u ='. Attachment buttons can be used to view or save attachments. @@ -168,14 +168,14 @@ Attachment buttons can be used to view or save attachments. New functions - `notmuch-show-stash-mlarchive-link{,-and-go}' allow stashing and + `notmuch-show-stash-mlarchive-link{,-and-go}` allow stashing and optionally visiting a URI to the current message at one of a number of Mailing List Archives. Fix MML tag quoting in replies The MML tag quoting fix of 0.11.1 unintentionally quoted tags - inserted in `message-setup-hook'. Quoting is now limited to the + inserted in `message-setup-hook`. Quoting is now limited to the cited message. Show view archiving key binding changes @@ -199,9 +199,9 @@ Generate inline patch fake attachment file names from message subject 'git format-patch' instead of just "inline patch". See "Notmuch Show Insert Text/Plain Hook" in the notmuch customize interface. -Enable `notmuch-search-line-faces' by default +Enable `notmuch-search-line-faces` by default - Make the `notmuch-search-line-faces' functionality more discoverable + Make the `notmuch-search-line-faces` functionality more discoverable for new users by showing "unread" messages bold and "flagged" messages blue by default in the search view. @@ -215,7 +215,7 @@ Library changes New functions - notmuch_query_add_tag_exclude supports the new tag exclusion + `notmuch_query_add_tag_exclude` supports the new tag exclusion feature. Python bindings changes @@ -245,10 +245,10 @@ Compatibility with GMime 2.6 Notmuch 0.11.1 (2012-02-03) =========================== -Bug-fix release. ----------------- +Bug-fix release +--------------- -Fix error handling in python bindings. +Fix error handling in python bindings The python bindings in 0.11 failed to detect NULL pointers being returned from libnotmuch functions and thus failed to raise @@ -275,13 +275,13 @@ Command-Line Interface Hooks Hooks have been introduced to notmuch. Hooks are scripts that notmuch - invokes before and after certain actions. Initially, "notmuch new" - supports "pre-new" and "post-new" hooks that are run before and after + invokes before and after certain actions. Initially, `notmuch new` + supports `pre-new` and `post-new` hooks that are run before and after importing new messages into the database. -notmuch reply --decrypt bugfix +`notmuch reply --decrypt bugfix` - The "notmuch reply" command with --decrypt argument had a rarely + 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. @@ -290,7 +290,7 @@ Performance Automatic tag query optimization - "notmuch tag" now automatically optimizes the user's query to + `notmuch tag` now automatically optimizes the user's query to exclude messages whose tags won't change. In the past, we've suggested that people do this by hand; this is no longer necessary. @@ -298,7 +298,7 @@ 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). + example to compare two dump files), one can use e.g. `sort(1)`. Memory Management ----------------- @@ -318,11 +318,11 @@ Bug fixes should have scrolled down to show more of the current message instead. This is now fixed. -Support "notmuch new" as a notmuch-poll-script +Support `notmuch new` as a notmuch-poll-script - It's now possible to use "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 + advantage of the `notmuch new` hooks from emacs without intermediate scripts. Improvements in saved search management @@ -351,7 +351,7 @@ Use space as default thousands separator changed by customizing "notmuch-hello-thousands-separator". Call notmuch-show instead of notmuch-search when clicking on -buttonized id: links. +buttonized id: links New function notmuch-show-advance @@ -361,37 +361,37 @@ New function notmuch-show-advance (define-key notmuch-show-mode-map " " 'notmuch-show-advance) -Various performance improvements. +Various performance improvements New add-on tool --------------- -The tool contrib/notmuch-deliver helps with initial delivery and -tagging of mail (replacing running notmuch new). +The tool `contrib/notmuch-deliver` helps with initial delivery and +tagging of mail (replacing running `notmuch new`). Notmuch 0.10.2 (2011-12-04) =========================== -Bug-fix release. ----------------- +Bug-fix release +--------------- -Fix crash in python bindings. +Fix crash in python bindings - The python bindings did not call g_type_init, which caused crashes + The python bindings did not call `g_type_init`, which caused crashes for some, but not all users. Notmuch 0.10.1 (2011-11-25) =========================== -Bug-fix release. ----------------- +Bug-fix release +--------------- -Fix --help argument +Fix `--help` argument - Argument processing changes in 0.10 introduced a bug where "notmuch - --help" crashed while "notmuch help" worked fine. This is fixed in - 0.10.1. + Argument processing changes in 0.10 introduced a bug where + `notmuch --help` crashed while `notmuch help` worked fine. + This is fixed in 0.10.1. Notmuch 0.10 (2011-11-23) ========================= @@ -399,7 +399,7 @@ Notmuch 0.10 (2011-11-23) New build and testing features ------------------------------ -Emacs tests are now done in dtach. This means that dtach is now +Emacs tests are now done in `dtach`. This means that dtach is now needed to run the notmuch test suite, at least until the checking for prerequisites is improved. @@ -408,32 +408,33 @@ Full test coverage of the stashing feature in Emacs. New command-line features ------------------------- -Add "notmuch restore --accumulate" option +Add `notmuch restore --accumulate` option - The --accumulate switch causes the union of the existing and new tags to be - applied, instead of replacing each message's tags as they are read in from - the dump file. + The `--accumulate` switch causes the union of the existing and new tags to + be applied, instead of replacing each message's tags as they are read in + from the dump file. -Add search terms to "notmuch dump" +Add search terms to `notmuch dump` The dump command now takes an optional search term much like notmuch search/show/tag. The output file argument of dump is deprecated in favour of using stdout. -Add "notmuch search" --offset and --limit options +Add `notmuch search` `--offset` and `--limit` options - The search command now takes options --offset=[-]N and --limit=N to limit - the number of results shown. + The search command now takes options `--offset=[-]N` and `--limit=N` to + limit the number of results shown. -Add "notmuch count --output" option +Add `notmuch count --output` option The count command is now capable of counting threads in addition to - messages. This is selected using the new --output=(threads|messages) option. + messages. This is selected using the new `--output=(threads|messages)` + option. New emacs UI features --------------------- -Add tab-completion for notmuch-search and notmuch-search-filter +Add tab-completion for `notmuch-search` and `notmuch-search-filter` These functions now support completion tags for query parts starting with "tag:". @@ -447,7 +448,7 @@ Add keybinding ('c I') for stashing Message-ID's without an id: prefix Reduces manual labour when stashing them for use outside notmuch. -Do not query on notmuch-search exit +Do not query on `notmuch-search` exit It is harmless to kill the external notmuch process, so the user is no longer interrogated when they interrupt a search. @@ -489,9 +490,9 @@ Notmuch 0.9 (2011-10-01) New, general features --------------------- -Correct handling of interruptions during "notmuch new" +Correct handling of interruptions during `notmuch new` - "notmuch new" now operates as a series of small, self-consistent + `notmuch new` now operates as a series of small, self-consistent transactions, so it can correctly resume after an interruption or crash. Previously, interruption could lose existing tags, fail to detect messages on resume, or leave the database in a state @@ -502,14 +503,14 @@ Library changes New functions - notmuch_database_begin_atomic and notmuch_database_end_atomic allow - multiple database operations to be performed atomically. + `notmuch_database_begin_atomic` and `notmuch_database_end_atomic` + allow multiple database operations to be performed atomically. - notmuch_database_find_message_by_filename does exactly what it says. + `notmuch_database_find_message_by_filename` does exactly what it says. API changes - notmuch_database_find_message (and n_d_f_m_by_filename) now return + `notmuch_database_find_message` (and `n_d_f_m_by_filename`) now return a status indicator and uses an output parameter for the message. This change required changing the SONAME of libnotmuch to libnotmuch.so.2 @@ -519,33 +520,33 @@ Python bindings changes - Re-encode python unicode objects to utf-8 before passing back to libnotmuch. - - Support Database().begin_atomic()/end_atomic() - - Support Database().find_message_by_filename() + - Support `Database().begin_atomic()/end_atomic()` + - Support `Database().find_message_by_filename()` NB! This needs a db opened in READ-WRITE mode currently, or it will crash the python process. The is a limitation (=bug) of the underlying libnotmuch. - Fixes where we would not throw NotmuchErrors when we should (Justus Winter) - - Update for n_d_find_message* API changes (see above). + - Update for `n_d_find_message*` API changes (see above). Ruby bindings changes --------------------- - - Wrap new library functions notmuch_database_{begin,end}_atomic. - - Add new exception Notmuch::UnbalancedAtomicError. - - Rename destroy to destroy! according to Ruby naming conventions. - - Update for n_d_find_message* API changes (see above). + - Wrap new library functions `notmuch_database_{begin,end}_atomic.` + - Add new exception `Notmuch::UnbalancedAtomicError.` + - Rename destroy to destroy! according to Ruby naming conventions. + - Update for `n_d_find_message*` API changes (see above). Emacs improvements ------------------ * Add gpg callback to crypto sigstatus buttons to retrieve/refresh signing key. - * Add notmuch-show-refresh-view function (and corresponding binding) + * Add `notmuch-show-refresh-view` function (and corresponding binding) to refresh the view of a notmuch-show buffer. Reply formatting cleanup ------------------------ - "notmuch reply" no longer includes notification that non-leafnode + `notmuch reply` no longer includes notification that non-leafnode MIME parts are being suppressed. Notmuch 0.8 (2011-09-10) @@ -572,7 +573,7 @@ Documentation update for Ruby bindings Unicode, iterator, PEP8 changes for python bindings - PEP8 (code formatting) changes for python files. - - Remove Tags.__len__ ; see 0.6 release notes for motivation. + - Remove `Tags.__len__` ; see 0.6 release notes for motivation. - Decode headers as UTF8, encode (unicode) database paths as UTF8. Notmuch 0.7 (2011-08-01) @@ -603,7 +604,7 @@ Sebastian Spaeth contributed two changes related to unicode and UTF8: * query string is encoded as a UTF8 byte string Build-System improvements ------------------------- +------------------------- Generate notmuch.sym after the relevant object files @@ -613,10 +614,10 @@ Generate notmuch.sym after the relevant object files Notmuch 0.6.1 (2011-07-17) ========================== -Bug-fix release. ----------------- +Bug-fix release +--------------- -Re-export Xapian exception typeinfo symbols. +Re-export Xapian exception typeinfo symbols It turned out our aggressive symbol hiding caused problems for people running gcc 4.4.5. @@ -661,7 +662,7 @@ Folder-based searching Support for PGP/MIME - Both the command line interface and the emacs-interface have new + Both the command-line interface and the emacs-interface have new support for PGP/MIME, detailed below. Thanks to Daniel Kahn Gillmor and Jameson Graef Rollins for making this happen. @@ -703,7 +704,7 @@ Add new "notmuch show --part" option part, (such as --format=json for extracting a message part with JSON formatting). -Deprecate "notmuch search-tags", (in favor of "notmuch search --output=tags *") +Deprecate "notmuch search-tags" (in favor of "notmuch search --output=tags *") The "notmuch search-tags" sub-command has been redundant since the addition of the --output=tags option to "notmuch search". We now @@ -756,7 +757,7 @@ Support for PGP/MIME (GnuPG) messages. Automatically display decrypted content for multipart/encrypted messages. See the emacs variable notmuch-crypto-process-mime for more information. Note that this - needs gpg-agent and a pinentry tool just as the command line tools. + needs gpg-agent and a pinentry tool just as the command-line tools. Also note there is no support SMIME yet. Output of pipe command is now displayed if pipe command fails @@ -832,8 +833,10 @@ Avoid getting confused by Subject and Author fields with newline characters Replacing all characters with ASCII code less than 32 with a question mark. -Cleaner display of From line in email messages (remove double quotes, -and drop "name" if it's actually just a repeat of the email address). +Cleaner display of From line in email messages + + Remove double quotes, and drop "name" if it's actually just a repeat of + the email address. Vim interface improvements -------------------------- @@ -851,25 +854,25 @@ Bindings improvements Ruby bindings are now much more complete - Including QUERY.sort, QUERY.to_s, MESSAGE.maildir_flags_to_tags, - MESSAGE.tags_to_maildir_flags, and MESSAGE.get_filenames + Including `QUERY.sort`, `QUERY.to_s`, `MESSAGE.maildir_flags_to_tags`, + `MESSAGE.tags_to_maildir_flags`, and `MESSAGE.get_filenames` -* Python bindings have been updated and extended +Python bindings have been updated and extended (docs online at http://packages.python.org/notmuch/) New bindings: - - Message().get_filenames(), Message().tags_to_maildir_flags(), - Message().maildir_flags_to_tags(), list(Threads()) and - list(Messages) works now - - Message().__cmp__() and __hash__() + - `Message().get_filenames()`, `Message().tags_to_maildir_flags()`, + `Message().maildir_flags_to_tags()`, `list(Threads())` and + `list(Messages)` works now + - `Message().__cmp__()` and `__hash__()` These allow, for example: if msg1 == msg2: ... - As well as set arithmetic on Messages(): + As well as set arithmetic on `Messages()`: s1, s2 = set(msgs1), set(msgs2) s1.union(s2) @@ -877,9 +880,9 @@ Ruby bindings are now much more complete Removed: - - len(Messages()) as it exhausted the iterator + - `len(Messages())` as it exhausted the iterator - Use len(list(Messages())) or Query.count_messages() + Use `len(list(Messages()))` or `Query.count_messages()` to get the length. Added initial Go bindings in bindings/go @@ -917,12 +920,12 @@ Binary for bash for running test suite now located via PATH simply install bash >= 4 somewhere on $PATH before /bin and then use the test suite. -Support for testing output with a trailing newline. +Support for testing output with a trailing newline Previously, some tests would fail to notice a difference in the presence/absence of a trailing newline in a program output, (which has led to bugs in the past). Now, carefully-written tests (using - test_expect_equal_file rather than test_expect_equal) will detect + `test_expect_equal_file` rather than `test_expect_equal`) will detect any change in the presence/absence of a trailing newline. Many tests are updated to take advantage of this. @@ -960,15 +963,15 @@ Fix --output=json when search has no results return a valid json object representing an empty array "[]" as expected. -fix the automatic detection of the From address for "notmuch reply" -from the Received headers in some cases. +Fix the automatic detection of the From address for "notmuch reply" +from the Received headers in some cases Fix core dump on DragonFlyBSD due to -1 return value from -sysconf(_SC_GETPW_R_SIZE_MAX). +`sysconf(_SC_GETPW_R_SIZE_MAX)` Cleaned up several memory leaks -Eliminated a few, rare segmentation faults and a double-free. +Eliminated a few, rare segmentation faults and a double-free Fix libnotmuch library to only export notmuch API functions @@ -1032,7 +1035,7 @@ Maildir-flag synchronization This synchronization is enabled by default for users of the command-line interface, (though only files in directories named "cur" or "new" will be renamed). It can be disabled by setting the - new maildir.synchronize_flags option in the configuration file. For + new `maildir.synchronize_flags` option in the configuration file. For example: notmuch config set maildir.synchronize_flags false @@ -1059,16 +1062,16 @@ Support for querying multiple filenames for a single message It is common for the mailstore to contain multiple files with the same message ID. Previously, notmuch would always hide these duplicate files, (returning a single, arbitrary filename with - notmuch_message_get_filename). + `notmuch_message_get_filename`). With this release, library users can access all filenames for a message with the new function: notmuch_message_get_filenames - Together with notmuch_filenames_valid, notmuch_filenames_get, and - notmuch_filenames_move_to_next it is now possible to iterate over - all available filenames for a given message. + Together with `notmuch_filenames_valid`, `notmuch_filenames_get`, + and `notmuch_filenames_move_to_next` it is now possible to iterate + over all available filenames for a given message. New command-line features ------------------------- @@ -1109,15 +1112,15 @@ Emacs interface improvements Fix to allow pipe ('|') command to work when using notmuch over ssh -Fix count of lines in hidden signatures. +Fix count of lines in hidden signatures -Omit repeated subject lines in (collapsed) thread display. +Omit repeated subject lines in (collapsed) thread display -Display current thread subject in a header line. +Display current thread subject in a header line -Provide a "c i" binding to copy a thread ID from the search view. +Provide a "c i" binding to copy a thread ID from the search view -Allow for notmuch-fcc-dirs to have a value of nil. +Allow for notmuch-fcc-dirs to have a value of nil Also, the more complex form of notmuch-fcc-dirs now has a slightly different format. It no longer has a special first-element, fallback @@ -1147,7 +1150,7 @@ Notmuch 0.4 (2010-11-01) New command-line features ------------------------- -notmuch search --output=(summary|threads|messages|tags|files) +`notmuch search --output=(summary|threads|messages|tags|files)` This new option allows for particular items to be returned from notmuch searches. The "summary" option is the default and behaves @@ -1162,7 +1165,7 @@ notmuch search --output=(summary|threads|messages|tags|files) "$file" done -notmuch show --format=mbox +`notmuch show --format=mbox ` This new option allows for the messages matching a search specification to be presented as an mbox. Specifically the "mboxrd" @@ -1171,7 +1174,7 @@ notmuch show --format=mbox beginning of all lines beginning with one or more '>' characters followed by the 5 characters "From ". -notmuch config [get|set]
. [value ...] +`notmuch config [get|set]
. [value ...]` The new top-level "config" command allows for any value in the notmuch configuration file to be queried or set to a new value. Both @@ -1188,10 +1191,10 @@ Avoid setting Bcc header in "notmuch reply" New library features -------------------- -Add notmuch_query_get_query_string and notmuch_query_get_sort +Add `notmuch_query_get_query_string` and `notmuch_query_get_sort` These are simply functions for querying properties of a - notmuch_query_t object. + `notmuch_query_t` object. New emacs features ------------------ @@ -1236,7 +1239,7 @@ Allow search-result color specifications to overlay each other case in previous releases). See "Notmuch Search Line Faces" in the notmuch customize interface. -Make hidden author names still available for incremental search. +Make hidden author names still available for incremental search When there is insufficient space to display all authors of a thread in search results, the names of hidden authors are now still made @@ -1253,6 +1256,7 @@ New binding of Control-TAB (works like TAB in reverse) New build-system features ------------------------- + Various portability fixes have been applied These include fixes for build failures on at least Solaris, FreeBSD, @@ -1270,13 +1274,13 @@ Arrange for libnotmuch to be found automatically after make install automatically run ldconfig. 2. If the library is installed to a non-system directory, the - build system adds a DR_RUNPATH entry to the final binary + build system adds a `DR_RUNPATH` entry to the final binary pointing to the directory to which the library is installed. When this support works, the user should be able to run notmuch immediately after "make install", without any errors trying to find the notmuch library, and without having to manually set environment - variables such as LD_LIBRARY_PATH. + variables such as `LD_LIBRARY_PATH`. Check compiler/linker options before using them @@ -1299,7 +1303,7 @@ New modularization of test suite it easy to run the test suite within valgrind (pass --valgrind to notmuch-test or to any sub-script) which has been very useful. -New testing of emacs interface. +New testing of emacs interface The test suite has been augmented to allow automated testing of the emacs interfaces. So far, this includes basic searches, display of @@ -1322,7 +1326,7 @@ Fix potential corruption of database when "notmuch new" is interrupted The message-adding code has been carefully audited and reworked to avoid this sort of corruption regardless of when it is interrupted. -Fix failure with extremely long message ID headers. +Fix failure with extremely long message ID headers Previously, a message with an extremely long message ID, (say, more than 300 characters), would fail to be added to notmuch, (triggering @@ -1334,9 +1338,10 @@ Fix for messages with "charset=unknown-8bit" GMime warning, (which would then trip up emacs or other interfaces parsing the notmuch results). -Fix notmuch_query_search_threads function to return NULL on any exception +Fix `notmuch_query_search_threads` function to return NULL on any exception -Fix "notmuch search" to return non-zero if notmuch_query_search_threads fails +Fix "notmuch search" to return non-zero if `notmuch_query_search_threads` +fails Previously, this command could confusingly report a Xapian exception, yet still return an error code of 0. It now correctly @@ -1399,7 +1404,7 @@ Emacs bug fixes Fix calculations for line wrapping in the primary "notmuch" view Fix Fcc support to prompt to create a directory if the specified Fcc -directory does not exist. +directory does not exist Build fix --------- @@ -1550,7 +1555,7 @@ New 'G' key binding to trigger mail refresh (G == "Get new mail") typically invoke "notmuch new" and then perhaps several "notmuch tag" commands. -Implement emacs message display with the JSON output from notmuch. +Implement emacs message display with the JSON output from notmuch This is much more robust than the previous implementation, (where some HTML mails and mail quoting the notmuch code with the delimiter @@ -1612,16 +1617,16 @@ Customizable formatting of search results the various fields in a "notmuch search" buffer. See the "Notmuch Search Result Format" section of the customize interface. -Generate nicer names for search buffers when using a saved search. +Generate nicer names for search buffers when using a saved search -Add a notmuch User-Agent header when sending mail from notmuch/emacs. +Add a notmuch User-Agent header when sending mail from notmuch/emacs -New keybinding (M-Ret) to open all collapsed messages in a thread. +New keybinding (M-Ret) to open all collapsed messages in a thread New library feature ------------------- -Provide a new NOTMUCH_SORT_UNSORTED value for queries +Provide a new `NOTMUCH_SORT_UNSORTED` value for queries This can be somewhat faster when sorting simply isn't desired. For example when collecting a set of messages that will all be @@ -1637,7 +1642,7 @@ Fix to compile against GMime 2.6 Previously notmuch insisted on being able to find GMime 2.4, (even though GMime 2.6 would have worked all along). -Fix configure script to accept (and ignore) various standard options. +Fix configure script to accept (and ignore) various standard options For example, those that the Gentoo build scripts expect configure to accept are now all accepted. @@ -1685,7 +1690,7 @@ Make "notmuch count" with no arguments count all messages Previously, it was hard to construct a search term that was guaranteed to match all messages. -Provide a new special-case search term of "*" to match all messages. +Provide a new special-case search term of "*" to match all messages This can be used in any command accepting a search term, such as "notmuch search '*'". Note that you'll want to take care that the @@ -1695,7 +1700,7 @@ Provide a new special-case search term of "*" to match all messages. other search terms. Automatically detect thread connections even when a parent message is -missing. +missing Previously, if two or more message were received with a common parent, but that parent was not received, then these messages would @@ -1712,7 +1717,7 @@ Fix potential data loss in "notmuch new" with SIGINT the database (and their tags being lost) if the user pressed Control-C while "notmuch new" was working. -Fix segfault when a message includes a MIME part that is empty. +Fix segfault when a message includes a MIME part that is empty Fix handling of non-ASCII characters with --format=json @@ -1747,20 +1752,20 @@ Show the last few lines of citations as well as the first few lines notmuch-show-citation-lines-suffix). The '+' and '-' commands in the search view can now add and remove -tags by region. +tags by region Selective bulk tagging is now possible by selecting a region of threads and then using either the '+' or '-' keybindings. Bulk tagging is still available for all threads matching the current search with the '*' binding. -More meaningful buffer names for thread-view buffers. +More meaningful buffer names for thread-view buffers Notmuch now uses the Subject of the thread as the buffer name. Previously it was using the thread ID, which is a meaningless number to the user. -Provide for customized colors of threads in search view based on tags. +Provide for customized colors of threads in search view based on tags See the documentation of notmuch-search-line-faces, (or us "M-x customize" and browse to the "notmuch" group within "Applications" @@ -1783,16 +1788,16 @@ Add support to configure for many standard options --disable-maintainer-mode --disable-dependency-tracking Install emacs client in "make install" rather than requiring a -separate "make install-emacs". +separate "make install-emacs" -Automatically compute versions numbers between releases. +Automatically compute versions numbers between releases This support uses the git-describe notation, so a version such as 0.1-144-g43cbbfc indicates a version that is 144 commits since the 0.1 release and is available as git commit "43cbbfc". -Add a new "make test" target to run the test suite and actually verify -its results. +Add a new "make test" target to run the test suite and actually +verify its results Notmuch 0.1 (2010-04-05) ======================== -- cgit v1.2.3 From f1c6e22ee60c6e546315368aa3c3d90be36cd945 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Mon, 30 Apr 2012 12:25:38 -0400 Subject: News for changes to notmuch_database_{open,create} --- NEWS | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3a5c744..c0cb3a2 100644 --- a/NEWS +++ b/NEWS @@ -81,15 +81,20 @@ contrib/ from now on. Library changes --------------- -API changes - - The function notmuch_database_close has been split into - notmuch_database_close and notmuch_database_destroy. +The function notmuch_database_close has been split into +notmuch_database_close and notmuch_database_destroy This makes it possible for long running programs to close the xapian database and thus release the lock associated with it without destroying the data structures obtained from it. +notmuch_database_open and notmuch_database_create now return errors + + The type signatures of notmuch_database_open and + notmuch_database_create have changed so that the functions now + return a notmuch_status_t and take an out-argument for returning the + new database object. + Notmuch 0.12 (2012-03-20) ========================= -- cgit v1.2.3 From 7bf5be75ae8e3c2d4e8c06bba8b44f4fd495349b Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 28 Apr 2012 18:25:36 -0400 Subject: lib: Bump SO version from 2.0.0 to 3.0.0 We've changed the APIs of notmuch_database_open, notmuch_database_create, and notmuch_database_close. Amended by db: also bump string in bindings/python/notmuch/globals.py --- NEWS | 3 +++ bindings/python/notmuch/globals.py | 2 +- lib/Makefile.local | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c0cb3a2..9e32d56 100644 --- a/NEWS +++ b/NEWS @@ -81,6 +81,9 @@ contrib/ from now on. Library changes --------------- +The API changes detailed below break binary and source compatibility, +so libnotmuch has been bumped to version 3.0.0. + The function notmuch_database_close has been split into notmuch_database_close and notmuch_database_destroy diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py index 823c3e2..f5fad72 100644 --- a/bindings/python/notmuch/globals.py +++ b/bindings/python/notmuch/globals.py @@ -22,7 +22,7 @@ from ctypes import CDLL, Structure, POINTER #----------------------------------------------------------------------------- #package-global instance of the notmuch library try: - nmlib = CDLL("libnotmuch.so.2") + nmlib = CDLL("libnotmuch.so.3") except: raise ImportError("Could not find shared 'notmuch' library.") diff --git a/lib/Makefile.local b/lib/Makefile.local index 54c4dea..8a9aa28 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -5,7 +5,7 @@ # the library interface, (such as the deletion of an API or a major # semantic change that breaks formerly functioning code). # -LIBNOTMUCH_VERSION_MAJOR = 2 +LIBNOTMUCH_VERSION_MAJOR = 3 # The minor version of the library interface. This should be incremented at # the time of release for any additions to the library interface, -- cgit v1.2.3 From 8a810c485f53b274f49cee9b02c1f4321ec78823 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sat, 12 May 2012 15:43:23 +0200 Subject: NEWS: add an entry for the go 1 compatibility Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> --- NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 9e32d56..c67f186 100644 --- a/NEWS +++ b/NEWS @@ -98,6 +98,14 @@ notmuch_database_open and notmuch_database_create now return errors return a notmuch_status_t and take an out-argument for returning the new database object. +go bindings changes +------------------- + +Go 1 compatibility + + The go bindings and the notmuch-addrlookup utility are now + compatible with go 1. + Notmuch 0.12 (2012-03-20) ========================= -- cgit v1.2.3 From 7a88e60868bdeae44c7a33818d14f1d5abf480ce Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sun, 13 May 2012 19:36:13 -0400 Subject: news: Update for changes to notmuch_database_get_directory --- NEWS | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c67f186..f987811 100644 --- a/NEWS +++ b/NEWS @@ -91,12 +91,12 @@ notmuch_database_close and notmuch_database_destroy database and thus release the lock associated with it without destroying the data structures obtained from it. -notmuch_database_open and notmuch_database_create now return errors +notmuch_database_open, notmuch_database_create, and +notmuch_database_get_directory now return errors - The type signatures of notmuch_database_open and - notmuch_database_create have changed so that the functions now - return a notmuch_status_t and take an out-argument for returning the - new database object. + The type signatures of these functions have changed so that the + functions now return a notmuch_status_t and take an out-argument for + returning the new database object or directory object. go bindings changes ------------------- -- cgit v1.2.3 From 069aa1892f26a955dbfc3e9c55600c74806975f0 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Tue, 15 May 2012 09:26:42 -0700 Subject: add NEWS item about new emacs tagging interface. This is fairly important to mention, since it represents a user interface change. --- NEWS | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index f987811..69a7203 100644 --- a/NEWS +++ b/NEWS @@ -15,7 +15,7 @@ JSON reply format "notmuch reply" can now produce JSON output that contains the headers for a reply message and full information about the original message - begin replied to. This allows MUAs to create replies intelligtently. + begin replied to. This allows MUAs to create replies intelligently. For example, an MUA that can parse HTML might quote HTML parts. Calling notmuch reply with --format=json imposes the restriction that @@ -60,6 +60,18 @@ Listing configuration items Emacs Interface --------------- +Changes to tagging interface + + The user-facing tagging functions in the Emacs interface have been + normalized across all notmuch modes. The tagging functions are now + 'notmuch-search-tag' in search-mode, and 'notmuch-show-tag' in + show-mode. They accept a string representing a single tag change, + or a list of tag changes. See 'M-x describe-function notmuch-tag' + for more information. + + NOTE: This breaks compatibility with old tagging functions, so user + may need to update in custom configurations. + Reply improvement using the JSON format Emacs now uses the JSON reply format to create replies. It obeys -- cgit v1.2.3 From b400d57ce6f4f02896aff3ff419a6d7e88039d97 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 16 May 2012 10:21:47 +0300 Subject: NEWS: Dropped old 'Reply to sender' section 'Reply to sender' section was 0.12 news which was accidentally duplicated in 0.13 news --- NEWS | 7 ------- 1 file changed, 7 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 69a7203..9a690cb 100644 --- a/NEWS +++ b/NEWS @@ -4,13 +4,6 @@ Notmuch 0.13 (2012-xx-xx) Command-Line Interface ---------------------- -Reply to sender - - "notmuch reply" has gained the ability to create a reply template - for replying just to the sender of the message, in addition to reply - to all. The feature is available through the new command line option - --reply-to=(all|sender). - JSON reply format "notmuch reply" can now produce JSON output that contains the headers -- cgit v1.2.3 From be63e154232a349c2c82c48c300cb5b99c76c491 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 16 May 2012 10:21:48 +0300 Subject: NEWS: Changed 0.13 release date in NEWS file to 2012-05-15 --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 9a690cb..970aa40 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Notmuch 0.13 (2012-xx-xx) +Notmuch 0.13 (2012-05-15) ========================= Command-Line Interface -- cgit v1.2.3 From b9faffac126d57d9fc6a3493583b49c67efa8621 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 16 May 2012 10:21:49 +0300 Subject: NEWS: Insert markdown formatting commands in 0.13 section text NEWS entries in section 0.13 is brought consistent with rest of the NEWS file. --- NEWS | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 970aa40..ad4859d 100644 --- a/NEWS +++ b/NEWS @@ -6,12 +6,12 @@ Command-Line Interface JSON reply format - "notmuch reply" can now produce JSON output that contains the headers + `notmuch reply` can now produce JSON output that contains the headers for a reply message and full information about the original message begin replied to. This allows MUAs to create replies intelligently. For example, an MUA that can parse HTML might quote HTML parts. - Calling notmuch reply with --format=json imposes the restriction that + Calling notmuch reply with `--format=json` imposes the restriction that only a single message is returned by the search, as replying to multiple messages does not have a well-defined behavior. The default retains its current behavior for multiple message replies. @@ -19,24 +19,24 @@ JSON reply format Tag exclusion Tags can be automatically excluded from search results by adding them - to the new 'search.exclude_tags' option in the Notmuch config file. + to the new `search.exclude_tags` option in the Notmuch config file. This behaviour can be overridden by explicitly including an excluded tag in your query, for example: - notmuch search $your_query and tag:$excluded_tag + notmuch search $your_query and tag:$excluded_tag - Existing users will probably want to run "notmuch setup" again to add + Existing users will probably want to run `notmuch setup` again to add the new well-commented [search] section to the configuration file. For new configurations, accepting the default setting will cause the tags "deleted" and "spam" to be excluded, equivalent to running: - notmuch config set search.exclude_tags deleted spam + notmuch config set search.exclude_tags deleted spam Raw show format changes - The output of show --format=raw has changed for multipart and + The output of show `--format=raw` has changed for multipart and message parts. Previously, the output was a mash of somewhat-parsed headers and transfer-decoded bodies. Now, such parts are reproduced faithfully from the original source. Message parts (which includes @@ -47,7 +47,7 @@ Raw show format changes Listing configuration items - The new "config list" command prints out all configuration items and + The new `config list` command prints out all configuration items and their values. Emacs Interface @@ -57,7 +57,7 @@ Changes to tagging interface The user-facing tagging functions in the Emacs interface have been normalized across all notmuch modes. The tagging functions are now - 'notmuch-search-tag' in search-mode, and 'notmuch-show-tag' in + notmuch-search-tag in search-mode, and notmuch-show-tag in show-mode. They accept a string representing a single tag change, or a list of tag changes. See 'M-x describe-function notmuch-tag' for more information. @@ -76,11 +76,11 @@ Reply improvement using the JSON format New add-on tool: notmuch-mutt ----------------------------- -The new contrib/ tool "notmuch-mutt" provides Notmuch integration for +The new contrib/ tool `notmuch-mutt` provides Notmuch integration for the Mutt mail user agent. Using it, Mutt users can perform mail search, thread reconstruction, and mail tagging/untagging without leaving Mutt. notmuch-mutt, formerly distributed under the name -"mutt-notmuch" by Stefano Zacchiroli, will be maintained as a notmuch +`mutt-notmuch` by Stefano Zacchiroli, will be maintained as a notmuch contrib/ from now on. Library changes @@ -89,18 +89,18 @@ Library changes The API changes detailed below break binary and source compatibility, so libnotmuch has been bumped to version 3.0.0. -The function notmuch_database_close has been split into -notmuch_database_close and notmuch_database_destroy +The function `notmuch_database_close` has been split into +`notmuch_database_close` and `notmuch_database_destroy` This makes it possible for long running programs to close the xapian database and thus release the lock associated with it without destroying the data structures obtained from it. -notmuch_database_open, notmuch_database_create, and -notmuch_database_get_directory now return errors +`notmuch_database_open`, `notmuch_database_create`, and +`notmuch_database_get_directory` now return errors The type signatures of these functions have changed so that the - functions now return a notmuch_status_t and take an out-argument for + functions now return a `notmuch_status_t` and take an out-argument for returning the new database object or directory object. go bindings changes @@ -108,7 +108,7 @@ go bindings changes Go 1 compatibility - The go bindings and the notmuch-addrlookup utility are now + The go bindings and the `notmuch-addrlookup` utility are now compatible with go 1. Notmuch 0.12 (2012-03-20) -- cgit v1.2.3 From d2d476b014076eec69018b5f584c27fc20508313 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Wed, 16 May 2012 10:21:50 +0300 Subject: NEWS: Capitalized go bindings changes title Align 'Go bindings changes' title capitalization to rest of the file --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ad4859d..668281c 100644 --- a/NEWS +++ b/NEWS @@ -103,7 +103,7 @@ The function `notmuch_database_close` has been split into functions now return a `notmuch_status_t` and take an out-argument for returning the new database object or directory object. -go bindings changes +Go bindings changes ------------------- Go 1 compatibility -- cgit v1.2.3 From c2f6c2a4074a49071b1a3f8a7a70bdc3d12f48cc Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Thu, 24 May 2012 20:09:20 +0300 Subject: NEWS: started 0.13.1 stanza: fix decoding of text/plain parts in reply NEWS item for forthcoming 0.13.1 bug fix release: UTF-8 characters were incorrectly decoded when inserting reply content from text/plain parts. --- NEWS | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 668281c..cac7c73 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,16 @@ +Notmuch 0.13.1 (yyyy-mm-dd) +=========================== + +Bug-fix release +--------------- + +Fix inserting of UTF-8 characters from *text/plain* parts in reply + + While notmuch gained ability to insert content from other than *text/plain* + parts of email whenever *text/plain* parts are not available (notably + HTML-only emails), replying to mails that do have *text/plain* the + non-ASCII characters were incorrectly decoded. This is now fixed. + Notmuch 0.13 (2012-05-15) ========================= -- cgit v1.2.3 From 541ba7f94f9959df56621197d9c08b2072058d5c Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 24 May 2012 21:17:26 -0400 Subject: NEWS for directory function fixes --- NEWS | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index cac7c73..9fd1469 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,16 @@ Fix inserting of UTF-8 characters from *text/plain* parts in reply HTML-only emails), replying to mails that do have *text/plain* the non-ASCII characters were incorrectly decoded. This is now fixed. +`notmuch_database_get_directory` and +`notmuch_database_find_message_by_filename` now work on read-only +databases + + Previously, these functions attempted to create directory documents + that didn't exist and would return an error or abort when given a + read-only database. Now they no longer create directory documents + and simply return a `NULL` object if the directory does not exist, + as documented. + Notmuch 0.13 (2012-05-15) ========================= -- cgit v1.2.3 From 393afbfa6133137f2e6f43e864b09fca0f2c6957 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 25 May 2012 21:13:19 -0300 Subject: fix release date for 0.13.1 --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 9fd1469..d5bc34e 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Notmuch 0.13.1 (yyyy-mm-dd) +Notmuch 0.13.1 (2012-05-29) =========================== Bug-fix release -- cgit v1.2.3 From dd4c9b4cb607cf3cfc03f871de0b77cb88230f8a Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 28 May 2012 20:40:45 -0300 Subject: NEWS: add item about ruby bindings. Corrections or clarifications welcome. --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index d5bc34e..0106722 100644 --- a/NEWS +++ b/NEWS @@ -21,6 +21,11 @@ databases and simply return a `NULL` object if the directory does not exist, as documented. +Fix compilation of ruby bindings. + + Revert to dynamic linking, since the statically linked bindings did + not work well. + Notmuch 0.13 (2012-05-15) ========================= -- cgit v1.2.3 From b9effbba387924d51d9437ea8186d78d7825f5a7 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 2 Jun 2012 18:15:06 -0300 Subject: NEWS: update for 0.13.2 --- NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 0106722..fb55efb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +Notmuch 0.13.2 (2012-06-02) +=========================== + +Bug-fix release +--------------- + +Update contrib/notmuch-deliver for API changes in 0.13. This fixes a +compilation error for this contrib package. + Notmuch 0.13.1 (2012-05-29) =========================== -- cgit v1.2.3 From a7bc1c7bc5a47e8abd5087431d65f746ef20ee81 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 9 Jun 2012 15:14:18 -0400 Subject: News for updated maildir sync semantics --- NEWS | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index fb55efb..d29ec5b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,19 @@ +Notmuch 0.14 (xxxx-xx-xx) +========================= + +General bug fixes +----------------- + +Maildir tag synchronization + + Maildir flag-to-tag synchronization now applies only to messages in + maildir-like directory structures. Previously, it applied to any + message that had a maildir "info" part, which meant it could + incorrectly synchronize tags for non-maildir messages, while at the + same time failing to synchronize tags for newly received maildir + messages (typically causing new messages to not receive the "unread" + tag). + Notmuch 0.13.2 (2012-06-02) =========================== -- cgit v1.2.3 From ac7b5428148711a53b15a4ef09e79895477d4c29 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Mon, 9 Jul 2012 17:42:42 -0400 Subject: News for JSON-based search --- NEWS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index d29ec5b..a1a6e93 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,23 @@ Maildir tag synchronization messages (typically causing new messages to not receive the "unread" tag). +Emacs Interface +--------------- + +Search now uses the JSON format internally + + This should address problems with unusual characters in authors and + subject lines that could confuse the old text-based search parser. + +The date shown in search results is no longer padded before applying +user-specified formatting + + Previously, the date in the search results was padded to fixed width + before being formatted with `notmuch-search-result-format`. It is + no longer padded. The default format has been updated, but if + you've customized this variable, you may have to change your date + format from `"%s "` to `"%12s "`. + Notmuch 0.13.2 (2012-06-02) =========================== -- cgit v1.2.3 From 90c41e39d982ac9bf317374c6f20a0855614f2dd Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 21 Jul 2012 13:37:12 -0400 Subject: News for search cleanups --- NEWS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a1a6e93..7b1f36c 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,20 @@ Maildir tag synchronization Emacs Interface --------------- +Search results now get re-colored when tags are updated + +The formatting of tags in search results can now be customized + + Previously, attempting to change the format of tags in + `notmuch-search-result-format` would usually break tagging from + search-mode. We no longer make assumptions about the format. + +Experimental support for multi-line search result formats + + It is now possible to embed newlines in + `notmuch-search-result-format` to make individual search results + span multiple lines. + Search now uses the JSON format internally This should address problems with unusual characters in authors and -- cgit v1.2.3 From 6b820673fc9c2483572af5ec7ea91e4d7d7258c9 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 5 Aug 2012 12:05:10 -0300 Subject: NEWS: discuss changes for dump and restore syntax. The duplication in NEWS.Debian is so that Debian users will be warned during upgrade. --- NEWS | 10 ++++++++++ debian/NEWS.Debian | 14 ++++++++++++++ 2 files changed, 24 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 7b1f36c..761b2c1 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,16 @@ Maildir tag synchronization messages (typically causing new messages to not receive the "unread" tag). +Command-Line Interface +---------------------- + + The deprecated positional output file argument to `notmuch dump` has + been replaced with an `--output` option. The input file positional + argument to `notmuch restore` has been replaced with an `--input` + option for consistency with dump. These changes simplify the syntax + of dump/restore options and make them more consistent with other + notmuch commands. + Emacs Interface --------------- diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian index 6947754..bf95738 100644 --- a/debian/NEWS.Debian +++ b/debian/NEWS.Debian @@ -1,3 +1,17 @@ +notmuch (0.14-1) unstable; urgency=low + + There is an incompatible change in option syntax for dump and restore + in this release. Please update your scripts. + + From upstream NEWS: + + The deprecated positional output file argument to notmuch dump has + been replaced with an --output option. The input file positional + argument for restore has been replaced with an --input option for + consistency with dump. + + -- David Bremner Sun, 05 Aug 2012 11:52:49 -0300 + notmuch (0.6~238) unstable; urgency=low The emacs user interface to notmuch is now contained in a seperate -- cgit v1.2.3