- register_keymap do |k|
- k.add :move_cursor_right, "Move cursor to the right", :right
- k.add :move_cursor_left, "Move cursor to the left", :left
- end
+ HookManager.register "attribution", <<EOS
+Generates an attribution ("Excerpts from Joe Bloggs's message of Fri Jan 11 09:54:32 -0500 2008:").
+Variables:
+ message: a message object representing the message being replied to
+ (useful values include message.from.name and message.date)
+Return value:
+ A string containing the text of the quote line (can be multi-line)
+EOS
+
+ HookManager.register "reply-from", <<EOS
+Selects a default address for the From: header of a new reply.
+Variables:
+ message: a message object representing the message being replied to
+ (useful values include message.recipient_email, message.to, and message.cc)
+Return value:
+ A Person to be used as the default for the From: header, or nil to use the
+ default behavior.
+EOS
+
+ HookManager.register "reply-to", <<EOS
+Set the default reply-to mode.
+Variables:
+ modes: array of valid modes to choose from, which will be a subset of
+ [:#{REPLY_TYPES * ', :'}]
+ The default behavior is equivalent to
+ ([:list, :sender, :recipent] & modes)[0]
+Return value:
+ The reply mode you desire, or nil to use the default behavior.
+EOS