diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 22:03:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 23:50:22 -0300 |
| commit | a310585195484b8420f14cff3e736c604f47c11e (patch) | |
| tree | eaeea814f0c01731eb124bd115e1e8dac8d610b2 /docs | |
| parent | b8a6b0589ddbe65a4c80272ff44ceb77d2f0d02f (diff) | |
| download | pardes-a310585195484b8420f14cff3e736c604f47c11e.tar.gz pardes-a310585195484b8420f14cff3e736c604f47c11e.zip | |
core, docs, test: a pane that answers for another is docked to it, `Pane.docked_to`, and the tag word that lets it go is `Undock`, no longer `attached_to` and `Unattach` (P18 and P28, the user's rulings: *attach* is a client joining a session now; `Undock` confirmed; no alias, so `Unattach` is an unknown word after this change): the field `attached_to` on 24 lines of seven files (core/panes.zig's Pane field and its one use; views.zig's PaneView field and its name in `pane_fields`; dump.zig, Handover.zig, layout.zig, Query.zig, builtins.zig) and docs/next-daemon.md's mention; the builtin `Unattach` (its struct in core/builtins.zig with its help line and its refusal, "Undock: not docked to a pane"; its null key in core/config.zig; the frozen query pane's tag tail in core/tagline.zig with its comment; layout.zig's test that runs it; Query.zig's comment, with its two lines' "attached"/"unattached" where they mean docked); the builtin lists docs/typ/builtins-tui.json and builtins-gui.json (the line `zig build builtins-json` writes, checked byte for byte against the generator for both platforms); the one line in the changelog's Unreleased; docs/search-proto-converge.md's three mentions; the seven goldens that show a frozen query pane's tag (find, fsearch, grep, lookrange, lsp-client, lsprelpath, stepgrain: nine lines, each `Save Unattach Del` -> `Save Undock Del` and nothing else, edited by hand and passing as they are, not regenerated); the other prose "attach"/"attachment" meaning docked and the functions `attachFrom` and `testAttachment` stay (not ruled; listed in the report); a dump written before this change restores its docked panes undocked, with a note (walk.load lets an unknown field go); the semantics word does not move (38b5ae573b965550 before and after: the tape's shape names neither the builtin nor the field); tui core-test 848/991 (143 skipped), shell-test 1027/1030, pane-test 183/184, term-test 15/15, kitty-test 45/45, behaviour-test 275/275 (--replay 20 seeds, 0 failures), process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's; msg's cursor column flaked once and passed again in the run), the soak (--clients 5) diverged 0, unequal 0, deltas wrong 0, quiet checks 618/0, 835/0, 771/0, stops unlisted 0, the corpus through a client 22 scenes each frame the same, no leak; gui unit-test 1625/1629 failing only the perf check's BaselineHarnessMismatch (as the base); the macOS library for Linux and aarch64-macos and the FreeBSD cross-build rc 0; the cheatsheet (one page), the book (77 pages) and the site build, Undock in the glossary; the frame and perf gate PASS (77/77 frames byte-identical in Debug, the alternated window corpus2x +0.041% against a 0.4% threshold, the 97 per-operation counts within 0.1%, the largest +0.0197%); under a load of 4 to 37
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next-daemon.md | 2 | ||||
| -rw-r--r-- | docs/search-proto-converge.md | 6 | ||||
| -rw-r--r-- | docs/typ/builtins-gui.json | 2 | ||||
| -rw-r--r-- | docs/typ/builtins-tui.json | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/next-daemon.md b/docs/next-daemon.md index d93cbbea..fea895e0 100644 --- a/docs/next-daemon.md +++ b/docs/next-daemon.md @@ -338,7 +338,7 @@ the ponytail lens: one on a plain terminal differ. The 223 comptime platform branches stay comptime: a session is one build, which the semantics hash says. - Each pane's, each view's own (`PaneView`): `vweight`, `collapsed` and - `attached_to` (a layout's); `focus`; the body's mode, cursor, + `docked_to` (a layout's); `focus`; the body's mode, cursor, selections, sticky column, pending normal command and find; a document's scroll, `hscroll` and size; and what the step measured for that view (`tag_rows`, `tag_top`, `tag_scroll`, `view`, `notices`), so a view drawn diff --git a/docs/search-proto-converge.md b/docs/search-proto-converge.md index ddc41196..da336f7c 100644 --- a/docs/search-proto-converge.md +++ b/docs/search-proto-converge.md @@ -15,7 +15,7 @@ only the prompts that are not search. | piece | file | lifted from | |---|---|---| -| attached panes: a group under its owner, rows from the owner alone, moving/folding/closing with it, seam drag, Dump/Restore, `Unattach` | `core/layout.zig` "Attached panes", `Pane.attached_to` | attached | +| attached panes: a group under its owner, rows from the owner alone, moving/folding/closing with it, seam drag, Dump/Restore, `Undock` | `core/layout.zig` "Attached panes", `Pane.docked_to` | attached | | places: every match tinted, rail ticks (B1 on a tick goes there), current selected and in view, smart-case regex, view-first sliced scan, silent wrap | `core/Places.zig`, `Pane.places` | incsearch (MatchSet) | | the query pane: line 1, its first word the source, live rows, preview, Enter/Esc/Del, reuse, settings | `core/Query.zig`, `Pane.query` | queryline, pick, live, preview, everywhere | | fuzzy names (files, recent, panes, declarations) | `core/Names.zig` | pick (its scorer, whole) | @@ -115,7 +115,7 @@ erases it and B2 / B3 on it take the word clicked, as on any row. **Enter** puts the keyboard on the current hit in its pane (the +Preview promoted in place: same slot, serial, rect, an unattached file pane from then on), fills `/`, and freezes the rows into ordinary text (tag ` Save -Unattach Del`). A `/` freezes its whole list (every place found first, 2000 +Undock Del`). A `/` freezes its whole list (every place found first, 2000 rows at most), a Grep every line it has. **Esc** while typing puts every view back, clears the places it fed and closes the pane, its rows back to the owner; a reused pane's frozen rows and their places come back instead. @@ -145,7 +145,7 @@ cursor on line 15000. | keystroke 1, `p` | Every `p` in the view tinted at once, the rest found a 4 ms slice a frame (the tag `1/38479+` until done); rail ticks fill in; the first `p` at or after the cursor selected in layout.zig (scrolled only if off screen). Rows: the lines holding `p`, each ` 15003 code`, from two before the current one, the current marked as the visited row, a note row above saying how many places come before them. | | keystroke 2, `a` | `pa`: tints, ticks and rows narrow (`1/10189`); the current is again the first at or after where `/` was pressed, not after the last preview. The pane is the same size, line 1 where it was. | | Ctrl-n / Ctrl-p | The next / previous `pa` current, selected in layout.zig; `2/10189`. | -| Enter | The keyboard on that `pa`, `pa` in `/`, the rows frozen (the whole list, 2000 rows), tag `+Search 2/10189 Save Unattach Del`; tints and ticks stay while the pane lives. Ctrl-o goes back to where `/` was pressed. | +| Enter | The keyboard on that `pa`, `pa` in `/`, the rows frozen (the whole list, 2000 rows), tag `+Search 2/10189 Save Undock Del`; tints and ticks stay while the pane lives. Ctrl-o goes back to where `/` was pressed. | | `n` | The next `pa` in layout.zig, `3/10189`, its row marked in the +Search. | | `N` | Back to `2/10189`; from the first, round to the last with no message. | | Esc (typing) | layout.zig's selection and scroll exactly as at `/`, tints and ticks gone, the +Search closed, its rows back to layout.zig. | diff --git a/docs/typ/builtins-gui.json b/docs/typ/builtins-gui.json index 8ed70b10..732e66a7 100644 --- a/docs/typ/builtins-gui.json +++ b/docs/typ/builtins-gui.json @@ -101,8 +101,8 @@ {"name": "Togglettymode", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Switch this terminal between raw program input and normal editor mode."}, {"name": "TreeContext", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show the declarations enclosing the top row at the pane's head, on or off."}, {"name": "Tutor", "leader": "SPC h t", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the tutor, a document to work through."}, - {"name": "Unattach", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Unattach a pane from the pane it answers for: it stays where it is, a pane of its own, and the next search from that pane opens another under it."}, {"name": "Undo", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "acme's Undo and Redo: step the pane's body back or forward through its edits, from a tag, a pane ctl or exec."}, + {"name": "Undock", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Undock a pane from the pane it answers for: it stays where it is, a pane of its own, and the next search from that pane opens another under it."}, {"name": "Unfollow", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Take this pane out of its Follow chain: it stays, a Zerox twin with the scroll it has, and the chain closes up behind it."}, {"name": "Unmount", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Unmount the 9P tree mounted under /n/<name>."}, {"name": "Up", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane above, and from a column's top pane to its tag."}, diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json index aa95d9a6..0a074c44 100644 --- a/docs/typ/builtins-tui.json +++ b/docs/typ/builtins-tui.json @@ -95,8 +95,8 @@ {"name": "Togglettymode", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Switch this terminal between raw program input and normal editor mode."}, {"name": "TreeContext", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show the declarations enclosing the top row at the pane's head, on or off."}, {"name": "Tutor", "leader": "SPC h t", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the tutor, a document to work through."}, - {"name": "Unattach", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Unattach a pane from the pane it answers for: it stays where it is, a pane of its own, and the next search from that pane opens another under it."}, {"name": "Undo", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "acme's Undo and Redo: step the pane's body back or forward through its edits, from a tag, a pane ctl or exec."}, + {"name": "Undock", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Undock a pane from the pane it answers for: it stays where it is, a pane of its own, and the next search from that pane opens another under it."}, {"name": "Unfollow", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Take this pane out of its Follow chain: it stays, a Zerox twin with the scroll it has, and the chain closes up behind it."}, {"name": "Unmount", "leader": null, "also": [], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Unmount the 9P tree mounted under /n/<name>."}, {"name": "Up", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane above, and from a column's top pane to its tag."}, |
