From 9f9d81a15f0003447f3e0ad439a1beec212d75e1 Mon Sep 17 00:00:00 2001 From: morioka Date: Sun, 4 Oct 1998 19:02:40 +0000 Subject: [PATCH] (mm-backend module): Write description of `mm-define-backend' and `mm-define-method'. --- mime-en.sgml | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--- mime-ja.sgml | 34 ++++++++++++++++++++++++++++++++-- 2 files changed, 87 insertions(+), 5 deletions(-) diff --git a/mime-en.sgml b/mime-en.sgml index ed4b19f..939ef9a 100644 --- a/mime-en.sgml +++ b/mime-en.sgml @@ -393,12 +393,42 @@ return the result. -

How to make mm-backend +

Definition of mm-backend mm-backend module

-(It is not written yet, sorry. (^_^;) + + type + parents

-(Please read mm*.el) +Define mm-backend type. +

+If PARENTS is specified, type inherits parents. +Each parent must be representation-type. +

+Example: +

+ +(mm-define-backend chao (generic)) + + + + + name args body +

+Define name as a method function of (nth 1 (car +args)) backend. +

+args is like an argument list of lambda, but (car +args) must be specialized parameter. (car (car +args)) is name of variable and (nth 1 (car +args)) is name of backend (representation-type). +

+Example: +

+ +(mm-define-method entity-cooked-p ((entity chao)) nil) + +

Information of Content-Type field @@ -731,6 +761,28 @@ region to file. +

Other utilities + Encoding information +

+ + SERVICE +

+Return list of Content-Transfer-Encoding. +

+If service is specified, it returns available list of +Content-Transfer-Encoding for it. + + + + SERVICE +

+Return table of Content-Transfer-Encoding for completion. +

+If service is specified, it returns available list of +Content-Transfer-Encoding for it. + + +

Network representation of header encoded-word

diff --git a/mime-ja.sgml b/mime-ja.sgml index 8240d6b..091a29a 100644 --- a/mime-ja.sgml +++ b/mime-ja.sgml @@ -396,9 +396,39 @@ representation-type $B$NL>A0$N@hF,$K(B mm $B$rIU$1$?$b$N$K$J$C$F

mm-backend $B$N:n$jJ}(B mm-backend module

-$B!J$9$_$^$;$s!#$=$N$&$A=q$-$^$9(B (^_^;$B!K(B + + type + parents

-$B!J$H$j$"$($:!"(Bmm*.el $B$r;29M$K$7$F$/$@$5$$!K(B +Define mm-backend type. +

+If PARENTS is specified, type inherits parents. +Each parent must be representation-type. +

+Example: +

+ +(mm-define-backend chao (generic)) + + + + + name args body +

+Define name as a method function of (nth 1 (car +args)) backend. +

+args is like an argument list of lambda, but (car +args) must be specialized parameter. (car (car +args)) is name of variable and (nth 1 (car +args)) is name of backend (representation-type). +

+Example: +

+ +(mm-define-method entity-cooked-p ((entity chao)) nil) + +

Content-Type $BMs$N>pJs(B -- 1.7.10.4