From 5df97028a994b7e8c1720fd2dd2c1d8d943a8300 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 19 Nov 2026 03:04:50 -0300 Subject: look: n and N in a kind's pane are a motion that reads no disk (the reorganisation's 12a; the user's ruling P14: motions instant on a far client): they walked Look's candidates across every result and output pane, and a word or a row with no place of its own was look-able only if the disk said it named a file (look.wordSpan and lineSpan through look.resolve to fs.resolve's realpath: 33 of the soak's 43 `resolve` stops); lookWalk now takes `disk`, and the key in a kind's pane walks without it: only the places the rows already hold (a row's location, a command row's whole line), so it steps the kind's +Search, references, errors and the like at once and skips words that might name a file, while LookNext and LookPrev (words, a Look's walk, which may wait) and the walk to a kind's first hit keep asking the disk as before; a test at the end of core/replica.zig (a client's n in a plain kind's pane, a scratch whose words name files standing first in the walk, lands on the kind's +Search row at once, confirmed fast), shown failing on the change before (stopped 1); the semantics word did not move; tui core-test 831/973 (142 skipped), shell-test 1008/1011, pane-test 183/184, behaviour-test 275/275 and --replay 275/275, process-test 2 of 144 failed (lspcomplete, lspcompletemoved, the base's; headersweep and cmdexit flaked and passed again), replicas --clients 5 diverged 0 unequal 0 deltas wrong 0 quiet differ 0 at 30/80/207 ms, stopped 89/75/108 (the base 104/133/147), mispredicted 37/34/36 on a run whose inputs now differ from the base's (the probe's 2-seed run with every host entry classed each one, before and after: a join's view, a clock's millisecond, a file's second, never a host call's: reports/pardes-seam-a.md), gui unit-test 1606/1610 (its perf check's BaselineHarnessMismatch the base's), daemon.py plain, --far, --games, --window-clients pass; gate-w seam-a-3 against tree1: 77/77 frames byte-identical in Debug, perfab corpus2x +0.045%, perfops 97 counts within 0.1% (largest +0.0012%) Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- core/builtins.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/builtins.zig') diff --git a/core/builtins.zig b/core/builtins.zig index b3e8d638..0d2e4c20 100644 --- a/core/builtins.zig +++ b/core/builtins.zig @@ -1641,7 +1641,7 @@ pub const Forward = struct { pub const LookNext = struct { pub const quiet = true; pub fn run(c: Ctx) void { - look.lookWalk(c.p, 1); + look.lookWalk(c.p, 1, true); } }; @@ -1649,7 +1649,7 @@ pub const LookNext = struct { pub const LookPrev = struct { pub const quiet = true; pub fn run(c: Ctx) void { - look.lookWalk(c.p, -1); + look.lookWalk(c.p, -1, true); } }; -- cgit v1.3