nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] When a message goes only to me, as a cc

2016-10-20 12:09:13
Ken Hornstein <kenh(_at_)pobox(_dot_)com> writes:
But it seems to me that a lot of the complexity comes from nmh not only
accepting the (odd, daft, brain-damaged) GNU convention of allowing
adjectives after the nouns, but producing such an argv itself.  If
postproc knew that argv[argc-1] was the draft file, given argv>1, then
it wouldn't need to know, and maintain, knowledge of a gazillion
options.  post(8) almost has `file' at the end in the synopsis, if -help
and -version were moved then that would be the case, and it would be
nice other bits of nmh produced that ordering.

I don't think we talked about it, but way back when I first posted that
script there was general discussion about how that was a pain and (I
believe prompted by you, actually) I fixed that in commit 4857e59b250f2.
So that should be all done for 1.7.  Well, maybe not the documentation
bits, but at least now all callers of post(8) make sure the draft filename
is last.

Would it be hard to provide a similar guarantee for "-whom"? Like, if present,
it would always be the first argument, or it would always be the next-to-last
argument,or some such?

    Norman Shapiro

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>