summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 23:26:47 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commitfd448801b83bdddf27a1d9af17bf8581356b2b35 (patch)
treeefb2ef616daf0e99ec6a278eabe3e9086ceba837 /docs
parent72129eba38522de8f3d0ec6d98b612676d226612 (diff)
downloadpardes-fd448801b83bdddf27a1d9af17bf8581356b2b35.tar.gz
pardes-fd448801b83bdddf27a1d9af17bf8581356b2b35.zip
Del and Delcol refuse unsaved text once, as acme's do
acme's Del asks winclean first and Delcol colclean (exec.c del, delcol): unsaved text is warned about, and the same word again closes. pardes closed at once. Both now refuse once through the one-warning-per-word mechanism Exit uses, from keys, tags, exec and ctl alike. A pane dirty only by a rename, or an empty one that never held a file, has no text to lose and is not asked about, and a scratch or a command's output under 100 bytes is not either, as acme's winclean passes a small unnamed window. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/fs.md7
-rw-r--r--docs/tags.md7
2 files changed, 10 insertions, 4 deletions
diff --git a/docs/fs.md b/docs/fs.md
index 5093e754..c257a55d 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -119,10 +119,11 @@ every setting is one, the rest act on a pane). `/ctl` takes the session's
builtins, one a line, at whichever pane has the keyboard as each runs --
`Newcol`, `Dump`, `Mount name dial`, `Theme ink`, `Verbose off`; `Exit`,
which quits the editor as acme's does (it refuses once, naming each pane with
-unsaved text, a `+New` scratch with text in it too, in one line,
+unsaved text, a `+New` scratch of 100 bytes or more too, in one line,
`<name>, <name>: Modified (Exit again to discard)`, and a second `Exit`
-with nothing edited since quits, throwing that text away; a command's
-output under 100 bytes is not asked about; `Restore`, which replaces every pane,
+with nothing edited since quits, throwing that text away; a scratch or a
+command's output under 100 bytes is not asked about, as acme's winclean
+asks about no small unnamed window; `Restore`, which replaces every pane,
asks the same first -- `Dump` writes `pardes-<date>-<time>.zon` (UTC) in
`DumpDir` (default `$XDG_DATA_HOME/pardes`, else `~/.local/share/pardes`)
and logs `dump <path>`, and `Restore` with no path takes the last one; a
diff --git a/docs/tags.md b/docs/tags.md
index e6ec0585..f622520f 100644
--- a/docs/tags.md
+++ b/docs/tags.md
@@ -60,7 +60,12 @@ to its `ctl`, they step the body back and forward through its edits, as the
`u` and `U` keys do. They are not in the default tags.
`Del` closes a pane and gives its rows to one neighbor; the rest of the
-column keeps its heights. `Del k` (or `DelAbove`) gives them to the nearest
+column keeps its heights. A pane with unsaved text is refused once, as
+acme's Del warns (exec.c del, wind.c winclean): `<name>: Modified (Del again
+to discard)`, and the same `Del` again, nothing edited since, closes it and
+throws the text away; `Delcol` refuses a column holding such a pane the same
+way (exec.c delcol). Each word warns on its own, from a key, a tag, `exec`
+or a ctl, where the refusal fails the write with EIO. `Del k` (or `DelAbove`) gives them to the nearest
expanded pane above, `Del j` (or `DelBelow`) to the one below, each falling
back to the other side. Bare `Del` from the keyboard (`SPC d`, or Enter on
the word) on a pane with expanded panes both above and below asks on the