Activated Jon's attachment system by default and steamlined it.
authormarkus schnalke <meillo@marmaro.de>
Tue, 24 Jan 2012 19:08:35 +0000 (20:08 +0100)
committermarkus schnalke <meillo@marmaro.de>
Tue, 24 Jan 2012 19:08:35 +0000 (20:08 +0100)
commit8ff284ff9167eff8f5349481529332d59ed913b1
tree745a9358a94a8988b0586c144784395c50cf2a33
parent6dc010d334b477ad4dee0b1a1d3ee6a6bdb7bd9a
Activated Jon's attachment system by default and steamlined it.
I had done similar work already some time ago. See:
http://www.mail-archive.com/nmh-workers@nongnu.org/msg02112.html
This time it's the second go.

I changed Jon's attachment system to have a default attachment header
field name, or get it from the profile. I removed the command line options.
The new profile name is: `Attachment-Header'. Stored in attach_fmt.
I removed the the choice between several attachment formats.

A message gets mimeified if it has attachment headers or (and this is new)
contains any non-ASCII character. The body won't be scanned for lines
matching /^#/. The MIME structure is created automatically.

The content-typing of unknown attachments is still poor and needs to
be improved.

You shouldn't use the `mime' command at the whatnow prompt anymore.
12 files changed:
config/config.c
h/mh.h
h/prototypes.h
man/mh-profile.man5
man/send.man1
man/whatnow.man1
sbr/readconfig.c
uip/mhparam.c
uip/send.c
uip/sendsbr.c
uip/viamail.c
uip/whatnowsbr.c