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

Paredit slurp outer form if current form is nested #554

Closed
PEZ opened this issue Jan 28, 2020 · 2 comments
Closed

Paredit slurp outer form if current form is nested #554

PEZ opened this issue Jan 28, 2020 · 2 comments
Labels
paredit Paredit and structural editing

Comments

@PEZ
Copy link
Collaborator

PEZ commented Jan 28, 2020

When slurping forwardfrom something like this:

(a ((|b)) c)

Then c should be slurped by the form enclosing (b). So should get like so:

(a ((|b) c))

And similarly slurping backwards should slurp a from the enclosing form:

((a (|b)) c)
@PEZ PEZ added enhancement paredit Paredit and structural editing labels Jan 28, 2020
@PEZ
Copy link
Collaborator Author

PEZ commented Feb 23, 2020

Closing this until we know how to properly format things slurped.

@PEZ PEZ closed this as completed Feb 23, 2020
@PEZ
Copy link
Collaborator Author

PEZ commented May 11, 2020

Since we now have a mechanism for formatting arbitrary levels ”up”, maybe it is time to try implement this again.

@PEZ PEZ reopened this May 11, 2020
@PEZ PEZ closed this as completed in 899bdd8 May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
paredit Paredit and structural editing
Projects
None yet
Development

No branches or pull requests

1 participant