我如何整合以下内容(从穆特的手册)在杂种狗的帮助?或者,如果有人认为独立调用它更好,如何使其可通过快捷方式调用?通过宏?
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
USE 标志的情况下编译的,此处使用 Funtoo/Linux)。其次,有宏以某种方式调用手册。
编译支持“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 版本相应地更新宏。