~sircmpwn/aerc2#60:
Email templates

:compose -T <template name>

Also support a default template. Prepopulates the editor with the contents of some file.

Status
RESOLVED IMPLEMENTED
Submitter
~sircmpwn
Assigned to
No-one
Submitted
6 months ago
Updated
3 days ago
Labels
feature

~robertgzr 5 months ago

I assume you refer to local template files?

What do you think about drafts/templates synced via IMAP?

~sircmpwn 5 months ago

Hm, I think drafts and templates are fundamentally different features.

~robertgzr 5 months ago

agreed. I was just thinking about it when reading this bc I was looking at implementing something like save-draft instead of send/abort in the new compose widget :) and I use synced templates quite a bit myself

~robertgzr 5 months ago

s/instead of/along with

~jeffas a month ago

Support for signatures (basically default templates) was added here: https://git.sr.ht/~sircmpwn/aerc/commit/e2d5c456dc27f958d79fdf740c7b0852b2af4160.

The ability to compose from a choice of different templates would be awesome to have too though.

~srivathsan a month ago

I would like to take a stab at implementing this as this would be quite useful for me :D So I have two ways I can think of implementing this: 1) Implement this as part of buildBody in commands/account/compose.go. 2) Implement it as part of the composer in widget/compose.go similar to the signature file. This would make it available for reply and forward too. Any comments on which method to go for?

~sircmpwn REPORTED IMPLEMENTED 3 days ago

Register here or Log in to comment, or comment via email.