1.6 KiB
1.6 KiB
| cairn | change |
|---|---|
| tasks | compose-from-identity |
Tasks
- src/config.rs:
AccountConfig::emailandAccountConfig::display_name, aliased tofromandfrom-name; the globalConfig::display_name, aliased tofrom-name; both keys added toRENDER_ORDERso a generated account leads with its identity. - src/account/context.rs: the two fields on the runtime
Account, merged account-over-global, plusresolve_from, which resolves the--fromoverride against them and hands back the address and the name apart. - src/shared/message/builder.rs:
BuilderArgs::from_name, andAddress::new_addressinstead of the bare&str, somail_builderencodes the name. - src/shared/message/{compose,reply,forward}.rs: the default resolved through
account.resolve_from, and the--fromhelp naming it. - src/wizard/discover.rs:
prompted_emailreading the prompt back as an address, written onto the generated account; a URL's userinfo is not one. - Tests: the name-with-a-comma coming out quoted, the global name pairing with the account address, and
--fromdropping the configured name; the shapesprompted_emailrefuses. - himalaya-tui:
emailanddisplay-nameaccepted as aliases offromandfrom-name, its own spec and log entry. - config.sample.toml and the CHANGELOG entry.
- Fold the delta into cairn/spec/config.md, cairn/spec/commands.md and cairn/spec/wizard.md; write cairn/log/2026-08-16-compose-from-identity.md.