X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=news%2Frelease-0.4.mdwn;h=23ffced68a6258f80f31eb38050acf9c5d8c546a;hb=ef82988e1bbe4bf62c2471c519efa51a78267570;hp=a101f8f943a710097d1adf4c5bd2d7cc6152f6e1;hpb=d19eac8b472fe4204c991322e212c53cfe305091;p=notmuch-wiki diff --git a/news/release-0.4.mdwn b/news/release-0.4.mdwn index a101f8f..23ffced 100644 --- a/news/release-0.4.mdwn +++ b/news/release-0.4.mdwn @@ -2,9 +2,11 @@ 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 @@ -15,11 +17,11 @@ 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 +* **_`notmuch show --format=mbox `_** This new option allows for the messages matching a search specification to be presented as an mbox. Specifically the "mboxrd" @@ -28,14 +30,14 @@ 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 single-valued and multi-valued items are supported, as our any custom items stored in the configuration file. -Avoid setting Bcc header in "notmuch reply" +* **_Avoid setting Bcc header in "notmuch reply"_** We decided that this was a bit heavy-handed as the actual mail user-agent should be responsible for setting any Bcc option. Also, @@ -44,14 +46,16 @@ 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 ------------------ -Enable Fcc of all sent messages by default (to "sent" directory) + +* **_Enable Fcc of all sent messages by default (to "sent" directory)_** All messages sent from the emacs interface will now be saved to the notmuch mail store where they will be incorporated to the database @@ -60,21 +64,21 @@ Enable Fcc of all sent messages by default (to "sent" directory) can be customized by means of the "Notmuch Fcc Dirs" option in the notmuch customize interface. -Ability to all open messages in a thread to a pipe +* **_Ability to all open messages in a thread to a pipe_** Historically, the '|' keybinding allows for piping a single message to an external command. Now, by prefixing this key with a prefix argument, (for example, by pressing "Control-U |"), all open messages in the current thread will be sent to the external command. -Optional support for detecting inline patches +* **_Optional support for detecting inline patches_** This hook is disabled by default but can be enabled with a checkbox under "Notmuch Show Insert Text/Plain Hook" in the notmuch customize interface. It allows for inline patches to be detected and treated as if they were attachments, (with context-sensitive highlighting). -Automatically tag messages as "replied" when sending a reply +* **_Automatically tag messages as "replied" when sending a reply_** Messages replied to within the emacs interface will now be tagged as "replied". This feature can easily be customized to add or remove @@ -83,7 +87,7 @@ Automatically tag messages as "replied" when sending a reply that tag when replying. See "Notmuch Message Mark Replied" in the notmuch customize interface. -Allow search-result color specifications to overlay each other +* **_Allow search-result color specifications to overlay each other_** For example, one tag can specify the background color of matching lines, while another can specify the foreground. With this change, @@ -91,7 +95,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 @@ -99,7 +103,7 @@ Make hidden author names still available for incremental search. searches, matching lines will temporarily expand to show the hidden names. -New binding of Control-TAB (works like TAB in reverse) +* **_New binding of Control-TAB (works like TAB in reverse)_** Many notmuch nodes already use TAB to navigate forward through various items allowing actions, (message headers, email attachments, @@ -108,32 +112,33 @@ New binding of Control-TAB (works like TAB in reverse) New build-system features ------------------------- -Various portability fixes have been applied + +* **_Various portability fixes have been applied_** These include fixes for build failures on at least Solaris, FreeBSD, and Fedora systems. We're hopeful that the notmuch code base is now more portable than ever before. -Arrange for libnotmuch to be found automatically after make install +* **_Arrange for libnotmuch to be found automatically after make install_** The notmuch build system is now careful to help the user avoid 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 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 +* **_Check compiler/linker options before using them_** The configure script now carefully checks that any desired compilation options, (whether for enabling compiler warnings, or for @@ -142,7 +147,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 @@ -153,7 +159,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 @@ -164,32 +170,34 @@ 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 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. -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 Xapian exceptions). This has now been fixed. -Fix for messages with "charset=unknown-8bit" +* **_Fix for messages with "charset=unknown-8bit"_** Previously, messages with this charset would cause notmuch to emit a 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 @@ -197,7 +205,8 @@ 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]" + +* **_Fix to handle a message with a subject containing, for example "[1234]"_** Previously, a message subject containing a sequence of digits within square brackets would cause the emacs interface to mis-parse the @@ -205,7 +214,7 @@ Fix to handle a message with a subject containing, for example "[1234]" mis-displayed and prevent the user from manipulating the message in the emacs interface. -Fix to correctly handle message IDs containing ".." +* **_Fix to correctly handle message IDs containing ".."_** The emacs interface now properly quotes message IDs to avoid a Xapian bug in which the ".." within a message ID would be @@ -213,11 +222,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