On 2013-12-17 14:24:07, intrig...@debian.org wrote: > * either save the output email to a file (that one can manually feed > into Mutt later)
that should be fairly easy to implement. one would need to add a commandline option (MonkeysignUi.parser() in ui.py:68) and deal with it when sending email (MonkeysignUi.sendmail() in ui.py361). i think the --output / -o option could be used. > * or to pipe it to Mutt (which does not work yet, as monkeysign's > stdout is used by its interactive UI; perhaps printing it to a FD > greater than 2 would be doable?); one could do a similar thing as above and add a --mua or --pipe (-p is free), and use it in ui.py:358 to replace sendmail -t. maybe --pipe could default to sendmail -t, actually. then one would need to document how those two options interact with each other in the usage. > * or to do both internally, and to directly invoke the preferred MUA, > providing it with the email headers and body in the way it wants it. that would be ideal yes. > I'm aware this is related to #720047, and likely solving the one will > solve the other usecase. hmmm... i feel that 720047 would require a --edit option that would pipe the message into $EDITOR... maybe? not sure what micah was expecting here. > Thoughts? Any other way this usecase could be taken care of? i think the approach is good, and i would welcome patches, which should be quite easy to do, to accomplish the above. a. -- N'aimer qu'un seul est barbarie, car c'est au détriment de tous les autres. Fût-ce l'amour de Dieu. - Nietzsche, "Par delà le bien et le mal"
pgpPtkKKOEYRS.pgp
Description: PGP signature