(rfc2047): Mention rfc2047-encoded-word-regexp-loose and
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 27 Nov 2007 09:33:22 +0000 (09:33 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 27 Nov 2007 09:33:22 +0000 (09:33 +0000)
 rfc2047-allow-irregular-q-encoded-words;
 fix description of rfc2047-encode-encoded-words.

texi/ChangeLog
texi/emacs-mime.texi

index 2eb347d..0600211 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-27  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * emacs-mime.texi (rfc2047): Mention rfc2047-encoded-word-regexp-loose
+       and rfc2047-allow-irregular-q-encoded-words; fix description of
+       rfc2047-encode-encoded-words.
+
 2007-11-24  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * gnus.texi (Fetching Mail): Remove obsoleted `nnmail-spool-file'.
index bb99051..bd432e3 100644 (file)
@@ -1417,10 +1417,23 @@ This is an alist of encoding / function pairs.  The encodings are
 @vindex rfc2047-encoded-word-regexp
 When decoding words, this library looks for matches to this regexp.
 
+@item rfc2047-encoded-word-regexp-loose
+@vindex rfc2047-encoded-word-regexp-loose
+This is a version from which the regexp for the Q encoding pattern of
+@code{rfc2047-encoded-word-regexp} is made loose.
+
 @item rfc2047-encode-encoded-words
 @vindex rfc2047-encode-encoded-words
 The boolean variable specifies whether encoded words
-(e.g. @samp{=?hello?=}) should be encoded again.
+(e.g. @samp{=?us-ascii?q?hello?=}) should be encoded again.
+@code{rfc2047-encoded-word-regexp} is used to look for such words.
+
+@item rfc2047-allow-irregular-q-encoded-words
+@vindex rfc2047-allow-irregular-q-encoded-words
+The boolean variable specifies whether irregular Q encoded words
+(e.g. @samp{=?us-ascii?q?hello??=}) should be decoded.  If it is
+non-@code{nil}, @code{rfc2047-encoded-word-regexp-loose} is used instead
+of @code{rfc2047-encoded-word-regexp} to look for encoded words.
 
 @end table