X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=mime-en.sgml;h=de14cb9831bad467febd6ef044e415989319578f;hb=4bf8fd8f57d3cb4184c0285e9d948af790d2dfc2;hp=1ec17582bc6aaedc9b55a381fd78cec01fb932f5;hpb=1126ce6d802977911ec3eb93a67749ba15609b44;p=elisp%2Fflim.git diff --git a/mime-en.sgml b/mime-en.sgml index 1ec1758..de14cb9 100644 --- a/mime-en.sgml +++ b/mime-en.sgml @@ -1,6 +1,6 @@
-nil
.
-
+
Insert before point a decoded contents of header of entity.
@@ -276,8 +280,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.
+
-(It is not written yet, sorry. (^_^;)
+
+Define type as a mm-backend.
-(Please read mm*.el)
+If PARENTS is specified, type inherits parents.
+Each parent must be representation-type.
+
+Example:
+
+
+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 +597,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,24 +740,102 @@ 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:
+
+
-
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
+Association list to specify field encoding method. Each element looks
+like (FIELD . METHOD).
+
+If METHOD is
+If METHOD is
+If METHOD is a MIME charset, the FIELD will be encoded as the charset
+when it must be convert into network-code.
+
+Otherwise the FIELD will be encoded as variable
+
-適切な
-本来は APEL の変数である。
-
MIME 機能に関する実装が一時的に使用する file を作成する directory.
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
@@ -750,28 +858,49 @@ FLIM はこれらを符号化・復号化する機能を提供します。
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
+eword-field-encoding-method-alist
.
mime
, the FIELD will be encoded into MIME
+format (encoded-word).
+nil
, the FIELD will not be encoded.
+default-mime-charset
when it must be convert into
+network-code.
+ Various Customization
mail
と news
に属する。
-