[Mew-dist 2795] Re: color of citation in Message buffer

Kazu Yamamoto ( 山本和彦 ) Kazu at example.com
1997年 10月 29日 (水) 14:02:07 JST


From: SAKAI Kiyotaka <ksakai at example.com>
Subject: [Mew-dist 2794] Re: color of citation in Message buffer
Date: Wed, 29 Oct 1997 13:07:15 +0900

> # 今のコードは n 個 regex が書いてあると、n 回 re-search-forward を実
> # 行するようになっていますが、他にいいアルゴリズムがあればそちらを使い
> # たいです。

highlight-header-region のように、

	(1) 正規表現は行の制約を受ける
	(2) 外のループは行をなめる
	    (ユーザが設定した最大行まで forward-line するのみ)
		内側のループは正規表現をなめる
		(行頭で looking-at するのみ)

するのがよいと思います。

	(3) 正規表現に日本語をいれるのはイヤ

--かず

	



Mew-dist メーリングリストの案内