Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to match wrapping behavior of electric-pair-mode #1181

Open
UwUnyaa opened this issue Jan 14, 2024 · 0 comments
Open

No way to match wrapping behavior of electric-pair-mode #1181

UwUnyaa opened this issue Jan 14, 2024 · 0 comments

Comments

@UwUnyaa
Copy link

UwUnyaa commented Jan 14, 2024

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 than electric-pair-mode and provides no option to match it.

Steps to reproduce the problem

  1. Set up smartparens
  2. Select a region to wrap
  3. Type a pair opening character, for example (
  4. 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)"
  • Spacemacs/Evil/Other starterkit (specify which)/Vanilla: Vanilla
  • OS: Arch Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To triage
Development

No branches or pull requests

1 participant