summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c038c76)
Interpreting multiple -prefer switches in ascending priority
order allows the command line to override the user's profile.
therefore, is in decreasing order of preference, as defined in RFC
2046. The
.B \-prefer
therefore, is in decreasing order of preference, as defined in RFC
2046. The
.B \-prefer
-switch can be used (one or more times, in order of descending
+switch can be used (one or more times, in order of ascending
preference) to let MH know which content types from a
multipart/alternative MIME part are preferred by the user, in order to
override the default preference order. Thus, when viewed by
preference) to let MH know which content types from a
multipart/alternative MIME part are preferred by the user, in order to
override the default preference order. Thus, when viewed by
will select the "best" displayable subpart from multipart/alternative
content. The
.B \-prefer
will select the "best" displayable subpart from multipart/alternative
content. The
.B \-prefer
-switch can be used (one or more times, in order of descending
+switch can be used (one or more times, in order of ascending
preference) to let MH know which content types from a
multipart/alternative MIME part are preferred by the user, in order to
override the default selection for display. For example, mail is
preference) to let MH know which content types from a
multipart/alternative MIME part are preferred by the user, in order to
override the default selection for display. For example, mail is
the ordering of multipart/alternative parts will appear to change when
invoked with or without various
.B \-prefer
the ordering of multipart/alternative parts will appear to change when
invoked with or without various
.B \-prefer
+switches. Since the last of multiple
+.B \-prefer
+options "wins", a
+.B \-prefer
+on the command line will override any in a profile entry.
.SS "Unseen Sequence"
If the profile entry \*(lqUnseen\-Sequence\*(rq is present and
non-empty, then
.SS "Unseen Sequence"
If the profile entry \*(lqUnseen\-Sequence\*(rq is present and
non-empty, then
and
.B mhstore
to make common part-numbering possible across all three programs.
and
.B mhstore
to make common part-numbering possible across all three programs.
+The last of multiple
+.B \-prefer
+switches will have the highest priority. This allows the command line
+switches to override profile entries.
prefer_parts(CT ct)
{
int i;
prefer_parts(CT ct)
{
int i;
- for (i = npreferred-1; i >= 0; i--)
+ for (i = 0; i < npreferred; i++)
move_preferred_part(ct, preferred_types[i], preferred_subtypes[i]);
}
move_preferred_part(ct, preferred_types[i], preferred_subtypes[i]);
}