On Wed, Dec 16, 2020 at 03:42:07PM +0100, Marcus C. Gottwald wrote:
I have incoming email messages which get multiple labels assigned by "procmail" piping through "formail -A", adding an "X-Label" header line for each label.Mutt fetches those email messages via IMAP and appears to be looking at only the last X-Label header line when (a) formatting the index using the "%y" selector in "index_format" and (b) limiting using the "~y" pattern. (I'm using Mutt from current Debian stable, i.e. version 1.10.1.)
Mutt's label handling is pretty basic right now. It expects only a single X-Label header in the email. When editing the label, Mutt only knows how to write a single X-Label header back.
I know dgc had some other patches to improve the situation, but they haven't been merged yet.
When using multiple labels in a single X-Label header line, are there any advantages in using a specific delimiter (space, comma, ...)?
Currently not really. The label completion has some code to delimit by ":" or ",". However, internally Mutt doesn't understand the multiple values, making the completion less then useful.
So, as of now you have to devise your own scheme and edit carefully. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
