x-comment-to is useless in mutt, we can Cc: things as it's a *mailer*. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
more crypt simplifications Signed-off-by: Pierre Habouzit <madcoder@debian.org>
fix stupid problem with encrypted gpg mails. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
code simplifications. fix IMAP regression. use a lot more mime_which_token Signed-off-by: Pierre Habouzit <madcoder@debian.org>
oops, I did it again: simplify a lot of code :] Signed-off-by: Pierre Habouzit <madcoder@debian.org>
simplifications Signed-off-by: Pierre Habouzit <madcoder@debian.org>
"gpg-sign" is not a valid token, this was a typo. also drop some very old mutt things, just use x-action, the rest will be re-parsed, too bad. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
move more things in the lib-mime Signed-off-by: Pierre Habouzit <madcoder@debian.org>
simplify some bits of code, also simplify includes. Signed-off-by: Pierre Habouzit <madcoder@debian.org>
begin to rework mailcap parsing a "bit". the current way is really really really completely naïve (the mailcap parse is done many times whereas it just should be put into structs once for all !). Signed-off-by: Pierre Habouzit <madcoder@debian.org>
generalize the idea of tokens a bit more, don't restrict it to the rfc822 headers, use it for all mime tokens we need. I suppose I'll do a mutt-tokens module at some point Signed-off-by: Pierre Habouzit <madcoder@debian.org>