* mel-ccl.el (base64-ccl-insert-encoded-file): Use
[elisp/flim.git] / DOODLE-TIPS
1 * You should byte-compile(make).
2 Because DOODLE uses very complex macro.
3
4 Especialy ew-line.el, ew-scan-m.el, ew-scan-s.el and ew-scan-u.el that
5 are require 'lex.
6 (lex is scanner generator.)
7
8 * Multiline field-bodies fetched from XOVER is already concatinated,
9 you should set ew-ignore-76bytes-limit to true.
10 Currentry Gnus use these variables to decode and "Subject" and "From",
11 tell it here. Unless doing it, DOODLE does not decode atoms in phrase
12 because DOODLE cannot decide whether an atom is in phrase or not without
13 field name information.
14
15 (setq gnus-structured-field-decoder
16    (lambda (string)
17      (if (fboundp 'ew-decode-field)
18          (let ((ew-ignore-76bytes-limit t))
19            (ew-cut-cr-lf
20              (ew-decode-field "From" (ew-lf-crlf-to-crlf string))))
21        (eword-decode-and-unfold-structured-field string))))
22
23 (setq gnus-unstructured-field-decoder
24    (lambda (string)
25      (if (fboundp 'ew-decode-field)
26          (let ((ew-ignore-76bytes-limit t))
27            (ew-cut-cr-lf
28              (ew-decode-field "Subject" (ew-lf-crlf-to-crlf string))))
29        (eword-decode-unstructured-field-body
30          (std11-unfold-string string) 'must-unfold))))
31
32 * Ignore warnings about args-eword-* when byte-compiling.
33
34 * If you have a problem with ew-ccl-b or other CCL based coding-system,
35 set ew-bq-use-mel to t.
36
37 * If you want to modify load-path or other variables when
38 byte-compiling without editing files, set EVALARGS environment variable.
39
40   % EVALARGS='(setq load-path (cons "../apel" load-path))' make