Closed richarddwang closed 6 months ago
I'm assuming you mean sp-end-of-sexp
and sp-beginning-of-sexp
. I've tried but can't reproduce this issue.
Can you try this in an emacs -q
session (this won't load your config). You will have to manually load dash and smartparens first because your packages won't initialize either.
Can you please check if this is fixed with the patch fixing #860? I can't reproduce this particular case.
I have leaved a comment on #860 . "I use smartparens20180308.1042 now, but I still get the same issue. And I can still use the way specified by issue mentioned in my comment above, to reproduce and to avoid the issue."
There are no functions sp-end-sexp
or sp-beggining-sexp
, maybe they come from another package and don't work. I tried to reproduce the issue with the original buffer posted, calling sp-end-of-sexp
and sp-beginning-of-sexp
and they work as intended.
When cursor is at anywhere on
save-excursion
Expected behavior
Move cursor to the position between
(
andsave-excursion
aftersp-beginning-sexp
Move cursor to the end liket))|)
aftersp-end-sexp
Actual behavior
Won't move a bit after
sp-end-sexp
orsp-beggining-sexp
Environment & version information
smartparens
version: 20180204.844M-x emacs-version
): GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-12-21