From 59ef7c1b504bb901471349e2ba8cf9c15812cd88 Mon Sep 17 00:00:00 2001 From: "Steffen (Daode) Nurpmeso" Date: Thu, 27 Oct 2016 14:28:56 +0200 Subject: [PATCH] nail.1: mention `mimetype' in "The mime.types files" --- mime_types.c | 2 +- nail.1 | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/mime_types.c b/mime_types.c index 13c436f1..076308e7 100644 --- a/mime_types.c +++ b/mime_types.c @@ -881,7 +881,7 @@ c_mimetype(void *v) typ = ((mtnp->mt_flags & __MT_TMASK) == _MT_OTHER) ? "" : _mt_typnames[mtnp->mt_flags & __MT_TMASK]; - fprintf(fp, "%c%s %s%.*s <%s>\n", + fprintf(fp, "%c%s %s%.*s %s\n", (mtnp->mt_flags & _MT_USR ? 'U' : (mtnp->mt_flags & _MT_SYS ? 'S' : (mtnp->mt_flags & _MT_LOADED ? 'F' : 'B'))), diff --git a/nail.1 b/nail.1 index e185ca24..ebc8d87b 100644 --- a/nail.1 +++ b/nail.1 @@ -6959,7 +6959,7 @@ even for plain text attachments like .Ql text/diff . If this variable is set then \*(UA will try to classify such MIME message parts on its own, if possible, for example via a possibly -existent attachment filename. +existing attachment filename. A non-empty value may also be given, in which case a number is expected, actually a carrier of bits. Creating the bit-carrying number is a simple addition: @@ -7008,7 +7008,8 @@ directives found in the user file take precedence, letter matching is case-insensitive. If this option is not set \*(UA will try to load both files. Incorporation of the \*(UA-builtin MIME types cannot be suppressed, -but they will be matched last. +but they will be matched last (the order can be listed via +.Ic mimetype ) . .Pp More sources can be specified by using a different syntax: if the value string contains an equals sign @@ -9077,7 +9078,8 @@ attachments. When displaying message content or attachments \*(UA uses the content type to decide whether it can directly display data or whether it needs to deal with content handlers. -It learns about MIME types and how to treat them by reading +It learns about M(ultipurpose) I(nternet) M(ail) E(xtensions) types and +how to treat them by reading .Pa mime.types files, the loading of which can be controlled by setting the variable .Va mimetypes-load-control . -- 2.11.4.GIT