Closed bpstahlman closed 7 years ago
I am unfamiliar with the convolute command in Emacs Paredit
, so I will have to take your word on the implementation. Thank you.
No problem. I tested a number of examples in both vim-sexp and Paredit, and the results were pretty much identical, except in cases where I thought Paredit should have been a little smarter.
On Mon, May 15, 2017 at 11:30 AM, Sung Pae notifications@github.com wrote:
I am unfamiliar with the convolute command in Emacs Paredit, so I will have to take your word on the implementation. Thank you.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/guns/vim-sexp/pull/24#issuecomment-301528965, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7pQNxNgnnsdGCxOfYUIepzp_OkZuf7ks5r6H2agaJpZM4Nadkr .
Synopsis Adds a convolute command, similar to the one provided by Emacs Paredit, but significantly smarter: e.g., breaks only at sensible locations, and preserves bracket types.
Intended Use Case Widen the scope of a let binding to include [count] ancestor forms. The following examples illustrate the intended usage. Note: cursor position denoted by `|'
Original Form:
Example 1: convolute with [count]=1 (default):
Example 2: convolute with [count]=2: