I just wrote this in the savannah BTS:
I think the idea is that environment variables in uppercase are
user-settable, and lowercase ones are set only to communicate information
from one part of nmh to another. The explanatory text generally says 'this
is set [by dist/comp/etc]' rather than 'you can specify'.
It's clear from the code that whatnow does check the envariable; I assume
the original reporter found setting it had no effect because it was
overridden by whatever other bit of nmh was invoking whatnow.
My suggestion is that we should add something to the mh-profile manpage,
explaining this convention and that lowercase envariables aren't
user-settable. We could probably also put something more of a separator
between them and the user-settable envariables.
Or am I completely off-beam?
I guess you are right. All other lowercase envariables have explicit
descriptions about which programs set them. I suggest to change
"This is set to tell the whatnowproc the user's choice of editor" to
"This is set by comp, repl, forw, and dist to tell the whatnowproc ..."
Do you think this is clear enough?
Nmh-workers mailing list