From 05118f216d524c96ffe936e494b8ecce26303de1 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 11:36:01 -0300 Subject: A builtin's Verbose announcement is the message row's alone, never logged With Verbose on by default, /log filled with msg - DumpDir, msg 4 Grep and the like, with machinery to take an announcement back out when its builtin failed or said something itself. A msg record is now only something said; the take-back machinery goes with it. Co-Authored-By: Claude Opus 5.5 --- docs/fs.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/fs.md b/docs/fs.md index 68cc38a9..dfd888b5 100644 --- a/docs/fs.md +++ b/docs/fs.md @@ -814,16 +814,12 @@ new log after its panes' `new`s (a relative Restore path is looked for in last dump this session wrote), then `restored ` for each pane, mapping the serial it had to the one it has now, and `restoredcol ` for each column, and `msg ` -for every line the editor says (with `verbose` on, that includes each -builtin announcing itself as it runs, on purpose: the log says which ran -- -unless the builtin then says something of its own that starts with its -name, `Kill: nothing running`, which takes the announcement's place; an -announcement is logged only for a builtin that succeeds: one that fails, -as it runs or when the host could not do its work (a Save's write, a -Dump's), leaves none, from a click at the keyboard too. A builtin that +for every line the editor says (a builtin announcing its own name as it +runs, with `Verbose` on, is the message row's alone, never logged: a `msg` +is something said, `Kill: nothing running`). A builtin that fails its write (`ctl`, `exec`, `/tagexec` or a column's `exec`, and an -open of `pane/new`) is logged by that write's `err` alone, no announcement -and no `msg`, so the same failure again is the same record again; a line said again word for word is counted, `msg 3 Undo: nothing to +open of `pane/new`) is logged by that write's `err` alone, no `msg`, so +the same failure again is the same record again; a line said again word for word is counted, `msg 3 Undo: nothing to undo (x40)`, as `err` is (below); a text past 256 bytes is cut there, between words, and ends in an ellipsis, `…`, as an `err`'s reason is past 200; its serial is the pane it ran at -- a line written to the root's -- cgit v1.3