[Mew-dist 14237] Re: scan-form
Shigeya Suzuki
shigeya at example.com
2000年 9月 26日 (火) 16:38:32 JST
>>>>> "kazu" == 山本和彦 <Kazu> writes:
kazu> mew-scan-form のドキュメントもよくなったか、読んで下さい。>
kazu> shigeya さん
前より分かりやすいとおもうけど、ついでなので、コメントします。
>> *The format for mewls output in Summary mode, called scan-from.
>> Scan-form is a list of list, symbol, and string.
" for mewls output" は削除したほうが良い気がします。
(mewls で出力しているものがどうかは、ユーザからみたら関係ないし
>>(a) A string is printed as it is.
>>
>>(b) A list consists of an integer and a symbol. The symbol specifies a
>>function to be called. The name of function is produced by
>>concatenating 'mew-scan-form-func-prefix' and the symbol name.
>>(i.e 'mew-scan-form-date').
^^ for symbol 'date'
>>Pre-defined symbols are 'type, 'time, 'date, 'year, 'size, 'from, and
>>'subj. For more details, see the explanation of the functions called
>>'mew-scan-from-<symbol>'.
>>The integer specifies the width of the return string of the function.
The じゃないよね。 This?
あと、私なら、width of の後を、こうするかな
width of field which will filled by using
return string of the function.
>> The positive value means padding SPCs on the right if necessary.
>> The negative value means padding SPCs on the left if necessary.
A positive value..
A negative value..
ではないかと。(下は a だし)
>> If a negative value is specified, the corresponding function must
>> return an ASCII string.
>> 0 means the rest width and is treated as a positive value.
~~~~ remaining
(rest と書くのは、elisp jargon??)
>>(c) A symbol is equivalent to (1 symbol).
>>(d) Only for the first element of scan-form, an interger N is allowed.
>>This is converted into '((N num) mark). Users MUST not use the symbol
>>'num and 'mark in 'mew-scan-form'. See also 'mew-scan-form-header'.
最初のエレメントが数値じゃない場合の挙動が併記してある方が親切だと思う
ので、
If the first element of scan-form is an integer, this integer is
converted into '((N num) mark). Otherwise, value of
mew-scan-form-header is inserted in front of mew-scan-form value when
used as scan format. Also note, users MUST not use the symbol 'num
and 'mark in 'mew-scan-form'. See also 'mew-scan-form-header'.
よければ、必要に応じて、適当に直して使ってください。
shigeya @ お茶休憩
Mew-dist メーリングリストの案内