You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently migrated to neomutt from gmail, and have a lot of emails with a nested tag hierarchy.
These tags are things like:
@1-PROJECTS/Buy a car
@1-PROJECTS/Get Neomutt Emails Working
@2-AREAS/Health
@2-AREAS/Holidays and Travel
etc...
I have worked out a lua script that can generate virtual mailboxes for each of these tags dynamically, but when I try to tag my emails with <modify-labels> I'm unable to ADD (or remove) tags that have spaces in them.
Instead it will add a tag for each set of characters delimited by spaces, with the command
:<modify-labels>@2-AREAS/Holidays and Travel
adding the three tags:
@2-AREAS/Holidays
and
Travel
If I use the command
:<modify-labels>"@2-AREAS/Holidays and Travel"
It adds the three tags:
"@2-AREAS/Holidays
and
Travel"
Notmuch's documentations for the tag command says that spaces in tags should be encoded as %20, e.g.
notmuch tag +@2-AREAS/Holidays%20and%20Travel <search-terms>
But neomutt's <modify-labels> command doesn't work when I do this, as it adds a tag that literally contains "%20" where I want spaces.
Is it possible, with neomutt's <modify-labels> command, to add tags with spaces in them?
The text was updated successfully, but these errors were encountered:
Spacecortez
changed the title
How to use the notmuch function <modify-labels> to tag emails with tags containing spaces?
How to use the notmuch command <modify-labels> to tag emails with tags containing spaces?
May 12, 2024
I have recently migrated to neomutt from gmail, and have a lot of emails with a nested tag hierarchy.
These tags are things like:
etc...
I have worked out a lua script that can generate virtual mailboxes for each of these tags dynamically, but when I try to tag my emails with <modify-labels> I'm unable to ADD (or remove) tags that have spaces in them.
Instead it will add a tag for each set of characters delimited by spaces, with the command
adding the three tags:
If I use the command
It adds the three tags:
Notmuch's documentations for the tag command says that spaces in tags should be encoded as %20, e.g.
But neomutt's <modify-labels> command doesn't work when I do this, as it adds a tag that literally contains "%20" where I want spaces.
Is it possible, with neomutt's <modify-labels> command, to add tags with spaces in them?
The text was updated successfully, but these errors were encountered: