Skip to content

Commit 5c9ca43

Browse files
Lenbokgauteh
authored andcommitted
Add caveat regarding handling of new.tags w.r.t inbox and unread
Ref: #229
1 parent 75f8c24 commit 5c9ca43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This assumes your root mail folder is in `~/.mail` and that this folder is _alre
4242

4343
All commands should be run from the local mail repository unless otherwise specified.
4444

45-
2. Ignore the `.json` files in notmuch. Any tags listed in `new.tags` will be added to newly pulled messages. Process tags on new messages directly after running gmi, or run `notmuch new` to trigger the `post-new` hook for [initial tagging](https://notmuchmail.org/initial_tagging/). The `new.tags` are not ignored by default if you do not remove them, but you can prevent custom tags from being pushed to the remote by using e.g. `gmi set --ignore-tags-local new`. In your notmuch config file (usually `~/.notmuch-config`):
45+
2. Ignore the `.json` files in notmuch. Any tags listed in `new.tags` will be added to newly pulled messages (but see [Caveats](#caveats)). Process tags on new messages directly after running gmi, or run `notmuch new` to trigger the `post-new` hook for [initial tagging](https://notmuchmail.org/initial_tagging/). The `new.tags` are not ignored by default if you do not remove them, but you can prevent custom tags from being pushed to the remote by using e.g. `gmi set --ignore-tags-local new`. In your notmuch config file (usually `~/.notmuch-config`):
4646

4747
```
4848
[new]
@@ -265,6 +265,8 @@ including the Limited Use requirements
265265

266266
# Caveats
267267

268+
* By default, notmuch adds the tags `inbox` and `unread` to all newly imported message. While setting `new.tags` in the notmuch config should change the initial tagging of messages, it seems as though `new.tags` can also be set in the notmuch database and this overrides the config file during Lieer pulls. To ensure `new.tags` are applied correctly, set them directly in the notmuch database using `notmuch config set --database new.tags <tags>` in addition to your local config file.
269+
268270
* The GMail API does not let you sync `muted` messages. Until [this Google
269271
bug](https://issuetracker.google.com/issues/36759067) is fixed, the `mute` and `muted` tags are not synchronized with the remote.
270272

0 commit comments

Comments
 (0)