Class Redwood::EditMessageMode
In: lib/sup/modes/edit-message-mode.rb
Parent: LineCursorMode

Methods

Constants

DECORATION_LINES = 1
FORCE_HEADERS = %w(From To Cc Bcc Subject)
MULTI_HEADERS = %w(To Cc Bcc)
NON_EDITABLE_HEADERS = %w(Message-id Date)
RE_ADDRESS = /(.+)( <.*@.*>)/

Attributes

body  [RW] 
header  [RW] 
status  [R] 

Public Class methods

Public Instance methods

hook for subclasses. i hate this style of programming.

Protected Instance methods

Encode "bælammet mitt <user@example.com>" into "=?utf-8?q?b=C3=A6lammet_mitt?= <user@example.com>

TODO: remove this. redundant with write_full_message_to.

this is going to change soon: draft messages (currently written with full=false) will be output as yaml.

[Validate]