diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2011-07-04 08:07:21 +0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-09-10 10:13:40 -0300 |
commit | c6a3a768fef9f59f483af04f4418d350efc27968 (patch) | |
tree | c74e32ca6ed8020b8611d2d9d1e0404dedd9bb7e /test/README | |
parent | 4cc67276885990c38bc2bcc79eedbb0851e2bc8a (diff) |
test: add emacs test for hiding a message following an HTML part
Human-friendly scenario:
* open a thread where a message which ends with an HTML part is
followed by another message
* make the first message visible
* goto the beginning of the second message (first line, first colon)
* hit "RET"
Result: nothing happens except for "No URL at point" message
Expected result: the second message is shown/hidden
The root cause is that the HTML part has `keymap' text property set.
In particular, "RET" is bound to visit a URL at point. The problem is
that `keymap' property affects the next character following the region
it is set to (see elisp manual [1]). Hence, the first character of
the next message has a keymap inherited from the HTML part.
[1] http://www.gnu.org/software/emacs/elisp/html_node/Special-Properties.html
Diffstat (limited to 'test/README')
0 files changed, 0 insertions, 0 deletions