feat(editor): add paredit editor, a terminal-native text editing session - #143
Merged
Conversation
paredit-feature-editor owns the text-buffer aggregate, cursor invariants, editing actions, and undo/redo session state behind a DocumentStore port; the presentation layer adds a thin raw-mode terminal adapter (paredit editor <file>) that translates keypresses into the feature's application API and renders the returned state. Also fixes two defects found while landing this branch: a non- exhaustive Key::Ctrl match that made the workspace fail to compile, and a dead Key::Quit variant that left Ctrl-C/Ctrl-Q/Escape wired to nothing, so the editor had no interactive way to quit.
readme_contract::readme_commands_match_top_level_help caught the drift: `paredit editor` exists in --help but was missing from the README table.
takeokunn
added a commit
that referenced
this pull request
Aug 8, 2026
Minor release: `paredit editor <file>` is a new interactive terminal editor command (#143); `paredit edit format`/`paredit fix` also align Common Lisp and Emacs Lisp indentation with Emacs/SLIME conventions across 36 divergence patterns (#144). No removed or renamed stable surface — the capabilities catalog diff against v1.5.0 is purely additive (the new `editor` command only).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
paredit-feature-editor, owning the text-buffer aggregate, cursor invariants, editing actions, and undo/redo session state behind aDocumentStoreport.paredit editor <file>) that translates keypresses into the feature's application API and renders the returned state.Key::Ctrlmatch that failed the workspace build, and a deadKey::Quitvariant that left Ctrl-C/Ctrl-Q/Escape wired to nothing (no interactive way to quit).editorin thecapabilitiescontract test.Test plan
cargo check --workspace --all-targetscargo clippy -p paredit-feature-editor -p paredit-cli --all-targets(zero warnings)cargo test -p paredit-feature-editor -p paredit-cli --lib(342 passed)cargo test -p paredit-cli --test cli capabilities_contract(10 passed)cargo fmt --checkcleannix flake check(CI)