-* Multiline field-bodies fetched from XOVER is already concatinated,
-you should set ew-ignore-76bytes-limit to true.
-Currentry Gnus use these variables to decode and "Subject" and "From",
-tell it here. Unless doing it, DOODLE does not decode atoms in phrase
-because DOODLE cannot decide whether an atom is in phrase or not without
-field name information.
-
-(setq gnus-structured-field-decoder
- (lambda (string)
- (if (fboundp 'ew-decode-field)
- (let ((ew-ignore-76bytes-limit t))
- (ew-cut-cr-lf (ew-decode-field "From" (ew-lf-crlf-to-crlf string))))
- (eword-decode-and-unfold-structured-field string))))
-
-(setq gnus-unstructured-field-decoder
- (lambda (string)
- (if (fboundp 'ew-decode-field)
- (let ((ew-ignore-76bytes-limit t))
- (ew-cut-cr-lf (ew-decode-field "Subject" (ew-lf-crlf-to-crlf string))))
- (eword-decode-unstructured-field-body (std11-unfold-string string) 'must-unfold))))
+* Multiline field-bodies fetched from XOVER is already unfolded,
+so special care is needed for gnus-structured-field-decoder and
+gnus-unstructured-field-decoder.
+
+(autoload 'ew-gnus-structured-field-decoder "ew-compat")
+(setq gnus-structured-field-decoder 'ew-gnus-structured-field-decoder)
+
+(autoload 'ew-gnus-unstructured-field-decoder "ew-compat")
+(setq gnus-unstructured-field-decoder 'ew-gnus-unstructured-field-decoder)