@node Entity creation, Entity hierarchy, Entity, Entity
@section Entity \e$B$N@8@.\e(B
-@defun mime-open-entity &optional type location
+@defun mime-open-entity type location
-Open an entity and return it.@refill
+Entity \e$B$r3+$$$F!"$=$l$rJV$7$^$9!#\e(B@refill
-@var{type} is representation-type. (cf. @ref{mm-backend}) @refill
+@var{type} \e$B$O\e(B representation-type \e$B$G$9!#\e(B(cf. @ref{mm-backend}) @refill
-@var{location} is location of entity. Specification of it is depended
-on representation-type.
+@var{location} \e$B$O\e(B entity \e$B$N0LCV$G$9!#;XDjJ}K!$O\e(B
+representation-type \e$B$K0M$C$FJQ$o$j$^$9!#\e(B
@end defun
@defun mime-find-entity-from-number entity-number &optional message
-Return entity from @var{entity-number} in @var{message}.@refill
+@var{message} \e$B$+$i!"\e(B@var{enity-number} \e$B$N\e(B entity \e$B$rJV$7$^$9!#\e(B@refill
-If @var{message} is not specified, @code{mime-message-structure} is
-used.
+@var{message} \e$B$,;XDj$5$l$F$$$J$$>l9g$O!"\e(B
+@code{mime-message-structrue} \e$B$,;H$o$l$^$9!#\e(B
@end defun
@defun mime-find-entity-from-node-id entity-node-id &optional message
-Return entity from @var{entity-node-id} in @var{message}.@refill
+@var{message} \e$B$+$i!"\e(B@var{entity-node-id} \e$B$N\e(B entity \e$B$rJV$7$^$9!#\e(B@refill
-If @var{message} is not specified, @code{mime-message-structure} is
-used.
+@var{message} \e$B$,;XDj$5$l$F$$$J$$>l9g$O!"\e(B
+@code{mime-message-structure} \e$B$,;H$o$l$^$9!#\e(B
@end defun
@defun mime-find-entity-from-content-id cid &optional message
-Return entity from @var{cid} in @var{message}.@refill
+@var{message} \e$B$+$i!"\e(B@var{cid} \e$B$N\e(B entity \e$B$rJV$7$^$9!#\e(B@refill
-If @var{message} is not specified, @code{mime-message-structure} is
-used.
+@var{message} \e$B$,;XDj$5$l$F$$$J$$>l9g$O!"\e(B
+@code{mime-message-structure} \e$B$,;H$o$l$^$9!#\e(B
@end defun
@defun mime-entity-cooked-p entity
-Return non-nil if contents of @var{entity} has been already
-code-converted.
+@var{entity} \e$B$NFbMF$,4{$K%3!<%IJQ49$5$l$F$$$k>l9g$O\e(B nil \e$B$GL5$$CM\e(B
+\e$B$rJV$9!#\e(B
@end defun
@defun mime-insert-text-content entity
-Insert before point a contents of @var{entity} as text entity.@refill
+point \e$B$NA0$K\e(B @var{entity} \e$B$r\e(B text entity \e$B$H$7$FA^F~$7$^$9!#\e(B@refill
-Contents of the @var{entity} are decoded as MIME charset (@ref{MIME charset}). If the @var{entity} does not have charset parameter of
-Content-Type field, @code{default-mime-charset} is used as default
-value.
+@var{entity} \e$B$NFbMF$O\e(B @ref{MIME charset} \e$B$H$7$FI|9f2=$5$l\e(B
+\e$B$^$9!#\e(B@var{entity} \e$B$N\e(B Content-Type field \e$B$K\e(B charset paramter \e$B$,L5\e(B
+\e$B$$$H!"\e(B@code{default-mime-charset} \e$B$,=i4|CM$H$7$F;H$o$l$^$9!#\e(B
@end defun
@defun mime-insert-entity-content entity
-Insert content of @var{entity} at point.
+point \e$B$N0LCV$K\e(B @var{entity} \e$B$NFbMF$rA^F~$7$^$9!#\e(B
@end defun
@defun mime-write-entity-content entity filename
-Write content of @var{entity} into @var{filename}.
+@var{entity} \e$B$NFbMF$r\e(B @var{filename} \e$B$K=q$-9~$_$^$9!#\e(B
@end defun
@defun mime-insert-entity entity
-Insert header and body of @var{entity} at point.
+@var{entity} \e$B$N\e(B header \e$B$H\e(B body \e$B$r\e(B point \e$B$N$H$3$m$KA^F~$7$^$9!#\e(B
@end defun
@defun mime-write-entity entity filename
-Write representation of @var{entity} into @var{filename}.
+@var{entity} \e$B$NI=8=$r\e(B @var{filename} \e$B$K=q$-9~$_$^$9!#\e(B
@end defun
@defun mime-write-entity-body entity filename
-Write body of @var{entity} into @var{filename}.
+@var{entity} \e$B$N\e(B body \e$B$r\e(B @var{filename} \e$B$K=q$-9~$_$^$9!#\e(B
@end defun
@defmac mm-define-backend type &optional parents
-Define @var{type} as a mm-backend.@refill
+@var{type} \e$B$r\e(B mm-backend \e$B$H$7$FDj5A$7$^$9!#\e(B@refill
-If @var{PARENTS} is specified, @var{type} inherits parents. Each parent
-must be representation-type.@refill
+@var{PARENTS} \e$B$,;XDj$5$l$F$$$k>l9g$O!"\e(B@var{type} \e$B$O\e(B prents
+\e$B$r7Q>5$7$^$9!#$=$l$>$l$N\e(B parent \e$B$O\e(B representation-type \e$B$G$"$kI,MW$,$"\e(B
+\e$B$j$^$9!#\e(B
-Example:@refill
+\e$BNc\e(B:@refill
@lisp
(mm-define-backend chao (generic))
@defmac mm-define-method name args &rest body
-Define @var{name} as a method function of (nth 1 (car @var{args}))
-backend.@refill
+@var{name} \e$B$r\e(B (nth 1 (car @var{args})) backend \e$B$N\e(B method \e$B4X\e(B
+\e$B?t$H$7$FDj5A$7$^$9!#\e(B@refill
-@var{args} is like an argument list of lambda, but (car @var{args}) must
-be specialized parameter. (car (car @var{args})) is name of variable
-and (nth 1 (car @var{args})) is name of backend
-(representation-type).@refill
+@var{args} \e$B$O\e(B lambda \e$B$N0z?t%j%9%H$N$h$&$J$b$N$G$9$,!"\e(B(car
+@var{args}) \e$B$O;XDj$5$l$?\e(B parameter \e$B$G$"$kI,MW$,$"$j$^$9!#\e(B(car
+(car @var{args})) \e$B$OJQ?t$NL>A0$G!"\e(B(nth 1 (car @var{args}))
+\e$B$O\e(B backend \e$B$NL>A0\e(B (representation-type) \e$B$G$9!#\e(B@refill
-Example:@refill
+\e$BNc\e(B:@refill
@lisp
(mm-define-method entity-cooked-p ((entity chao)) nil)
@defun mime-encode-region start end encoding
-Encode region @var{start} to @var{end} of current buffer using
-@var{encoding}.
+\e$B8=:_$N\e(B buffer \e$B$N\e(B @var{start} \e$B$+$i\e(B @var{end} \e$B$^$G$N\e(B region \e$B$r\e(B
+@var{encoding} \e$B$r;H$C$FId9f2=$7$^$9!#\e(B
@end defun
@defun mime-decode-region start end encoding
-Decode region @var{start} to @var{end} of current buffer using
-@var{encoding}.
+\e$B8=:_$N\e(B buffer \e$B$N\e(B @var{start} \e$B$+$i\e(B @var{end} \e$B$^$G$N\e(B region \e$B$r\e(B
+@var{encoding} \e$B$r;H$C$FI|9f2=$7$^$9!#\e(B
@end defun
@defun mime-insert-encoded-file filename encoding
-Insert file @var{FILENAME} encoded by @var{ENCODING} format.
+@var{ENCODING} format \e$B$GId9f2=$5$l$?\e(B file @var{FILENAME} \e$B$r\e(B
+\e$BA^F~$9$k!#\e(B
@end defun
@defun mime-write-decoded-region start end filename encoding
-Decode and write current region encoded by @var{encoding} into
-@var{filename}.@refill
+@var{encoding} \e$B$GId9f2=$5$l$?8=:_$N\e(B region \e$B$rI|9f2=$7$F\e(B
+@var{filename}\e$B$K=q$-9~$_$^$9!#\e(B
-@var{start} and @var{end} are buffer positions.
+<var>start<var> \e$B$H\e(B @var{end} \e$B$O\e(B buffer \e$B$N0LCV$G$9!#\e(B
@end defun
@defun mime-encoding-list &optional SERVICE
-Return list of Content-Transfer-Encoding.@refill
+Content-Transfer-Encoding \e$B$N\e(B list \e$B$rJV$7$^$9!#\e(B@refill
-If @var{service} is specified, it returns available list of
-Content-Transfer-Encoding for it.
+@var{service} \e$B$,;XDj$5$l$F$$$k$H!"$=$l$KBP$9$k\e(B
+Content-Transfer-Encoding \e$B$rJV$7$^$9!#\e(B
@end defun
@defun mime-encoding-alist &optional SERVICE
-Return table of Content-Transfer-Encoding for completion.@refill
+\e$BJd40$N$?$a$N\e(B Content-Transfer-Encoding \e$B$NI=$rJV$7$^$9!#\e(B@refill
-If @var{service} is specified, it returns available list of
-Content-Transfer-Encoding for it.
+@var{service} \e$B$,;XDj$5$l$F$$$k>l9g$O$=$l$KBP$9$k\e(B
+Content-Transfer-Encoding \e$B$N\e(B list \e$B$rJV$7$^$9!#\e(B
@end defun
@defmac mel-define-method name args &rest body
-Define @var{name} as a method function of (nth 1 (car (last
-@var{args}))) backend.@refill
+@var{name} \e$B$r\e(B (nth 1 (car (last @var{args}))) backend \e$B$N\e(B
+method \e$B4X?t$H$7$FDj5A$7$^$9!#\e(B
-@var{args} is like an argument list of lambda, but (car (last
-@var{args})) must be specialized parameter. (car (car (last
-@var{args}))) is name of variable and (nth 1 (car (last @var{args}))) is
-name of backend (encoding).@refill
+@var{args} \e$B$O\e(B lambda \e$B$N0z?t\e(B list \e$B$H;w$F$$$^$9$,!"\e(B(car (last
+@var{args})) \e$B$O;XDj$5$l$?\e(B parameter \e$B$G$"$kI,MW$,$"$j$^$9!#\e(B(car
+(car (last @var{args}))) \e$B$OJQ?t$NL>A0$G!"\e(B(nth 1 (car (last
+@var{args}))) \e$B$O\e(B backend \e$B$NL>A0\e(B (encoding) \e$B$G$9!#\e(B@refill
-Example:@refill
+\e$BNc\e(B:@refill
@lisp
(mel-define-method mime-write-decoded-region (start end filename
@defmac mel-define-method-function spec function
-Set @var{spec}'s function definition to @var{function}.@refill
+@var{spec} \e$B$N4X?tDj5A$r\e(B @var{function} \e$B$K@_Dj$7$^$9!#\e(B@refill
-First element of @var{spec} is service.@refill
+@var{spec} \e$B$N:G=i$NMWAG$O\e(B service \e$B$G$9!#\e(B@refill
-Rest of @var{args} is like an argument list of lambda, but (car (last
-@var{args})) must be specialized parameter. (car (car (last
-@var{args}))) is name of variable and (nth 1 (car (last @var{args}))) is
-name of backend (encoding).@refill
+@var{args} \e$B$N;D$j$O\e(B lambda \e$B$N0z?t\e(B list \e$B;w$F$$$^$9$,!"\e(B(car (last
+@var{args})) \e$B$O;XDj$5$l$?\e(B parameter \e$B$G$"$kI,MW$,$"$j$^$9!#\e(B(car
+(car (last @var{args}))) \e$B$OJQ?t$NL>A0$G!"\e(B(nth 1 (car (last
+@var{args}))) \e$B$O\e(B backend \e$B$NL>A0\e(B (encoding) \e$B$G$9!#\e(B@refill
-Example:@refill
+\e$BNc\e(B:@refill
@lisp
(mel-define-method-function (mime-encode-string string (nil "base64"))
@node generic function for mel-backend, , mel-backend, Content-Transfer-Encoding
-@section How to add encoding/decoding service
+@section \e$BId9f2=\e(B/\e$BI|9f2=\e(B service \e$B$rDI2C$9$kJ}K!\e(B
@defmac mel-define-service name &optional args doc-string
-Define @var{name} as a service for Content-Transfer-Encodings.@refill
+@var{name} \e$B$r\e(B Content-Transfer-Encoding \e$B$N\e(B service \e$B$H$7$FDj5A$7$^\e(B
+\e$B$9!#\e(B@refill
-If @var{args} is specified, @var{name} is defined as a generic function
-for the service.@refill
+@var{args} \e$B$,;XDj$5$l$F$$$k$H!"\e(B@var{name} \e$B$O\e(B service \e$B$N\e(B
+generic function \e$B$H$7$FDj5A$5$l$^$9!#\e(B@refill
-Example:@refill
+\e$BNc\e(B:@refill
@lisp
(mel-define-service encoded-text-encode-string (string encoding)
@defvar eword-field-encoding-method-alist
-Association list to specify field encoding method. Each element looks
-like (FIELD . METHOD).@refill
+Field \e$B$rId9f2=$9$kJ}K!$r;XDj$9$kO"A[\e(B list\e$B!#3F\e(B element \e$B$O\e(B (FIELD
+. METHOD) \e$B$NMM$K$J$C$F$$$k!#\e(B@refill
-If METHOD is @code{mime}, the FIELD will be encoded into MIME format
-(encoded-word).@refill
+METHOD \e$B$,\e(B @code{mime} \e$B$G$"$l$P!"\e(BFIELD \e$B$O\e(B MIME format \e$B$KId9f2=$5\e(B
+\e$B$l$k\e(B (encoded-word)\e$B!#\e(B
-If METHOD is @code{nil}, the FIELD will not be encoded.@refill
+METHOD \e$B$,\e(B @code{nil} \e$B$G$"$l$P!"\e(BFIELD \e$B$OId9f2=$5$l$J$$!#\e(B
-If METHOD is a MIME charset, the FIELD will be encoded as the charset
-when it must be convert into network-code.@refill
+METHOD \e$B$,\e(B MIME charset \e$B$G$"$l$P!"\e(BFIELD \e$B$O%M%C%H%o!<%/%3!<%I$KJQ49$7$J\e(B
+\e$B$1$l$P$J$i$J$$$H$-$K\e(B charset \e$B$KId9f2=$5$l$k!#\e(B@refill
-Otherwise the FIELD will be encoded as variable
-@code{default-mime-charset} when it must be convert into network-code.
+\e$B$=$&$G$J$1$l$P!"\e(BFIELD \e$B$O%M%C%H%o!<%/%3!<%I$KJQ49$7$J$1$l$P$J$i$J$$$H$-\e(B
+\e$B$K\e(B \e$BJQ?t\e(B @code{default-mime-charset} \e$B$GId9f2=$5$l$k\e(B
@end defvar
@itemize @bullet
@item
- \e$BF|K\8l\e(B <bug-tm-ja@@chamonix.jaist.ac.jp>
+ \e$B1Q8l\e(B <emacs-mime-en@@m17n.org>
@item
- \e$B1Q8l\e(B <bug-tm-en@@chamonix.jaist.ac.jp>
+ \e$BF|K\8l\e(B <emacs-mime-ja@@m17n.org>
@end itemize
\e$B$r2?DL$b=q$/1)L\$K$J$j$^$9!#$@$+$i!"I,$:\e(B bug \e$BJs9p$O>e5-$N\e(B address \e$B$KAw$C\e(B
\e$B$F$/$@$5$$!#\e(B
-tm ML \e$B$G$O\e(B FLIM \e$B$N%P%0>pJs$N8r49$d:G?7HG$NG[I[!"\e(BFLIM \e$B$N2~NI$K4X$9$k5D\e(B
-\e$BO@$r9T$J$C$F$$$^$9!#\e(Btm ML \e$B$K;22C$7$?$$J}$O\e(B
+EMACS-MIME ML \e$B$G$O\e(B FLIM \e$B$N%P%0>pJs$N8r49$d:G?7HG$NG[I[!"\e(BFLIM \e$B$N2~NI$K\e(B
+\e$B4X$9$k5DO@$r9T$J$C$F$$$^$9!#\e(BEMACS-MIME ML \e$B$K;22C$7$?$$J}$O\e(B
@itemize @bullet
@item
- \e$BF|K\8l\e(B <tm-ja-help@@chamonix.jaist.ac.jp>
+ \e$B1Q8l\e(B <emacs-mime-en-ctl@@m17n.org>
@item
- \e$B1Q8l\e(B <tm-en-help@@chamonix.jaist.ac.jp>
+ \e$BF|K\8l\e(B <emacs-mime-ja-ctl@@m17n.org>
@end itemize
@noindent