Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mknmz and expire

0 views
Skip to first unread message

TSUCHIYA Masatoshi

unread,
Sep 16, 2001, 7:17:26 AM9/16/01
to
mknmz を実行してインデックスを作成中に、同時に Gnus を利用していて、か
つ、インデックスの作成対象となるメールを expire してしまうと、「インデッ
クス対象のファイルがなくなっている」という趣旨のエラーが発生して、
mknmz が途中終了してしまいます。

これは、存在しないファイルを無視して続行してくれるように mknmz を改造
した方が良いとは思いますが、とりあえず、以下のような advice を定義して
使っています。


(defadvice nnml-request-expire-articles
(around gnus-namazu/lock-expire-articles activate compile)
(if (and (stringp gnus-namazu-index-directory)
(file-directory-p gnus-namazu-index-directory)
(file-exists-p (expand-file-name "NMZ.lock2" gnus-namazu-index-directory)))
(setq ad-return-value (ad-get-arg 0))
ad-do-it))

--
土屋 雅稔 ( TSUCHIYA Masatoshi )

0 new messages