Hello again,

[email protected] wrote:
 |I am curious why s-nail does not provide any ability to edit outgoing
 |message headers? I can edit only To/Cc/Bcc/Organization/Reply-To/Sender
 |ones, as I can see in the manual page. This is probably the single
 |feature that I am heavy missing in s-nail from the Mutt.
 |
 |I think that some boolean option, that will cause "~e" to bring not only
 |the body of the message, but also its headers like that:
 |
 |    From: John Doe <[email protected]>
 |    Subject: ...
 |    Reply-To:
 |    Organization:
 |    X-MyOwnHeader: contents
 |    Mail-Followup-To: overriden addresses
 |
 |    This is message body
 |
 |where I could add new ones, override existing ones, will be great.
 |Without ability to edit headers I can not override Mail-Followup-To
 |for example.

I keep that i mind.  It is not mentioned explicitly in TODO, but
falls into categories mentioned.  I cannot do that for v14.9.
Except possibly offering a new variable that can be used to add
headers, but it will not be possible to edit them.  Like this will
end up as a hack, as in *user-headers* and then having
a separator, or *user-header-1*, *user-header-2*.. until
a variable is not set.  But that should be doable, somehow.
I keep that in mind.

E.g., it was a painful hack to be able to support enough header
fields in order to support git(1)s mail sending (see
head.c:extract_header()).  Multiple problems that need to be
addressed from the bottom up: headers get parsed over and over
again, turned into objects, back to strings etc., so that a lot of
state is lost along the way.

The right way to do that is to parse the message (header) once,
then enter compose state, then reintegrate and reverify the
message (header) and don't loose the knowledge that the user
actively edited or created an otherwise unknown header along the
way.  Or do the verification in compose mode itself so that a user
gets feedback in case of errors, then only reintegrate and
generate those headers that still miss.  That is a _completely_
different approach to the status quo.

Later..

--steffen

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to