diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-14 18:52:01 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-14 18:52:01 +0200 |
| commit | 3818694299613927715bb32fc223627fa5b5950d (patch) | |
| tree | 6412add991998c12b0aa60dfe86d47f83669d457 | |
| parent | c2753771096e7c303da4b351986f7f313917dcf8 (diff) | |
| download | qtmaildir-3818694299613927715bb32fc223627fa5b5950d.tar.gz qtmaildir-3818694299613927715bb32fc223627fa5b5950d.zip | |
docs: use the renamed helper names in item 202
| -rw-r--r-- | docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md b/docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md index 3e22dcd..dc50983 100644 --- a/docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md +++ b/docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md @@ -1848,8 +1848,8 @@ folder it sits in. The Inbox built-in filter is `tag:inbox` (`Config::generatorTag("inbox")`), not path-scoped, so any file carrying `inbox` appears there. The `post-new` hook already corrects this for mail that did not ARRIVE: `NOT_ARRIVALS` in `assets/hooks/qtmaildirconf.py:84` is -`("sent", "drafts")`, and `strip_inbox_from_sent()` removes `inbox` from a -message whose files are ALL inside one of those folders. `spam` is missing +`("sent", "drafts")`, and `strip_inbox_from_non_arrivals()` removes `inbox` from +a message whose files are ALL inside one of those folders. `spam` is missing because the hook predates the per-account `spam` key this branch adds. Measured live: 49 files tagged `inbox` sitting in a `[Gmail]/Spam` folder; 0 in trash, drafts or sent. @@ -1859,7 +1859,7 @@ too, correct the function/doc prose (its names say "sent" while the list means "not an arrival"), and extend the hook's tests with the spam cases. Then a ONE-TIME cleanup of the existing messages, using the same all-files rule. -**Constraints.** The all-files rule is load-bearing (`sent_only()`): notmuch +**Constraints.** The all-files rule is load-bearing (`not_arrival_only()`): notmuch deduplicates by Message-ID, so a message with one file in spam and one in an inbox DID genuinely arrive and must keep `inbox`. Only `inbox` is removed; `unread` is untouched because `maildir.synchronize_flags` is true. The cleanup |
