smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

raise and splice on string should have equivalent behaviour

Open sooheon opened this issue 9 years ago • 2 comments

Given: (foo "|bar"), sp-splice-sexp results in: (foo |bar) and sp-raise-sexp results in: |"bar"

Given that when called from: (foo "b|ar") the two are equivalent, I think this case should be equivalent as well. The point being inside the string, yet not "raising" the contents of the string is unexpected.

sooheon avatar Feb 24 '16 18:02 sooheon

Both produce the same result for me. Do you have the latest version? There were some bugs fixed recently regarding sp-raise-sexp.

Fuco1 avatar Feb 24 '16 18:02 Fuco1

Seems like this has to do with enabling string parsing... I'm very close to removing that setting so it should "fix itself" automatically.

Fuco1 avatar Feb 24 '16 18:02 Fuco1