* [9fans] Bug: Acme: Searching command works differently from Sam
@ 2024-09-30 18:56 kalterdev
2024-09-30 19:00 ` [9fans] " kalterdev
0 siblings, 1 reply; 2+ messages in thread
From: kalterdev @ 2024-09-30 18:56 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]
The command is '/' (forward slash). It works differently and sometimes
unpredictably. I have found a few cases to demonstrate.
1. -+;-+
In Sam, this command expands the beginning of a selection to its line.
In Acme, it selects one line before. Acme's behavior also seems
counterintuitive.
2. /echo/+;.
In Sam, this command selects one line below "echo." In Acme, it
selects the word itself. Again, feels counterintuitive.
To force Acme to select one line below "echo" the following commands
could be used: /echo/++;. and /echo/+1;. . The problem, again,
3. /echo/++;.
Sam selects second line below "echo". Acme selects first line below
"echo". I'm not sure who's right on this one.
4. -+-#0
In Sam, it selects the beginning of the current line. In Acme, it
selects the beginning of one line above the current one. Again, feels
counterintuitive.
5. -+-#1
In Sam, it selects the end of the one line above the current one. In
Acme, it selects the end of the second line above the current one.
6. /foo/ -+
Notice the space between /foo/ and -+. In Sam, it selects the whole
line on which "foo" is found. In Acme, this command does not work.
7. /https/;+-#1
In Sam, it selects the beginning of the next URL to the end of the
line on which it's found. In Acme, it produces "addresses out of
order" in +Errors.
plan9port version
a2567fcac9851e5cc965a236679f568b0e79cff2
OS version
macOS 14.5 (23F79)
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T248983829cc322f7-Mb57a5a6397aa29e598fbe903
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 3034 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [9fans] Re: Bug: Acme: Searching command works differently from Sam
2024-09-30 18:56 [9fans] Bug: Acme: Searching command works differently from Sam kalterdev
@ 2024-09-30 19:00 ` kalterdev
0 siblings, 0 replies; 2+ messages in thread
From: kalterdev @ 2024-09-30 19:00 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
> To force Acme to select one line below "echo" the following commands
> could be used: /echo/++;. and /echo/+1;. . The problem, again,
I should've cut this piece while editing, but have missed it. Please,
ignore it. Sorry for that.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T248983829cc322f7-Mcacc5a76d01c862e4f1ba676
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1966 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-30 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-30 18:56 [9fans] Bug: Acme: Searching command works differently from Sam kalterdev
2024-09-30 19:00 ` [9fans] " kalterdev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).