smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

Make sure strict mode takes into account "electric" backspace

Open Fuco1 opened this issue 8 years ago • 1 comments

In yaml-mode backspace is rebound to yaml-electric-backspace which if executed happily kills the paired delimiters even in strict mode. We should have a list of "backspace-like" functions and when these get invoked we should first use the strict-mode handlers and only then pass the control further.

Fuco1 avatar Jun 01 '17 10:06 Fuco1

See also https://emacs.stackexchange.com/questions/29476/always-remove-brackets-by-pairs-fix-hungry-delete-mode-and-smartparens-strict/29484#29484

Fuco1 avatar Jun 03 '17 21:06 Fuco1