-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
Description
Expected behavior
In Clojure mode I can raise bar in the expression (foo? bar) by moving the cursor into the symbol bar and invoking sp-raise-sexp. The result should be bar on its own.
Actual behavior
I get foo? raised on its own, as if I had moved the cursor on that symbol and then raised it.
This also happens if the expression I'm trying to raise is not a symbol, e.g.: (foo? (bar ...)), if I try to raise (bar ...) with the cursor on (, then it still raises foo? instead.
Steps to reproduce the problem
Open a file in Clojure mode, type (foo? bar), move the cursor to one of the characters of bar, invoke sp-raise-sexp.
Commits
- I'm using the latest commit b629b4e.
- It DOES work correctly with 8459f2f.
- It might be related to Recent commit breaks wrapping symbols with question marks in them #1212, where
sp-wrap-roundwas fixed for symbols including a question mark, but maybe not the underlying issue with how question marks are treated.
Environment & version information
Emacs version: GNU Emacs 30.2 (build 2, aarch64-apple-darwin25.1.0, NS appkit-2685.20 Version 26.1 (Build 25B78)) of 2025-12-17
Distribution: Doom
OS: darwin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Projects
Status
Backlog