You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option 2: Wrap the whitespace node.
Don't think this in the spirit of paredit.
Option 3: Wrap the next non-ws/non-comment node else no-op.
This seems to match my doom emacs paredit.
But this means the location of the zipper moves, which can be surprising.
The user can always decide to locate to a non-ws non-comment node prior to wrap-around.
So, let's go for the least surprising/no-magic option 1, no-op:
;; => "1\n2"
Diagnosis
Done.
Action
I'll address.
The text was updated successfully, but these errors were encountered:
Version
1.1.49
Platform
All
Symptom
If zipper is located on whitespace,
wrap-around
returns nil.Reproduction
Actual behavior
;; => nil
Expected behavior
Let's see:
Option 1: No-op, return zloc unchanged.
Option 2: Wrap the whitespace node.
Don't think this in the spirit of paredit.
Option 3: Wrap the next non-ws/non-comment node else no-op.
This seems to match my doom emacs paredit.
But this means the location of the zipper moves, which can be surprising.
The user can always decide to locate to a non-ws non-comment node prior to wrap-around.
So, let's go for the least surprising/no-magic option 1, no-op:
;; => "1\n2"
Diagnosis
Done.
Action
I'll address.
The text was updated successfully, but these errors were encountered: