Open or opened 4 days ago
In Clojure mode I can wrap foobar? with parentheses with sp-wrap-round, getting (foobar?).
foobar?
sp-wrap-round
(foobar?)
I get (foobar)?.
(foobar)?
Open a file in Clojure mode type foobar?, try to wrap it with parentheses with sp-wrap-round.
M-x toggle-debug-on-error
N/A
smartparens
git bisect
major-mode
clojure-mode
M-x emacs-version
Likely related: if I use sp-raise-sexp on (foobar?), then the result is foobar, it removes everything after the ?.
sp-raise-sexp
foobar
?
Expected behavior
In Clojure mode I can wrap
foobar?
with parentheses withsp-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 withsp-wrap-round
.Backtraces if necessary (
M-x toggle-debug-on-error
)N/A
Environment & version information
smartparens
version: I usedgit bisect
to identify commit 65881cd575df9cda09401aba69432c34ef56027b as the one introducing this behaviour.major-mode
:clojure-mode
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