* Sync up to flim-1_12_5 from flim-1_12_1.
[elisp/flim.git] / DOODLE-TIPS
index 5d979a0..b592247 100644 (file)
@@ -1,22 +1,42 @@
 * You should byte-compile(make).
 Because DOODLE uses very complex macro.
 
-Especialy ew-line.el, ew-scan-m.el, ew-scan-s.el and ew-scan-u.el that are require 'lex.
+Especialy ew-line.el, ew-scan-m.el, ew-scan-s.el and ew-scan-u.el that
+are require 'lex.
 (lex is scanner generator.)
 
-* 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-unstructured-field-decoder
-  (lambda (string)
-    (let ((ew-ignore-76bytes-limit t))
-      (ew-cut-cr-lf (ew-decode-field "Subject" (ew-lf-to-crlf string))))))
-
-(setq gnus-structured-field-decoder
-  (lambda (string)
-    (let ((ew-ignore-76bytes-limit t))
-      (ew-cut-cr-lf (ew-decode-field "From" (ew-lf-to-crlf string))))))
+* 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)
+
+* Ignore warnings about args-eword-* when byte-compiling.
+
+* If you want to modify load-path or other variables when
+byte-compiling without editing files, set EVALARGS environment variable.
+
+  % EVALARGS='(setq load-path (cons "../apel" load-path))' make
+
+* If you use Chao-gnus 6.9, change nnheader.el.
+
+diff -u -F^( -r1.10.2.1.2.17 nnheader.el
+--- nnheader.el        1998/10/20 11:52:46     1.10.2.1.2.17
++++ nnheader.el        1998/10/25 14:12:57
+@@ -110,10 +110,10 @@ (defsubst make-full-mail-header (&option
+    nil
+    nil nil nil
+    (if subject
+-       (eword-decode-and-unfold-unstructured-field subject)
++       (eword-decode-field-body subject 'Subject t)
+      )
+    (if from
+-       (eword-decode-and-unfold-structured-field from)
++       (eword-decode-field-body from 'From t)
+      )
+    date id references
+    chars lines xref