unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Austin Clements <amdragon@gmail.com>
To: notmuch <notmuch@notmuchmail.org>
Subject: Folders to tags
Date: Thu, 25 Nov 2010 00:48:17 -0500	[thread overview]
Message-ID: <AANLkTikFB1qfnLvSvoAtrYaE8KJWG05J267s6XTkwFnn@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

I'm about to do my initial maildir import in to notmuch and I'm wondering
how people have dealt with the initial transition from maildir folders to
tags.  Many of my folders can be replaced by saved searches, but I would
like to convert the ones that don't make good searches into tags.

Ideally, notmuch would let me search by maildir folder, which would have the
added advantage of keeping things in sync going forward.  Unfortunately,
this looks difficult to support (possibly to the point of requiring a custom
query parser to do it efficiently).

I could extract all of the message ID's from the messages in these folders
and run a big notmuch tag command, but this sounds slow and potentially
error-prone.

Are there good solutions to this problem?

[-- Attachment #2: Type: text/html, Size: 876 bytes --]

             reply	other threads:[~2010-11-25  5:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25  5:48 Austin Clements [this message]
2010-11-25  6:57 ` Folders to tags Sebastian Spaeth
2010-11-28 19:50   ` Xavier Maillard

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=AANLkTikFB1qfnLvSvoAtrYaE8KJWG05J267s6XTkwFnn@mail.gmail.com \
    --to=amdragon@gmail.com \
    --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).