This is my current profile, and works fine. However,
Path: Mail
Aliasfile: aliases
Editor: emacs
repl: -filter filter
mhn-charset-iso-8859-1: %s
mhn-show-text/html: lynx -force_html '%F'
mhn-show-text/plain: more '%F'
will cause a core dump. The reason, after much trial and
error, appears to be because command options must be the last lines in
the profile, a fact that is not documented anywhere. Granted, it's not
a serious problem, but I have spent a couple hours trying to debug
mhn-show-procs when the offending line was a command name.
I don't think that is the problem. The routines that read your .mh_profile
will read the entire profile at once. Order doesn't matter, except if you
have the same entry more than once (last one wins).
In fact, while I'm thinking about .mh_profile, earlier
versions of mh disallowed blank lines and comments in the profile,
something I'd very much like to have.
The reason for this, is that MH and nmh treat the lines in your .mh_profile
and .mh_sequences, as if there were the header fields in an e-mail message.
The notable exception is mts.conf (which uses its own routines). This is
tricky to change at the moment, but is on the TODO list.
--
Richard Coleman
coleman(_at_)math(_dot_)gatech(_dot_)edu