From d13ae04008e678ed992e6181487dbfd126a4154f Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 07:12:25 -0300 Subject: A look line takes `?re?` after its colon, as addr does `file:?foo?`, `@p5:?foo?` and `:?foo?` were not taken for addresses (the first character had to be one of `0-9+-/$.#,;`), so they went the path way and found nothing. Co-Authored-By: Claude Opus 5.5 --- docs/fs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/fs.md b/docs/fs.md index fbf54c3e..2149fbcf 100644 --- a/docs/fs.md +++ b/docs/fs.md @@ -466,12 +466,12 @@ unfinished was cut short. A fragment never runs on its own. A line or Edit block held past 1 MiB is refused (EINVAL). `@p:
` addresses the pane with that serial as `file:
` -does a file, with any sam address (`/re/`, `#n`, `$`, `0/re/`, a range), +does a file, with any sam address (`/re/`, `?re?`, `#n`, `$`, `0/re/`, a range), a terminal too: its body is then the text of its logical lines (the lines a `+Search` of it lists), addressed from its cursor, and the match is selected. A miss, and a serial no pane has (with a line, `@p77:3`, as with any other address), each log an `err`, and look reads back empty. A look takes acme's addresses after a colon (editors/acme/look.c:450): a -line written to `look` as `file:/re/`, `file:#n`, `file:$` or any address +line written to `look` as `file:/re/`, `file:?re?`, `file:#n`, `file:$` or any address opens (or finds) the file and selects what the address names. **The address is evaluated from the file's dot**, as acme's is: `file:/re/` finds the next match after the current selection, not the first in the -- cgit v1.3