summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 07:21:10 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commit97780909cbe0f4c62dfb9b012bff3fe7e7ec32f9 (patch)
tree35eef2c6ceca2dd6e3cf8047d66d6134c929245d /docs
parenta0bca6764a6a425b71e1567ff9d49f9828c5813c (diff)
downloadpardes-97780909cbe0f4c62dfb9b012bff3fe7e7ec32f9.tar.gz
pardes-97780909cbe0f4c62dfb9b012bff3fe7e7ec32f9.zip
An event record never carries flag 2, as no expansion record follows; flag 1 reads the first word
In acme flag 2 promises a second record with the expanded range, and acme's libraries read one. F records set it always and a click with no range known set it, with none following: a library then took the next event for it. Records here carry the word already, so 2 is never set. Flag 1 now reads the first word as acme's lookup does, so `Msg hi` is 1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/fs.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/fs.md b/docs/fs.md
index 23c87216..5a4ece78 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -771,9 +771,11 @@ files, the editor's own lines), `K` (the keyboard) or `M` (the mouse); the
action's case says where: `x`/`l` a click executed or looked at in the tag
(its offsets count the tag's whole text, path included, as `tag` reads),
`X`/`L` in the body, `I`/`D` text put in or taken out of the body, `i`/`d`
-of the tag. The flag is acme's: 1 the text is a builtin's word, 2 the range
-was expanded from a click (a second record gives the original range), 4 (a
-look) the text is a file name or address, 8 (an exec) chorded: two records
+of the tag. The flag is acme's: 1 the text's first word is a builtin's, 2
+an expansion record follows (acme's look.c:42-43, exec.c:154-157; pardes
+never sends one: a click's record already carries the word it took, its
+range and text, so 2 is never set, whatever the origin), 4 (a look) the
+text is a file name or address, 8 (an exec) chorded: two records
follow, the argument's text and where it came from, `<file>:#q0,#q1`, each
with no place of its own: offsets `0 0` and flag 0, `Mx0 0 0 5 hello` (as
acme's exec.c:182 writes them).