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

Recent commit breaks wrapping symbols with question marks in them #1212

Open
or opened this issue Jul 2, 2024 · 1 comment
Open

Recent commit breaks wrapping symbols with question marks in them #1212

or opened this issue Jul 2, 2024 · 1 comment

Comments

@or
Copy link

or commented Jul 2, 2024

Expected behavior

In Clojure mode I can wrap foobar? with parentheses with sp-wrap-round, getting (foobar?).

Actual behavior

I get (foobar)?.

Steps to reproduce the problem

Open a file in Clojure mode type foobar?, try to wrap it with parentheses with sp-wrap-round.

Backtraces if necessary (M-x toggle-debug-on-error)

N/A

Environment & version information

  • smartparens version: I used git bisect to identify commit 65881cd as the one introducing this behaviour.
  • Active major-mode: clojure-mode
  • Smartparens strict mode: nil
  • Emacs version (M-x emacs-version): GNU Emacs 29.4 (build 2, aarch64-apple-darwin23.5.0, NS appkit-2487.60 Version 14.5 (Build 23F79)) of 2024-06-30
  • Starterkit/Distribution: Doom
  • OS: darwin
@or
Copy link
Author

or commented Jul 2, 2024

Likely related: if I use sp-raise-sexp on (foobar?), then the result is foobar, it removes everything after the ?.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants