Add weechat-button: Turn URLs into buttons.

* weechat.el: Add `weechat-insert-modify-hook'.
* weechat-button.el: New.  Button handler.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Button: Change button properties and docstrings.

Buttons properties are now more flexible.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Button: Repeat search.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Merge branch 'master' into button
todo.org: Add file local variables.

Explicitly setting `org-pretty-entities' to nil prevents
_buffer_opened and so on from being wrongly rendered.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
todo: URL stuff done

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Check if `sauron-switch-to-marker-or-buffer' is bound.

This fixes a compile time warning.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Move `weechat-highlight-face' to other deffaces.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Button: Added customize group.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Button: Made buttons more flexible.

Added `weechat-button-list'.  Inspired by ERC.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Button: Add support for `symbol' links.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Button: Added URL log.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
Made URLs in docstring buttonized. (M)

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
use `make-button' instead of `make-text-button'

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
indent whole buffer

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Implement button logging via hooks

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Disable url-log-buffer when `weechat-button-default-log-buffer' is nil

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Use nicer loading-unloading for modules

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Strip text properties before running button hooks

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>
Merge branch 'master' into button

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>

Conflicts:
	todo.org
	weechat.el