An option to match electric-pair-mode behavior when wrapping regions by typing the opening character is present.
Actual behavior
smartparens behaves differently than electric-pair-mode and provides no option to match it.
Steps to reproduce the problem
Set up smartparens
Select a region to wrap
Type a pair opening character, for example (
Point is at the opening pair, not after it (where region started)
Environment & version information
In recent enough smartparens you can call M-x sp-describe-system to generate this report. Please fill manually what we could not detect automatically. Edit the output as you see fit to protect your privacy.
For the record, sp-describe-system is broken for me, I use straight.el as my package manager, so package-alist doesn't exist.
smartparens version: 1.11.0
Active major-mode: emacs-lisp-mode
Emacs version (M-x emacs-version): "GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8)"
Expected behavior
An option to match
electric-pair-mode
behavior when wrapping regions by typing the opening character is present.Actual behavior
smartparens
behaves differently thanelectric-pair-mode
and provides no option to match it.Steps to reproduce the problem
(
Environment & version information
In recent enough
smartparens
you can callM-x sp-describe-system
to generate this report. Please fill manually what we could not detect automatically. Edit the output as you see fit to protect your privacy.For the record,
sp-describe-system
is broken for me, I usestraight.el
as my package manager, sopackage-alist
doesn't exist.smartparens
version: 1.11.0M-x emacs-version
): "GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8)"