`weechat-message-filter-functions': Modify text before sending.

From the docstring:

List of functions called in sequence before a line will be sent to the server.

The functions (a b c) are applied like (a (b (c input-string))).
If a function returns nil, evaluation will stop and the line is
ignored.

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

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
New module: weechat-alias. Define local command aliases in elisp.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Run checkdoc on weechat-alias.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Rename weechat-alias-command-prefix to weechat-alias-prefix.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Implement double-ret for filtered messages:

If `weechat-message-filter-require-double-ret' is t and message filter
changes something, weechat.el will replace the text in the buffer,
requiring a second RET before sending it to the server.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Remove one of my hooks from weechat-alias. Whoops.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Rename weechat-alias to weechat-cmd.

Custom command functions now have the prefix 'weechat-command-'.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Add `weechat-tracking-clear-buffers'.
Regexp support for `weechat-auto-monitor-buffers'.
Sort TODOs.
Better handle 'not connected'.
Don't use short_name in `weechat-buffer-name'.
Handle not connected in `weechat-send-input'
Remove outdated TODO.
Merge branch 'master' into local-commands

Conflicts:
	weechat.el
Start updating NEWS.org for 0.3.
0.3 is in progress, not done yet.
Use buffer-local variables to fix scrolling.
Improve `weechat-message-post-receive-functions'.

Current buffer will be set to the monitoring buffer if possible.