-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Comments
Likely related: if I use |
In Clojure mode "?" is no longer considered a part of sexp. I think it affects all sexp commands: sp-mark-sexp and sp-forward-sp.
Versions: I installed smartparens 1.11.0. I cannot do my work with buggy smartparens. 😢 |
This is still a real problem |
For https://github.com/doomemacs/doomemacs the package can be pinned to the last commit before the broken one: ;; in packages.el
(package! smartparens
;; until https://github.com/Fuco1/smartparens/issues/1212 is resolved
:pin "8459f2f7f025baa8c0c98d18531a5fa32f63d949") |
Is the problem in smartparens, or in clojure-mode? It doesn't happen in emacs-lisp-mode. The difference seems to be that when the character after the point is This causes different behaviour in
|
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 65881cd 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-30The text was updated successfully, but these errors were encountered: