Skip to content

Smartparens strict mode backspacing over apostrophized words causes point jump #744

@dakrone

Description

@dakrone

Expected behavior

Let's assume I'm in the following org-mode buffer, | is the point:

* What happens if the ~target_response_rate~ is set too low?

Let's assume we r|

And I backspace up to the ', all good so far:

* What happens if the ~target_response_rate~ is set too low?

Let'|

If I hit backspace one more time, I expect:

* What happens if the ~target_response_rate~ is set too low?

Let|

Actual behavior

Instead, this is what I actually get:

* What happens if the ~target_response_rate|~ is set too low?

Let'

The cursor jumped up to the last surrounded thing!

Steps to reproduce the problem

Enable smartparens-strict-mode, attempt to duplicate the above buffer in org-mode

Environment & version information

  • smartparens version: smartparens-20170430.844
  • Active major-mode: org-mode
  • Emacs version (M-x emacs-version): GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.11) of 2017-04-25
  • OS: Linux, Fedora 25

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions