-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evil-forward-section-begin
misbehaves
#197
Comments
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. |
Thanks. I did read the original issue, but after re-reading it more carefully I now understand that the issue is when the point is at the end of the buffer and I can reproduce it (independently of |
I think that should fix your issue, but please let me know if not. |
This bug is linked with evil-mode, so I first opened an issue there:
emacs-evil/evil#844
Pressing
]]
onheader 1
moves the point at the end of the body ofheader 2
. Same with header 2 and 3.Only the last 3 headers are concerned. The rest is fine.
[[
(evil-backward-section-begin
) does not display the issue.The Evil maintainer suggests that Markdown-mode might be to blame.
The text was updated successfully, but these errors were encountered: