Started code clean and split up.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Don't rely on weechat-* requiring 's it before it's needed

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Use `cond' instead of (if ... x (if ... y z)).

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Add marker-property weechat-text to mark text content of a line.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Add `weechat-line-text'.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Add `weechat-line-text-start'.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
New module: weechat-corrector.

Fix your own messages via s/foo/bar/ regular expression.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Add optional 'compression' argument.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Use `forward-line' with neg. arg instead of `previous-line'.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
weechat-corrector: Handle nil text.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Support for s/foo/bar/ is DONE. (M)

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Add TODOs. (M)

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>