* [9fans] Bug: Acme: Sam command language is inconsistent with Sam
@ 2024-09-30 17:56 kalterdev
0 siblings, 0 replies; only message in thread
From: kalterdev @ 2024-09-30 17:56 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
Steps to reproduce the problem
Consider the following sample text:
?? hello
A world
UU earth
The purpose is to replace the first two characters in each line with
"git add".
Let's run the following command:
{
x -#0+/../ c/git add/
-#0,+#0
}
What does the -#0,+#0 do? In theory, I'm not sure. In Sam, it doesn't
seem to do anything. In Acme, however, it tries to preserve the
original selection (whether intentionally or not, I'm not sure). In
this particular case, it does so successfully. In others, it fails.
But it is not expected, if we compare it with Sam's behavior.
plan9port version
a2567fcac9851e5cc965a236679f568b0e79cff2
OS version
macOS 14.5 (23F79)
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc4707dc28929a9fa-M5583a4238240a2e82f5b7dd2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1958 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-30 17:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-30 17:56 [9fans] Bug: Acme: Sam command language is inconsistent with Sam 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).