Closed justinbarclay closed 4 years ago
Perhaps related to #12 ?
I think it definitely could be. But for now it's also added as a default to the tread-command-as
system.
This is still open because I haven't been able to test it too much lately, due to work being mostly backend. That and I knew it didn't behave the way I wanted to when yanking code because it would leave some code too indented. I've just pushed a small patch that also clears out any changes tracked in the buffer when the treat-command-as
system is in effect. So hopefully, once I have more time to test, I can validate my changes and close this issue.
Slight update.
I've been copy-pasting a bunch of code lately and everything worked fine.
This should be working now. The yank and pop-yank commands are under the treat-command-as
system, so parents should still be maintained. Any breakage there is more to do the the system itself and less with the command.
Thanks to @andreyorst helping to confirm this is working I’m closing this feature request.
When pasting code into a lisp document, paren mode should be enabled to make sure code stays aligned regardless of the amount of whitespace in all lines.