Package: aerc Version: 0.21.0-1+b1 Severity: wishlist X-Debbugs-Cc: [email protected]
Hi Robin, Nilesh, Aloïs,
I tried to integrate aerc as an option into a new Debian bts(1)
command-line workflow I'm working on.
I could find no direct equivalent for mutt's -H ("edit draft") option which
allows starting a mail composer with email headers and body pre-filled from
a raw email message file.
I experimented with the aerc cmdline a bit but couldn't find a simple way
to bridge the gap without extra logic that doesn't belong in bts(1).
Things I tried:
- aerc mailto:[email protected]
- Supports a body template, but no custom headers. Needed for X-Debbugs-CC.
- aerc :compose
- Has support for custom headers with -H in theory -- didn't work when
I tried it.
- Passing <body> didn't work for me either.
- Templates with -T looked promising, but those seems to be the wrong
concept. It's expecting something in (eg) ~/.config/aerc/templates,
not an arbitrary tempfile.
In any case looking at what the :compose command can do in principle I
recon a simple script could cover all of what I need -- if only :compose
worked at documented which is a separate issue :-).
Would you be interested in having an "aerc-muttwrapper" script be part of
your aerc package? I can try to develop one.
Thanks,
--Daniel
signature.asc
Description: PGP signature

