X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=mime-en.sgml;h=35783dff761fa537e39f1b72778574fea366b80e;hb=refs%2Fheads%2Fflim-1_14;hp=1ec17582bc6aaedc9b55a381fd78cec01fb932f5;hpb=1126ce6d802977911ec3eb93a67749ba15609b44;p=elisp%2Fflim.git diff --git a/mime-en.sgml b/mime-en.sgml index 1ec1758..35783df 100644 --- a/mime-en.sgml +++ b/mime-en.sgml @@ -1,8 +1,8 @@
--This file documents MIME features of FLIM, a Internet message -parsing/encoding library for GNU Emacs. +This file documents MIME features of FLIM, a fundamental library to +process Internet Messages for GNU Emacsen.
@@ -183,6 +187,15 @@ If message is not specified,
+Return entity from cid in message.
+
+If message is not specified,
+mime-message-structure
is used.
mime-message-structure
is used.
+
nil
.
-
+
Insert before point a decoded contents of header of entity.
@@ -276,8 +293,32 @@ field-name to hide.
If a field-name is matched with some elements of
invisible-fields and matched with none of
visible-fields, this function don't insert the field.
+
+Each
+Insert before point a contents of entity as text entity.
+
+Contents of the entity are decoded as
+Symbol to indicate default value of
+It is used when MIME charset is not specified.
+
+It is originally variable of APEL.
+default-mime-charset
.
+default-mime-charset
is
+used as default value.
+Insert content of entity at point. +
Write content of entity into filename.
+
+Insert header and body of entity at point.
+
@@ -393,12 +450,42 @@ return the result.
-(It is not written yet, sorry. (^_^;)
+
+Define type as a mm-backend.
+
+If PARENTS is specified, type inherits parents.
+Each parent must be representation-type.
+
+Example:
-(Please read mm*.el)
+
+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:
+
+
-Parse string as field-body of Content-Type field.
+Parse string as a field-body of Content-Type field, and
+return the result as
-Read field-body of Content-Type field from current-buffer,
-and return parsed it.
+Parse Content-Type field of the current buffer, and return the result
+as
Return
Return type/subtype string from type and
subtype.
@@ -538,10 +626,10 @@ specify presentation of an entity or attributes of an entity, such as
file name.
FLIM provides parser for Content-Disposition field and structure
Parse string as field-body of Content-Disposition field,
-and return the result.
+and return the result as
-Read field-body of Content-Disposition field from current-buffer,
+Parse Content-Disposition field of the current buffer, and return the
+result as
-Return nil if Content-Disposition field is not found.
+Return
-
-FLIM では Content-Transfer-Encoding 欄を構文解析する関数を提供します。こ
-れらの関数は Content-Transfer-Encoding 欄の情報は文字列で表現します。
+FLIM provides parser functions for Content-Transfer-Encoding field.
+They represent information of Content-Transfer-Encoding field as
+string.
-また、Content-Transfer-Encoding に基づいて符号化・復号化を行う関数も提
-供されます。
+In addition, FLIM provides encoder/decoder functions by
+Content-Transfer-Encoding.
-string を content-transfer-encoding として解析した結果を返す。
+Parse string as a field-body of Content-Transfer-Encoding
+field, and return the result.
-現在の buffer の Content-Transfer-Encoding 欄を読み取り、解析した結果を
-返す。
+Parse Content-Transfer-Encoding field of the current buffer, and
+return the result.
-Content-Transfer-Encoding 欄が存在しない場合は
-default-encoding を返す。
+Return default-encoding if Content-Transfer-Encoding field
+is not found. If it is not specified,
-Alist of encoding vs. corresponding method to encode region.
-
-Each element looks like
-Alist of encoding vs. corresponding method to decode region.
-
-Each element looks like
-string を encoding として復号した結果を返します。
+Decode string which is encoded in encoding, and
+return the result.
-Alist of encoding vs. corresponding method to decode string.
-
-Each element looks like
@@ -710,96 +769,182 @@ Decode and write current region encoded by encoding into
start and end are buffer positions.
-Alist of encoding vs. corresponding method to insert encoded file.
+
-Each element looks like
+If service is specified, it returns available list of
+Content-Transfer-Encoding for it.
+
-
-Alist of encoding vs. corresponding method to write decoded region to
-file.
+Return table of Content-Transfer-Encoding for completion.
-Each element looks like
+
+Define name as a method function of (nth 1 (car (last
+args))) backend.
+
+args is like an argument list of lambda, but (car (last
+args)) must be specialized parameter. (car (car (last
+args))) is name of variable and (nth 1 (car (last
+args))) is name of backend (encoding).
+
+Example:
+
+
+Set spec's function definition to function.
+
+First element of spec is service.
+
+Rest of args is like an argument list of lambda, but (car
+(last args)) must be specialized parameter. (car (car
+(last args))) is name of variable and (nth 1 (car (last
+args))) is name of backend (encoding).
+
+Example:
+
+
+
+Define name as a service for Content-Transfer-Encodings.
+
+If args is specified, name is defined as a
+generic function for the service.
+
+Example:
+
+
-encoded-word は header で非
-また、行儀の悪いことだと言えますが、encoded-word を用いずに非
-
-FLIM はこれらを符号化・復号化する機能を提供します。
+FLIM provides encoding/decoding features of both encoded-word and
+invalid "raw" non-
-
Decode MIME encoded-words in header fields.
-If code-conversion is
-If separator is not nil, it is used as header separator.
+If separator is not
Encode header fields to network representation, such as MIME
encoded-word.
-It refer variable
-
-MIME 関連機能に関する group.
+If METHOD is
-
-適切な
-本来は APEL の変数である。
+Otherwise the FIELD will be encoded as variable
+
+
-MIME 機能に関する実装が一時的に使用する file を作成する directory.
+The group associated with functions related to MIME.
-環境変数
If you write bug-reports and/or suggestions for improvement, please
-send them to the tm Mailing List:
+send them to the EMACS-MIME Mailing List:
@@ -1156,49 +1301,48 @@ to send backtrace is very important.
-Via the tm ML, you can report FLIM bugs, obtain the latest release of
-FLIM, and discuss future enhancements to FLIM. To join the tm ML,
-send empty e-mail to:
+Via the EMACS-MIME ML, you can report FLIM bugs, obtain the latest
+release of FLIM, and discuss future enhancements to FLIM. To join the
+EMACS-MIME ML, send an empty e-mail to:
-FLIM の file は CVS を使って管理されています。このため、以下の方法で最
-新の FLIM を入手することができます:
+Files in FLIM are managed under CVS. Therefore you can obtain the
+newest FLIM by the following method:
-CVS を用いた開発に参加したい方は
+If you would like to join CVS based development, please send mail to
nil
if Content-Type field is not found.
nil
if Content-Type field is not found.
nil
if Content-Disposition field is not found.
Encoding Method
Parser
nil
is used as the
+default value.
Region encoding/decoding
-
Encoder/decoder
+
(STRING . FUNCTION)
or
-(STRING . nil)
. string is
-content-transfer-encoding. function
is region encoder
-and nil
means not to encode.
-(STRING . FUNCTION)
or
-(STRING . nil)
. string is
-content-transfer-encoding. function
is region decoder
-and nil
means not to decode.
- String encoding/decoding
-
(STRING . FUNCTION)
.
-STRING is content-transfer-encoding.
-FUNCTION is string decoder.
- File encoding/decoding
-
Other utilities
+
(STRING . FUNCTION)
. STRING is
-content-transfer-encoding. FUNCTION is function to insert encoded
-file.
-(STRING . FUNCTION)
. STRING is
-content-transfer-encoding. FUNCTION is function to write decoded
-region to file.
- How to write encoder/decoder module
+
How to add encoding/decoding service
+
Network representation of header
Header encoding/decoding
nil
, it decodes only
-encoded-words. If it is mime-charset, it decodes non-ASCII bit
-patterns as the mime-charset. Otherwise it decodes non-ASCII bit
-patterns as the default-mime-charset.
+If code-conversion is nil
, only encoded-words
+are decoded. If code-conversion is a default-mime-charset
. nil
, it is used as header
+separator.
eword-field-encoding-method-alist
.
+Each field is encoded as corresponding method specified by variable
+mime-field-encoding-method-alist
.
Various Customization
-
mime
, the FIELD will be encoded into MIME
+format (encoded-word).
mail
と news
に属する。
-nil
, the FIELD will not be encoded.
default-mime-charset
when it must be convert into
+network-code.
Various Customization
+
MIME_TMP_DIR
, TM_TMP_DIR
,
-TMPDIR
, TMP
もしくは TEMP
が設定
-されていた場合、それを初期値として用いる。何も設定されていない場合、
-"/tmp/"
を用いる。
-mail
and news
.
+
Appendix
@@ -1135,11 +1280,11 @@ be interpreted as us-ascii.
-
-
CVS based development
-
History of FLIM