muttヘルプのパターンマッチング例の統合

muttヘルプのパターンマッチング例の統合

以下をどのように統合しますか?ムーターのマニュアル)愚かな助ける?それとも独立して呼び出す方が良いと思われる場合は、ショートカットで呼び出し可能にするにはどうすればよいですか?マクロを通して?

Muttの多くのコマンドを使用すると、一致させるパターン(制限、パターン表示、パターン削除など)を指定できます。メッセージを選択する方法はいくつかあります。

~A              all messages
~b EXPR         messages which contain EXPR in the message body
~B EXPR         messages which contain EXPR in the whole message
~c USER         messages carbon-copied to USER
~C EXPR         message is either to: or cc: EXPR
~D              deleted messages
~d [MIN]-[MAX]  messages with date-sent'' in a Date range
~E              expired messages
~e EXPR         message which contains EXPR in the Sender'' field
~F              flagged messages
~f USER         messages originating from USER
~g              PGP signed messages
~G              PGP encrypted messages
~h EXPR         messages which contain EXPR in the message header
~k              message contains PGP key material
~i ID           message which match ID in the Message-ID'' field
~L EXPR         message is either originated or received by EXPR
~l              message is addressed to a known mailing list
~m [MIN]-[MAX]  message in the range MIN to MAX *)
~n [MIN]-[MAX]  messages with a score in the range MIN to MAX *)
~N              new messages
~O              old messages
~p              message is addressed to you (consults $alternates)
~P              message is from you (consults $alternates)
~Q              messages which have been replied to
~R              read messages
~r [MIN]-[MAX]  messages with date-received'' in a Date range
~S              superseded messages
~s SUBJECT      messages having SUBJECT in the ``Subject'' field.
~T              tagged messages
~t USER         messages addressed to USER
~U              unread messages
~v              message is part of a collapsed thread.
~x EXPR         messages which contain EXPR in the References' field
~y EXPR         messages which contain EXPR in the X-Label' field
~z [MIN]-[MAX]  messages with a size in the range MIN to MAX *)
~=              duplicated messages (see $duplicate_threads)

ベストアンサー1

まず、ドキュメントファイルがありません(muttはdocここでFuntoo / Linuxを使用してUSEフラグなしでコンパイルされました)。第二に、何らかの方法でマニュアルを呼び出すマクロがあります。

"doc"サポートを使用してmuttをコンパイルした後、muttrcに次のマクロを追加しました。

macro generic <f1> "!w3m /usr/share/doc/mutt-1.5.23-r6/manual.html\n" "Show Mutt documentation"
macro index <f1> "!w3m /usr/share/doc/mutt-1.5.23-r6/manual.html\n" "Show Mutt documentation"
macro pager <f1> "!w3m /usr/share/doc/mutt-1.5.23-r6/manual.html\n" "Show Mutt documentation"

これが可能な解決策です。ただし、ドキュメントがバージョンごとに異なるため、新しいmuttバージョンに従ってマクロを更新する必要があることを意味します。

おすすめ記事