HTML mode sgml-skip-tag-forward in visual line mode
sgml-mode.el (the default html mode) defines a function called sgml-skip-tag-forward. This function does not behave properly when using visual line selection mode, the cursor remains in place instead of the expected behaviour of skipping to the closing tag of the tag at point. sgml-skip-tag-forward works as expected in visual selection mode and visual block selection mode.
This behaviour can be reproduced with the following version of emacs:
GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-08-29
Starting emacs with:
(add-to-list 'load-path "/path/to/evil") (require 'evil) (evil-mode 1)
Steps to reproduce:
Open an html file and move point to an opening tag.
Press C-c C-f to run sgml-skip-tag-forward to observe normal behaviour (C-c C-b to return to opening tag).
Press V to enter visual line selection mode, and then C-c C-f to observe incorrect behaviour.