Join GitHub today
`evil-forward-section-begin` misbehaves #197
This bug is linked with evil-mode, so I first opened an issue there:
The Evil maintainer suggests that Markdown-mode might be to blame.
Let me describe the Markdown mode defun movement functions. That might clear things up?
If the point is in the whitespace between the second "foo" and "# header 1", then you are at the end of the "# header 0" defun. The docstring for
Markdown mode's defun functions behave like those in
So, with your test document if you move to the beginning of the buffer and press C-M-e repeatedly, Markdown mode moves the point just after "foo" each time. So, it's consistent in
Edit: I meant to write C-M-e.
Let me quote @wasamasa:
The thing is, other modes are fine.