unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: notmuch restore --include=config --accumulate
Date: Sun, 05 Jun 2016 09:34:13 -0300	[thread overview]
Message-ID: <87lh2jddbu.fsf@zancas.localnet> (raw)


Recently notmuch-restore gained the option to restore configuration
information (--include=config). One potentially surprising aspect is
that it behaves as if --accumulate was given for config data, even if
replacing all the tags on each message. To be precise, if some config
data is in the database, and not mentioned in the input to restore, it
will still be there afterwards. I lean towards this being a feature
rather than a bug, since I think it would be even more surprising to
have the config data wiped out. I guess not many people use this feature
yet (or even know about it), so we can still change this behaviour. Or
at least document it better.  A lawyerly reading of the docs is
consistent with the current behaviour, but it is a bit misleading (as
with all good lawyerly things).

d

                 reply	other threads:[~2016-06-05 12:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lh2jddbu.fsf@zancas.localnet \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).