Commit graph

18 commits

Author SHA1 Message Date
ryoon
0e36160742 notmuch: Update 0.31.2
Changelog:
What's new in notmuch 0.31.2
=========================

Build
-----

Catch one more occurence of "version" in the build system, which
caused the file to be regenerated in the release tarball.


What's new in notmuch 0.31.1
=========================

Library
-------

Fix a memory initialization bug in notmuch_database_get_config_list.

Build
-----

Rename file 'version' to 'version.txt'. The old file name conflicted
with a C++ header for some compilers.

Replace use of coreutils `realpath` in configure.
2020-11-10 14:39:44 +00:00
ryoon
10a36091d4 notmuch: Update to 0.30
Changelog:
Notmuch 0.30 (2020-07-10)
=========================

S/MIME
------

Handle S/MIME (PKCS#7) messages -- one-part signed messages, encrypted
messages, and multilayer messages. Treat them symmetrically to
OpenPGP messages. This includes handling protected headers
gracefully.

If you're using Notmuch with S/MIME, you currently need to configure
gpgsm appropriately.

Mixed-up MIME Repair
--------------------

Detect and automatically repair a common form of message mangling
created by Microsoft Exchange (see index.repaired=mixedup in
notmuch-properties(7)).

Protected Headers
-----------------

Avoid indexing the legacy-display part of an encrypted message that
has protected headers (see
index.repaired=skip-protected-headers-legacy-display in
notmuch-properties(7)).

Python
------

Drop support for python2, focus on python3.

Introduce new CFFI-based python bindings in the python module named
"notmuch2".  Officially deprecate (but still support) the older
"notmuch" module.

Dependencies
------------

Support for Xapian 1.2 is removed. The minimum supported version of
Xapian is now 1.4.0.

Notmuch 0.29.3 (2019-11-27)
===========================

General
-------

Fix for use-after-free in notmuch_config_list_{key,val}.

Fix for double close of file in notmuch-dump.

Debian
------

Drop python2 support from shipped debian packaging.

Notmuch 0.29.2 (2019-10-19)
===========================

General
-------

Fix for file descriptor leak when opening gzipped mail files. Thanks
to James Troup for the bug report and the fix.

Notmuch 0.29.1 (2019-06-11)
===========================

Build
-----

Fix for installation failure with `configure --without-emacs`.
2020-07-12 01:48:36 +00:00
jperkin
c136e190a5 notmuch: Reuse GPGME_GPG variable rather than inventing our own.
Not only cleaner, but also fixes a build issue seen on macOS likely related to
variable definition ordering, where GPG was not set correctly and ended up
trying to use a non-existent "gpg" command.  This change has the added benefit
of using the full path to the gpg binary instead of relying on PATH.
2020-03-25 11:06:19 +00:00
ryoon
b0066c7c70 Update to 0.29
Changelog:
Notmuch 0.29 (2019-06-07)
=========================

General
-------

Add "body:" field to allow searching for terms that occur only in the
message body. Users will need to reindex their mail to take advantage
of this feature.

Add support for indexing user specified headers (e.g. List-Id). See
notmuch-config(1) for details. This requires reindexing after changing
the set of headers to be indexed.

Fix bug for searching in some headers for Xapian keywords in quoted
strings.

Add support for gzip compressed mail messages (/not/ multi-message
mboxes); e.g. `gzip -9 $MAIL/archive/giant-message && notmuch new`
should work. Note that maildir flag syncing for gzipped messages is
currently untested.

Notmuch is now capable of indexing, searching and rendering
cryptographically-protected Subject: headers of the form produced by
Enigmail and K-9 mail in encrypted messages.

Command Line Interface
----------------------

`notmuch show` now supports --body=false and --include-html with
--format=text

Fix several performance problems with `notmuch reindex`.

`notmuch show` and `notmuch reply` now emit per-message cryptographic
status in their json and sexp output formats.  See devel/schemata for
more details about what is included there.  This status includes
information about cryptographic protections for the Subject header.

Emacs
-----

Optionally check for missing attachements in outgoing messages (see
function `notmuch-mua-attachment-check`).

Bind `B` to browse URLs in current message.

Bind `g` to refresh the current notmuch buffer.

Editing a message as new now includes an FCC header.

Forwarded messages are now tagged as +forwarded (customizable).

Add references header to link forwarded message to thread of original
message.

The minimum supported major version of Emacs is now 24.

Support for GNU Emacs older than 25.1 is deprecated with this release,
and may be removed in a future release.

Notmuch-emacs documentation is somewhat expanded. More contributions
are very welcome.

Build System
------------

Notmuch release tarballs are now compressed with `xz`.

We now provide conventional detached signatures of the release
tarballs in addition to the signed `sha256sum` files.

Dependencies
------------

Support for GMime 2.6 is removed. The minimum supported version of
GMime is now 3.0.3.  GMime also needs to have been compiled with
cryptography support.

Test Suite
----------

If either GNU parallel or moreutils parallel is installed, the tests
in the test suite will now be run in parallel (one per available
core).  This can be disabled with NOTMUCH_TEST_SERIALIZE=1.
2019-06-07 13:42:50 +00:00
ryoon
63a949b1a6 Fix emacs option case
* Fix PLIST for notmuch-emacs option
* Install notmuch-emacs-mua script properly in notmuch-emacs case
2019-03-08 18:27:31 +00:00
joerg
79ea9efae1 Rename version to version.txt for compatibility with C++1z STL
implementations.
2018-12-27 15:07:05 +00:00
wiz
803686e7f4 Updated notmuch to 0.25.
Notmuch 0.25 (2017-07-25)
=========================

General
-------

Add regexp searching for mid, paths, and tags.

Skip HTML tags when indexing

  In particular this avoids indexing large inline images.

Command Line Interface
----------------------

Bash completion is now installed to /usr/share by default.

Allow space as separator for keyword arguments.

Emacs
-----

Support for stashing message timestamp in show and tree views

  Invoking `notmuch-show-stash-date` with a prefix argument
  stashes the unix timestamp of the current message instead of
  the date string.

Don't use 'function' as variable name, workaround emacs bug 26406.

Library Changes
---------------

Add workaround for date parsing of bad input in older GMime

  In certain circumstances, older GMime libraries could return
  negative numbers when parsing syntactically invalid dates.

Replace deprecated functions with status returning versions

  API of notmuch_query_{search,count}_{messages,threads} has
  changed.  notmuch_query_add_tag_exclude now returns a status
  value.

Add support for building against GMime 3.0.

Rename libutil.a to libnotmuch_util.a.

libnotmuch SONAME is incremented to libnotmuch.so.5.
2017-08-14 20:17:00 +00:00
jperkin
f227da4c19 Include strings.h for index(3). 2017-04-20 09:06:34 +00:00
wiz
f3f7802716 Updated notmuch to 0.24.
Notmuch 0.24 (2017-03-12)
=========================

General
-------

Regular expression searches supported for `from:` and `subject:`.

  This requires recent Xapian (1.4+) See notmuch-search-terms(7) for
  details.

Command Line Interface
----------------------

Run external `notmuch-` prefixed commands as subcommands

  You can now add your own `notmuch-` prefixed commands in PATH, and
  have notmuch run them as if they were notmuch commands. See the
  `notmuch(1)` man page for details

Emacs
-----

Postpone and resume messages in `notmuch-message-mode` (composition)

  Notmuch now has built in support for postponing, saving and resuming
  messages. The default bindings are C-x C-s to save a draft, C-c C-p
  to postpone a draft (save and exit compose buffer), and "e" in show
  or tree view to resume.

  Draft messages are tagged with `notmuch-draft-tags` (draft by
  default) so you may wish to add that to the excluded tags list. When
  saving a previously saved draft message the earlier draft gets
  tagged deleted.

  Note that attachments added before postponing will be included as
  they were when you postponed in the final message.

Address Completion

  It is now possible to save the list of address completions for
  notmuch's internal completion between runs of emacs. This makes the
  first calls to address completion much better and faster. For
  privacy reasons it is disabled by default, to enable set or
  customize `notmuch-address-save-filename`.

Tag jump menu

  It is now possible to configure tagging shortcuts (with an interface
  like notmuch jump). For example (by default) k u will remove the
  unread tag, and k s will add a tag "spam" and remove the inbox
  tag. Pressing k twice will do the reverse operation so, for example,
  k k s removes the spam tag and adds the inbox tag. See the customize
  variable `notmuch-tagging-keys` for more information.

Refresh all buffers

  It is now possible to refresh all notmuch buffers to reflect the
  current state of the database with a single command, `M-=`.

Stop display of application/* parts

  By default gnus displays all application/* parts such as
  application/zip in the message buffer. This has several undesirable
  effects for notmuch (security, triggering errors etc). Notmuch now
  overrides this and does not display them by default. If you have
  customized `mm-inline-override-types` then we assume you know what
  you want and do not interfere; if you do want to stop the display of
  application/* add application/* to your customization. If you want
  to allow application/* then set `mm-inline-override-types` to
  "non/existent".

Small change in the api for notmuch-search-tag

  When `notmuch-search-tag` is called non-interactively and the region
  is set, then it only tags the threads in the region. (Previously it
  only tagged the current thread.)

Bugfix for sending messages with very long headers.

  Previously emacs didn't fold very long headers when sending which
  could cause the MTA to refuse to send the message. This makes sure
  it does fold any long headers so the message is RFC compliant.

`notmuch emacs-mua` command installed with the Emacs interface

  We've carried a `notmuch-emacs-mua` script in the source tree for
  quite some time. It can be used to launch the Notmuch Emacs
  interface from the command line in many different ways. Starting
  with this release, it will be installed with the Emacs
  interface. With the new external subcommand support, the script
  transparently becomes a new notmuch command. See the
  `notmuch-emacs-mua(1)` man page for details.

Notmuch Emacs desktop integration

  The desktop integration file will now be installed with the Notmuch
  Emacs interface, adding a Notmuch menu item and configuration to
  allow the user to set up Notmuch Emacs as the `mailto:` URL handler.

Library changes
---------------

`notmuch_query_count_messages` is now non-destructive.

  Internally the implementation of excludes has changed to make this
  possible.

Improved handling of DatabaseModifiedError

  Previously uncaught exceptions reading message metadata are now
  handled.
2017-03-20 13:19:26 +00:00
wiz
d4ed2df59c Remove zlib-1.2.3 compatibility patches.
Upstream claims dump/restore may not work correctly with zlib-1.2.3.
https://notmuchmail.org/pipermail/notmuch/2017/024277.html

Depend on zlib-1.2.5.2 and bump PKGREVISION.

While here, update patch comments.
2017-03-12 20:51:13 +00:00
wiz
b68fa21efc Updated notmuch to 0.23.
Notmuch 0.23 (2016-10-03)
=========================

General (Xapian 1.4+)
---------------------

Compiling against Xapian 1.4 enables several new features.

Support for single argument date: queries

  `date:<expr>` is equivalent to  `date:<expr>..<expr>`.

Support for blocking opens

  When opening a database notmuch by default will wait for another
  process to release a write lock, rather than returning an error.

Support for named queries

  Named queries (also known as 'saved searches') can be defined with a
  `query:name` format. The expansion of these queries is stored in the
  database and they can be used from any notmuch client.

Library
-------

Message property API

  libnotmuch now supports the attachment of arbitrary key-value pairs
  to messages. These can be used by various tools to manage their
  private data without polluting the user tag space. They also support
  iteration of values with the same key or same key prefix.

Bug fix for `notmuch_directory_set_mtime`

  Update cached mtime to match on-disk mtime.

CLI
---

Support for compile time options

  A group of `built_with` keys is now supported for notmuch
  config. Initial keys in this group are `compact`, `field_processor`,
  and `retry_lock`.

Dump/Restore support for configuration information and properties

  Any configuration information stored in the database (initially just
  named queries) is dumped and restored. Similarly any properties
  attached to messages are also dumped and restored. Any new
  information in the dump format is prefixed by '#' to allow existing
  scripts to ignore it.

Emacs
-----

Make notmuch-message-mode use insert for fcc

  Notmuch-message-mode now defaults to using notmuch insert for
  fcc. The old file based fcc behaviour can be restored by setting the
  defcustom `notmuch-maildir-use-notmuch-insert` to nil.

  When using notmuch insert, `notmuch-fcc-dirs` must be a subdirectory
  of the mailstore (absolute paths are not permitted) followed by any
  tag changes to be applied to the inserted message. The tag changes
  are applied after the default tagging for new messages. For example
  setting the header to "sentmail -inbox +sent" would insert the
  message in the subdirectory sentmail of the mailstore, add the tag
  "sent", and not add the (normally added) "inbox" tag.

  Finally, if the insert fails (e.g. if the database is locked) the
  user is presented with the option to retry, ignore, or edit the
  header.

Make internal address completion customizable

  There is a new defcustom `notmuch-address-internal-completion` which
  controls how the internal completion works: it allows the user to
  choose whether to match on messages the user sent, or the user
  received, and to filter the messages used for the match, for example
  by date.

Allow internal address completion on an individual basis

  There is a new function `notmuch-address-toggle-internal-completion`
  (by default it has no keybinding) which allows users who normally
  use an external completion command to use the builtin internal
  completion for the current buffer.

  Alternatively, if the user has company-mode enabled, then the user
  can use company mode commands such as `company-complete` to
  activate the builtin completion for an individual completion.

Resend messages

  The function `notmuch-show-resend-message` (bound to `b` in show
  and tree modes) will (attempt to) send current message to new
  recipients. The headers of the message won't be altered (e.g. `To:`
  may point to yourself). New `Resent-To:`, `Resent-From:` and so on
  will be added instead.

Face customization is easier

  New faces `notmuch-tag-unread`, `notmuch-tag-flagged`,
  `notmuch-tag-deleted`, `notmuch-tag-added`,
  `notmuch-search-flagged-face` and `notmuch-search-unread-face` are
  now used by default. Customize `notmuch-faces` to modify them.

Omit User-Agent header by default when sending mail

Ruby Bindings
-------------

Add support for `notmuch_database_get_all_tags`

Go Bindings
-----------

Go bindings moved to contrib

Add support for `notmuch_threads_t` and `notmuch_thread_t`

Fixed constant values so they are not all zero anymore

  Previously, it was impossible to open writable database handles,
  because `DATABASE_MODE_READ_ONLY` and `DATABASE_MODE_READ_WRITE` were
  both set to zero.
  The same issue occured with sort modes.
2016-10-09 21:20:44 +00:00
wiz
d3a6b88b25 Update notmuch to 0.21:
Notmuch 0.21 (2015-10-29)
=========================

General
-------

Notmuch now requires gmime >= 2.6.7. The gmime 2.4 series is no longer
supported.

Database revision tracking: `lastmod:` queries

  Each message now has a metadata revision number that increases with
  every tagging operation. See the discussion of `lastmod:` in
  `notmuch-search-terms(7)` for more information.

Date queries now support `date:<expr>..!` shorthand for
`date:<expr>..<expr>`

  You can use, for example, `date:yesterday..!` to match from the
  beginning of yesterday to the end of yesterday. For further details,
  please refer to the `notmuch-search-terms` manual page.

Notmuch database upgrade to support `lastmod:` queries

  The above mentioned `lastmod:` prefix. This will be done
  automatically, without prompting on the next time `notmuch new` is
  run after the upgrade. The upgrade is not reversible, and the
  upgraded database will not be readable by older versions of
  Notmuch. As a safeguard, a database dump will be created in the
  `.notmuch` directory before upgrading.

Build System
------------

The ruby bindings are now built as part of the main notmuch build
process. This can be disabled with the `--without-ruby` option to
configure.

Building the documentation can be disabled with the `--without-docs`
option to configure.

Skipped individual tests are no longer considered as failures.

Command Line Interface
----------------------

Database revision tracking

  Two new options were added to support revision tracking. A global
  option "--uuid" (`notmuch(1)`) was added for to detect counter
  rollover and reinitialization, and `notmuch-count(1)` gained a
  `--lastmod` option to query database revision tracking data.

The `notmuch address` command supports new deduplication schemes

  `notmuch address` has gained a new `--deduplicate` option to specify
  how the results should be deduplicated, if at all. The alternatives
  are `no` (do not deduplicate, useful for processing the results with
  external tools), `mailbox` (deduplicate based on the full, case
  sensitive name and email address), and `address` (deduplicate based
  on the case insensitive address part). See the `notmuch-address`
  manual page for further information.

Emacs Interface
---------------

`notmuch-emacs-version` is used in `User-Agent` header

  The value of recently introduced variable `notmuch-emacs-version` is
  now used as a part of `User-Agent` header when sending emails.

Removed `notmuch-version` function by renaming it to `notmuch-cli-version`

  With existing variable `notmuch-emacs-version` the accompanied
  function which retrieves the version of `notmuch-command` is
  better named as `notmuch-cli-version`.

Query input now supports completion for "is:<tag>"

New message composition mode: `notmuch-compose-mode`

  This is mainly to fix fcc handling, but may be useful for user
  customization as well.

Allow filtering of search results in `notmuch-show`

Add function to rerun current tree-view search in search mode

Bug fix for replying to encrypted messages in `notmuch-tree` mode

Allow saved searched to specify tree view rather than search view

  Applies to saved searches run from `notmuch-hello`, or by a keyboard
  shortcut (`notmuch-jump`).  Can be set in the customize interface, or
  by adding :search-type tree to the appropriate saved search plist in
  `notmuch-saved-searches`.

Increase maximum size of rendered text parts

  The variable `notmuch-show-max-text-part-size` controls the maximum
  size (in bytes) which is automatically rendered. This may make
  rendering large threads slower. To get the previous behaviour set
  this variable to 10000.

Library
-------

The use of absolute paths is now enforced when calling
`notmuch_database_{open, create}`

New function `notmuch_directory_delete` to delete directory documents

  Previously there was no way to delete directory documents from the
  database, leading to confusing results when the "ghost" directory
  document of a renamed or deleted filesystem directory was
  encountered every time the parent directory was being scanned by
  `notmuch new`. The mtime of the old directory document was also used
  if a directory by the same name was added again in the filesystem,
  potentially bypassing the scan for the directory. The issues are
  fixed by providing a library call to delete directory documents, and
  deleting the old documents in `notmuch new` on filesystem directory
  removal or rename.

Database revision tracking

  Revision tracking is supported via a new prefix "lastmod:" in the
  query parser and the new function
  `notmuch_database_get_revision`. For the latter, see `notmuch(3)`.

New status code returning API for n_query_count_{messages,threads}

Deprecated functions

  `notmuch_query_search_threads`, `notmuch_query_search_messages`,
  `notmuch_query_count_messages`, and `notmuch_query_count_threads`
  are all deprecated as of this release.  Clients are encouraged to
  transition to the `_st` variants supporting better error reporting.

nmbug-status
------------

`nmbug-status` now supports specifying the sort order for each view.
2015-11-22 23:55:33 +00:00
wiz
6842ad3d5d Update to 0.20.2:
Notmuch 0.20.2 (2015-06-27)
===========================

Emacs Interface
---------------

Bug fix for marking messages read in `notmuch-tree` mode.

Notmuch 0.20.1 (2015-06-01)
===========================

Test Suite
----------

Work around apparent gdb bug on arm64

Notmuch 0.20 (2015-05-31)
=========================

Command-Line Interface
----------------------

There is a new `mimetype:` search prefix

  The new `mimetype:` search prefix allows searching for the
  content-type of attachments, which is now indexed. See the
  `notmuch-search-terms` manual page for details.

Path to gpg is now configurable

  On systems with multiple versions of gpg, you can tell
  notmuch which one to use by setting `crypto.gpg_path`

Emacs
-----

Avoid rendering large text attachements.

Improved rendering of CID references in HTML.

Vim
---

Vim client now respects excluded tags.

Notmuch-Mutt
------------

Support messages without Message-IDs.

Library
-------

Undeprecate single message mboxes

  It seems more trouble to remove this feature than expected, so
  `notmuch new` will no longer nag about mboxes with a single message.

New error logging facility

  Clients should call `notmuch_database_status_string` to retrieve
  output formerly printed to stderr.

Several bug fixes related to stale iterators

New status code returning API for n_query_search_{messages,thread}

Fix for library `install_name` on Mac OS X

Fix for rounding of seconds

Documentation
-------------

Sphinx is now mandatory to build docs

  Support for using rst2man in place of sphinx to build the
  docmumentation has been removed.

Improved notmuch-search-terms.7

  The man page `notmuch-search-terms(7)` has been extended, merging
  some material from the relicensed wiki.

Contrib
-------

`notmuch-deliver` is removed. As far as we know, all functionality
previously provided by `notmuch-deliver` should now be provided by
`notmuch insert`, provided by the main notmuch binary.

nmbug-status
------------

`nmbug-status` now only matches local branches when reading
`status-config.json` from the `config` branch of the `NMBGIT`
repository.  To help new users running `nmbug-status`, `nmbug clone`
now creates a local `config` branch tracking `origin/config`.  Folks
who use `nmbug-status` with an in-Git config (i.e. you don't use the
`--config` option) who already have `NMBGIT` set up are encouraged to
run:

    git checkout config origin/config

in their `NMBGIT` repository (usually `~/.nmbug`).
2015-08-26 13:33:36 +00:00
joerg
21e0ea169f Add forgotten patches to allow zlib 1.2.3 and rename libutil to
libmyutil.
2014-12-18 12:26:51 +00:00
joerg
9a14aa35dc Avoid confusion with libutil. Allow zlib 1.2.3. Bump revision. 2014-12-18 10:52:58 +00:00
wiz
68c9960d7c Fix install_name on OS X. From J. Lewis Muir on pkgsrc-users.
Bump PKGREVISION since the binary package changes on OS X.
While here, add comments to all patches.
2014-09-01 08:14:07 +00:00
wiz
494248ec1d Update to 0.18.1:
Notmuch 0.18.1 (2014-06-25)
===========================

This is a bug fix and portability release.

Build System
------------

Add a workaround for systems without zlib.pc

Make emacs install robust against the non-existence of emacs

Put notmuch lib directory first in RPATH

Fix handling of html_static_path in sphinx

  Both the python bindings and the main docs had spurious settings of
  this variable.

Test Suite
----------

Use --quick when starting emacs

  This avoids a hang in the T160-json tests.

Allow pending break points in atomicity script

  This allows the atomicity tests to run on several more architectures/OSes.

Command-Line Interface
----------------------

To improve portability use fsync instead of fdatasync in
`notmuch-dump`. There should be no functional difference.

Library changes
---------------

Resurrect support for single-message mbox files

  The removal introduced a bug with previously indexed single-message
  mboxes.  This support remains deprecated.

Fix for phrase indexing

  There were several bugs where words intermingled from different
  headers and MIME parts could match a single phrase query.  This fix
  will affect only newly indexed messages.

Emacs Interface
---------------

Make sure tagging on an empty query is harmless

  Previously tagging an empty query could lead to tags being
  unintentionally removed.

Notmuch 0.18 (2014-05-06)
=========================

Overview
--------

This new release includes some enhancements to searching for messages
by filesystem location (`folder:` and `path:` prefixes under *General*
below).  Saved searches in *Emacs* have also been enhanced to allow
distinct search orders for each one.  Another enhancement to the
*Emacs* interface is that replies to encrypted messages are now
encrypted, reducing the risk of unintentional information disclosure.
The default dump output format has changed to the more robust
`batch-tag` format. The previously deprecated parsing of single
message mboxes has been removed. For detailed release notes, see
below.

General
-------

The `folder:` search prefix now requires an exact match

  The `folder:` prefix has been changed to search for email messages
  by the exact, case sensitive maildir or MH folder name. Wildcard
  matching (`folder:foo*`) is no longer supported. The new behaviour
  allows for more accurate mail folder based searches, makes it
  possible to search for messages in the top-level folder, and should
  lead to less surprising results than the old behaviour. Users are
  advised to see the `notmuch-search-terms` manual page for details,
  and review how the change affects their existing `folder:` searches.

There is a new `path:` search prefix.

  The new `path:` search prefix complements the `folder:` prefix. The
  `path:` prefix searches for email messages that are in particular
  directories within the mail store, optionally recursively using a
  special syntax. See the `notmuch-search-terms` manual page for
  details.

Notmuch database upgrade due to `folder:` and `path:` changes

  The above mentioned changes to the `folder:` prefix and the addition
  of `path:` prefix require a Notmuch database upgrade. This will be
  done automatically, without prompting on the next time `notmuch new`
  is run after the upgrade. The upgrade is not reversible, and the
  upgraded database will not be readable by older versions of
  Notmuch. As a safeguard, a database dump will be created in the
  `.notmuch` directory before upgrading.

Library changes
---------------

Notmuch database upgrade

  The libnotmuch consumers are reminded to handle database upgrades
  properly, either by relying on running `notmuch new`, or checking
  `notmuch_database_needs_upgrade()` and calling
  `notmuch_database_upgrade()` as necessary. This has always been the
  case, but in practise there have been no database upgrades in any
  released version of Notmuch before now.

Support for indexing mbox files has been dropped

  There has never been proper support for mbox files containing
  multiple messages, and the support for single-message mbox files has
  been deprecated since Notmuch 0.15. The support has now been
  dropped, and all mbox files will be rejected during indexing.

Message header parsing changes

  Notmuch previously had an internal parser for message headers. The
  parser has now been dropped in favour of letting GMime parse both
  the headers and the message MIME structure at the same pass. This is
  mostly an internal change, but the GMime parser is stricter in its
  interpretation of the headers. This may result in messages with
  slightly malformed message headers being now rejected.

Command-Line Interface
----------------------

`notmuch dump` now defaults to `batch-tag` format

  The old format is still available with `--format=sup`.

`notmuch new` has a --quiet option

  This option suppresses the progress and summary reports.

`notmuch insert` respects maildir.synchronize_flags config option

  Do not synchronize tags to maildir flags in `notmuch insert` if the
  user does not want it.

The commands set consistent exit status codes on failures

  The cli commands now consistently set exit status of 1 on failures,
  except where explicitly otherwise noted. The notable expections are
  the status codes for format version mismatches for commands that
  support formatted output.

Bug fix for checking configured new.tags for invalid tags

  `notmuch new` and `notmuch insert` now check the user configured
  new.tags for invalid tags, and refuse to apply them, similar to
  `notmuch tag`. Invalid tags are currently the empty string and tags
  starting with `-`.

Emacs Interface
---------------

Init file

  If the file pointed by new variable `notmuch-init-file` (typically
  `~/.emacs.d/notmuch-config.el`) exists, it is loaded at the end of
  `notmuch.el`. Users can put their personal notmuch emacs lisp based
  configuration/customization items there instead of filling
  `~/.emacs` with these.

Changed format for saved searches

  The format for `notmuch-saved-searches` has changed, but old style
  saved searches are still supported. The new style means that a saved
  search can store the desired sort order for the search, and it can
  store a separate query to use for generating the count notmuch
  shows.

  The variable is fully customizable and any configuration done
  through customize should *just work*, with the additional options
  mentioned above. For manual customization see the documentation for
  `notmuch-saved-searches`.

  IMPORTANT: a new style notmuch-saved-searches variable will break
  previous versions of notmuch-emacs (even search will not work); to
  fix remove the customization for notmuch-saved-searches.

  If you have a custom saved search sort function (not unsorted or
  alphabetical) then the sort function will need to be
  modified. Replacing (car saved-search) by (notmuch-saved-search-get
  saved-search :name) and (cdr saved-search) by
  (notmuch-saved-search-get saved-search :query) should be sufficient.

The keys of `notmuch-tag-formats` are now regexps

  Previously, the keys were literal strings.  Customized settings of
  `notmuch-tag-formats` will continue to work as before unless tags
  contain regexp special characters like `.` or `*`.

Changed tags are now shown in the buffer

  Previously tag changes made in a buffer were shown immediately. In
  some cases (particularly automatic tag changes like marking read)
  this made it hard to see what had happened (e.g., whether the
  message had been unread).

  The changes are now shown explicitly in the buffer: by default
  deleted tags are displayed with red strike-through and added tags
  are displayed underlined in green (inverse video is used for deleted
  tags if the terminal does not support strike-through).

  The variables `notmuch-tag-deleted-formats` and
  `notmuch-tag-added-formats`, which have the same syntax as
  `notmuch-tag-formats`, allow this to be customized.

  Setting `notmuch-tag-deleted-formats` to `'((".*" nil))` and
  `notmuch-tag-added-formats` to `'((".*" tag))` will give the old
  behavior of hiding deleted tags and showing added tags identically
  to tags already present.

Version variable

  The new, build-time generated variable `notmuch-emacs-version` is used
  to distinguish between notmuch cli and notmuch emacs versions.
  The function `notmuch-hello-versions` (bound to 'v' in notmuch-hello
  window) prints both notmuch cli and notmuch emacs versions in case
  these differ from each other.
  This is especially useful when using notmuch remotely.

Ido-completing-read initialization in Emacs 23

  `ido-completing-read` in Emacs 23 versions 1 through 3 freezes unless
  it is initialized. Defadvice-based *Ido* initialization is defined
  for these Emacs versions.

Bug fix for saved searches with newlines in them

  Split lines confuse `notmuch count --batch`, so we remove embedded
  newlines before calling notmuch count.

Bug fixes for sender identities

  Previously, Emacs would rewrite some sender identities in unexpected
  and undesirable ways.  Now it will use identities exactly as
  configured in `notmuch-identities`.

Replies to encrypted messages will be encrypted by default

  In the interest of maintaining confidentiality of communications,
  the Notmuch Emacs interface now automatically adds the mml tag to
  encrypt replies to encrypted messages. This should make it less
  likely to accidentally reply to encrypted messages in plain text.

Reply pushes mark before signature

  We push mark and set point on reply so that the user can easily cut
  the quoted text. The mark is now pushed before the signature, if
  any, instead of end of buffer so the signature is preserved.

Message piping uses the originating buffer's working directory

  `notmuch-show-pipe-message` now uses the originating buffer's
  current default directory instead of that of the `*notmuch-pipe*`
  buffer's.

nmbug
-----

nmbug adds a `clone` command for setting up the initial repository and
uses `@{upstream}` instead of `FETCH_HEAD` to track upstream changes.

  The `@{upstream}` change reduces ambiguity when fetching multiple
  branches, but requires existing users update their `NMBGIT`
  repository (usually `~/.nmbug`) to distinguish between local and
  remote-tracking branches.  The easiest way to do this is:

  1. If you have any purely local commits (i.e. they aren't in the
     nmbug repository on nmbug.tethera.net), push them to a remote
     repository.  We'll restore them from the backup in step 4.
  2. Remove your `NMBGIT` repository (e.g. `mv .nmbug .nmbug.bak`).
  3. Use the new `clone` command to create a fresh clone:

        nmbug clone http://nmbug.tethera.net/git/nmbug-tags.git

  4. If you had local commits in step 1, add a remote for that
     repository and fetch them into the new repository.
2014-07-03 15:01:46 +00:00
wiz
2595cf183e Import notmuch-0.17 as mail/notmuch, packaged for wip by myself
and tonnerre.

Notmuch is a system for indexing, searching, reading, and tagging
large collections of email messages in maildir or mh format. It uses
the Xapian library to provide fast, full-text search with a convenient
search syntax.
2014-01-09 12:15:23 +00:00