From 2e29f8ffebda59aa528c392535b7f1db31be91f8 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 24 Nov 2026 21:27:16 -0300 Subject: messages: SPC e acts on the message the notice row leads with, SPC h m is the history newest first, and Esc at rest takes a thing at a time (pick-ui SPEC ยง10.4, walk UI line C item 5): the Message word (SPC e, quiet: what it does shows) lists an error's places in a +Search under the pane and lands on the first (today's list, walked by the Look walk until agent D's picker lands lists in the pane), the error gone; a question gets the keyboard in its tag (View.answering, item 4); anything else, or nothing, opens the history; the history (Messages, SPC h m) is the log ring newest first, each line its kind's glyph, a live error's places under it, a question's answer logged after it; Esc in normal mode at rest takes a search's tints first (Places.clear), then the warnings and errors, then the extra selections (the primary kept), and only then goes back to the previous pane; tests: Messages.zig 'SPC e on an error that names places lists them under the pane and lands on the first, on a question gives its tag the keyboard, and on anything else opens the history, the newest first', 'Esc at rest takes a search's tints first, then the warnings and errors, and only then goes back'; docs/typ/builtins-tui.json from the registry; tui: core-test, shell-test, pane-test, behaviour-test pass; process-test 0 of 146 failed after the builtins and leader goldens took the Messages word's longer doc line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- docs/typ/builtins-gui.json | 5 +++-- docs/typ/builtins-tui.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'docs/typ') diff --git a/docs/typ/builtins-gui.json b/docs/typ/builtins-gui.json index 8ec78384..3d8819a0 100644 --- a/docs/typ/builtins-gui.json +++ b/docs/typ/builtins-gui.json @@ -66,8 +66,9 @@ {"name": "LookPrev", "leader": "SPC j p", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Select the previous thing a Look would open, as LookNext walks forward.", "text": "Select the previous thing a Look would open, as LookNext walks forward.\nEnter opens what it selected."}, {"name": "Lspinfo", "leader": "SPC l i", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show which index and language server serve this file, and their state, in a +Lsp.", "text": "Show which index and language server serve this file, and their state, in a +Lsp.\nThe index.scip it asks (or the Index that would write one), its server and the server's state (not started yet, failed and waiting to retry), and what answered each query lately."}, {"name": "Lspwhy", "leader": "SPC l w", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Explain, step by step in a +Lsp, how the last language server request was answered.", "text": "Explain, step by step in a +Lsp, how the last language server request was answered."}, - {"name": "MessageLinger", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "How long, in milliseconds, a message stays after what dismisses it.", "text": "How long, in milliseconds, a message stays after what dismisses it."}, - {"name": "Messages", "leader": "SPC h m", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show the messages said so far in a +Messages.", "text": "Show the messages said so far in a +Messages."}, + {"name": "Message", "leader": "SPC e", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Act on the message the notice row leads with.", "text": "Act on the message the notice row leads with.\nAn error that names places lists them in a +Search, which the Look walk steps through; a question takes the keyboard in its pane's tag (its answer's key answers it, Esc leaves it waiting); anything else opens the history."}, + {"name": "MessageLinger", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "How long, in milliseconds, an echo or a notice stays bright before it dims; a warning twice as long.", "text": "How long, in milliseconds, an echo or a notice stays bright before it dims; a warning twice as long."}, + {"name": "Messages", "leader": "SPC h m", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show the messages said so far in a +Messages, the newest first, an error's places under it.", "text": "Show the messages said so far in a +Messages, the newest first, an error's places under it."}, {"name": "Mini", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Map a file of this pane's directory in braille dots: `Mini notes.txt`.", "text": "Map a file of this pane's directory in braille dots: `Mini notes.txt`.\nA pane of its own, drawn once: a Mini of the same file again draws it anew."}, {"name": "Mode", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Step this pane to its next input mode: normal, insert, and in a terminal raw.", "text": "Step this pane to its next input mode: normal, insert, and in a terminal raw.\nFrom the last it goes back to normal. The keyboard goes to the pane's text."}, {"name": "More", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Let a query pane's Grep stopped at its 2000 lines go on for 2000 more.", "text": "Let a query pane's Grep stopped at its 2000 lines go on for 2000 more."}, diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json index 14e8a9d4..1e7c80f7 100644 --- a/docs/typ/builtins-tui.json +++ b/docs/typ/builtins-tui.json @@ -62,8 +62,9 @@ {"name": "LookPrev", "leader": "SPC j p", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Select the previous thing a Look would open, as LookNext walks forward.", "text": "Select the previous thing a Look would open, as LookNext walks forward.\nEnter opens what it selected."}, {"name": "Lspinfo", "leader": "SPC l i", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show which index and language server serve this file, and their state, in a +Lsp.", "text": "Show which index and language server serve this file, and their state, in a +Lsp.\nThe index.scip it asks (or the Index that would write one), its server and the server's state (not started yet, failed and waiting to retry), and what answered each query lately."}, {"name": "Lspwhy", "leader": "SPC l w", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Explain, step by step in a +Lsp, how the last language server request was answered.", "text": "Explain, step by step in a +Lsp, how the last language server request was answered."}, + {"name": "Message", "leader": "SPC e", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Act on the message the notice row leads with.", "text": "Act on the message the notice row leads with.\nAn error that names places lists them in a +Search, which the Look walk steps through; a question takes the keyboard in its pane's tag (its answer's key answers it, Esc leaves it waiting); anything else opens the history."}, {"name": "MessageLinger", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "How long, in milliseconds, an echo or a notice stays bright before it dims; a warning twice as long.", "text": "How long, in milliseconds, an echo or a notice stays bright before it dims; a warning twice as long."}, - {"name": "Messages", "leader": "SPC h m", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show the messages said so far in a +Messages.", "text": "Show the messages said so far in a +Messages."}, + {"name": "Messages", "leader": "SPC h m", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show the messages said so far in a +Messages, the newest first, an error's places under it.", "text": "Show the messages said so far in a +Messages, the newest first, an error's places under it."}, {"name": "Mini", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Map a file of this pane's directory in braille dots: `Mini notes.txt`.", "text": "Map a file of this pane's directory in braille dots: `Mini notes.txt`.\nA pane of its own, drawn once: a Mini of the same file again draws it anew."}, {"name": "Mode", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Step this pane to its next input mode: normal, insert, and in a terminal raw.", "text": "Step this pane to its next input mode: normal, insert, and in a terminal raw.\nFrom the last it goes back to normal. The keyboard goes to the pane's text."}, {"name": "More", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Let a query pane's Grep stopped at its 2000 lines go on for 2000 more.", "text": "Let a query pane's Grep stopped at its 2000 lines go on for 2000 more."}, -- cgit v1.3