From 3ba5e6b68a0f4e91884043fab9a705cf7d15b968 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 12:37:38 +0200 Subject: docs(i18n): correct the spam docs review findings --- CHANGELOG.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 937c35d..6da8e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -135,19 +135,17 @@ no longer knows the origin. Rename it once, per distinct folder, before you rely on either. The search term needs its OWN double quotes: the shell's quotes only glue the argument together, and notmuch then splits a bare `tag:deleted-from:My Folder` into a term and a stray word, matching nothing at -all while looking like it worked. In a tag NAME a space is hex-encoded `%20`, -which is how notmuch spells a space there: +all while looking like it worked. The `+` and `-` tag arguments are a single +token already, so the shell's quoting carries a space in the folder through to +notmuch unchanged: ```bash -notmuch tag +moved-from:'My%20Folder' -deleted-from:'My%20Folder' \ - -- 'tag:"deleted-from:My Folder"' +notmuch tag +moved-from:'' -deleted-from:'' \ + -- 'tag:"deleted-from:"' ``` -Replace `My%20Folder` with the folder name, writing any space as `%20`, and -`My Folder` in the quoted term with the same name keeping its spaces. A folder -with no space needs neither `%20` nor the inner quotes, so `Inbox` is -`+moved-from:'Inbox' ... -- 'tag:"deleted-from:Inbox"'`. Run it once per -distinct folder. +Run it once per distinct folder, with `` replaced everywhere by that +folder's name. There is no compatibility branch on purpose: a reader accepting both prefixes would answer "first match wins" on a message holding one of each, which is the -- cgit v1.2.3