Hi David,
Should we add a warning to the profile parser for post, whom, et al.,
entries to note that they're ignored?
I don't think whom(1)'s entry is ignored? Maybe I'm interpreting that
wrongly.
$ cat >.mh_profile
path: .
whom: -vote-for-ken
^D
$ HOME=$PWD mhparam whom
-vote-for-ken
$ HOME=$PWD whom
whom: -vote-for-ken unknown
$
mh-profile(5) does mention `post'.
locale: locale
Set the locale for all nmh programs except post, install-mh, and
slocal. See the LC_ALL, LC_CTYPE, and LANG variables in the
"ENVIRONMENT" section below for a reference on how the locale is
set if this profile component is not used.
It also has
program: default switches
Sets default switches to be used whenever the mh program program
is invoked. For example, one could override the “Editor:”
profile component when replying to messages by adding a
component such as:
repl: -editor /bin/ed
(profile, no defaults)
Perhaps that should mention programs that don't read their .mh_profile
entry? Or say how to check if a program does using the program's own
man page?
My fallible manual scan of man pages suggests these have `None' or
similar under the `PROFILE COMPONENTS' section.
ap
dp
fmttest
mh-mkstemp
msgchk
post
These pages don't have a `PROFILE COMPONENTS' section.
mhical
mhmail
mhn (deprecated)
rcvdist
rcvpack
rcvtty
slocal
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers