You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're right, I should have updated to the latest package this morning before filing this, thanks for the quick fix @Fuco1, I've confirmed it's fixed now!
Expected behavior
When in strict-mode, I expect to be able to highlight empty lines and hit
C-w
to invokekill-region
, which should remove the empty lines.Actual behavior
Instead, smartparens complains about an "Unbalanced region"
Steps to reproduce the problem
I reproduced it with a .js file, but any file where
smartparens-strict-mode
is enabled will work.Starting with a file like:
Where
|
is the cursor andXXXXX
is the highlighted region (see screenshot)(Basically I hit
C-SPC
on the line below "foo": "bar" and then moved the cursor down one line withC-n
to highlight the entire empty line)Hit
C-w
, and instead of removing the empty line, I get the error about "Unbalanced region".It's interesting to note that if I hit
backspace
to issue adelete-backwards-char
, the region is correctly deleted.Backtraces if necessary (
M-x toggle-debug-on-error
)(none)
Environment & version information
smartparens
version: smartparens-20170716.1328M-x emacs-version
):GNU Emacs 25.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.15) of 2017-06-01
Linux 4.11.8-200.fc25.x86_64 #1 SMP Thu Jun 29 16:13:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: