From: David Levine Date: Sat, 20 Apr 2013 02:06:50 +0000 (-0500) Subject: Added mention to mhlist(1) man page, in response to question X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/7797550a7e1332dbcdadda18b38e5f5330e6dd01?ds=inline;hp=bbf6cb767f8b9635de4bee2912030156cc9a194a Added mention to mhlist(1) man page, in response to question from Ralph, that it lists multipart/alternative parts in reverse order of their placement in a message. And in response to suggestion from Ralph, trimmed whitespace from ends of mhlist output lines. --- diff --git a/man/mhlist.man b/man/mhlist.man index f6e752ef..d8241ae2 100644 --- a/man/mhlist.man +++ b/man/mhlist.man @@ -142,6 +142,10 @@ act on a message/external-body content, then the switch must be used twice: once for message/external-body and once for the content externally referenced. +.PP +The parts of a multipart/alternative part are listed in the reverse +order of their placement in the message. The listing therefore is +in decreasing order of preference, as defined in RFC 1521. .SS "Checking the Contents" The .B \-check diff --git a/test/mhlist/test-mhlist b/test/mhlist/test-mhlist index 05881996..cb793670 100755 --- a/test/mhlist/test-mhlist +++ b/test/mhlist/test-mhlist @@ -26,7 +26,7 @@ run_test 'mhlist' 'mhlist: no cur message' # check with no options and current message folder +inbox 5 > /dev/null cat > $expected < $actual 2>&1 @@ -53,7 +53,7 @@ check $expected $actual # check -file - cat > $expected < $actual 2>&1 @@ -64,7 +64,7 @@ run_test 'mhlist 11' "mhlist: message 11 doesn't exist" # check multiple messages cat > $expected <