[mew-dist 28066] cmew.rb and smew.rb

Tatsuya Kinoshita tats at example.com
2008年 2月 17日 (日) 23:27:41 JST


cmew.rbとsmew.rbについて、下記のような要望があります。ご検討いただけ
ないでしょうか。

* ファイル名の".rb"

  実装するプログラム言語に依存しない名前の方が望ましいように思えます。
  ".rb"は省いてはどうでしょうか。

* cmew.rb: ignore_regexのデフォルト値

  'casket'だと部分的にも一致してしまうので、'/casket$'にしては
  どうでしょうか。

* 先頭のコメント

  cmew.rbとsmew.rbで逆になっているのではないでしょうか。

* RubyGems

  RubyGemsの管理外にある(たとえばDebianパッケージや手動インストールの)
  SQLite3/Rubyを使おうとすると、「require 'rubygems'」「gem 'sqlite3-ruby'」
  の行が邪魔になってしまいます。インストール時に無効にするような手立ては
  できないものでしょうか。

  あるいは、RubyGems関連の行は削ってしまって、単に「require 'sqlite3'」
  だけで十分な気もします。(RubyGemsを強制はせずに、任意のインストール
  手段を使えるようにしておく)

* man page

  bin内の他のコマンド同様に、man pageを用意していただけないでしょうか。
  参考までにDebianパッケージ向けに書いたman pageを添付しておきます。
  (末尾のBUGSを省いた形での取り込みをご検討いただければと思います)

-- 
木下達也
-------------- next part --------------
.\" Unlimited permission is granted to use, copy, distribute and/or modify
.\" this file.  There is NO WARRANTY.
.TH CMEW 1 "February 17, 2008"
.SH NAME
cmew - create Mew's database file
.\"
.SH SYNOPSIS
cmew
.RI [ db_file
.RI [ maildir
.RI [ ignore_regex ]]]
.\"
.SH DESCRIPTION
The
.B cmew
utility creates a Message-ID database file with SQLite 3 for Mew.
.PP
.I db_file
is a database file name.  (default: "~/Mail/id.db")
.PP
.I maildir
is a mail directory name.  (default: "~/Mail")
.PP
.I ignore_regex
is a regular expression for the mail directory names to not create the database.  (default: "casket")
.\"
.SH BUGS
This command is renamed from cmew.rb by the Debian maintainer, so this manual is not integrated in the upstream source.
.\"
-------------- next part --------------
.\" Unlimited permission is granted to use, copy, distribute and/or modify
.\" this file.  There is NO WARRANTY.
.TH SMEW 1 "February 17, 2008"
.SH NAME
smew - search related messages from Mew's database file
.\"
.SH SYNOPSIS
smew
.RI [ mydb
.RI [ myid
.RI [ mydir ]]]
.\"
.SH DESCRIPTION
The
.B smew
utility searches related messages from a Message-ID database file with SQLite 3 for Mew.
.PP
.I mydb
is a database file name.  (default: "~/Mail/id.db")
.PP
.I myid
is a Message-ID of the message to search.
.PP
.I mydir
is a directory part of the message in the database.
.\"
.SH BUGS
This command is renamed from smew.rb by the Debian maintainer, so this manual is not integrated in the upstream source.
.\"


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