9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.64k stars 326 forks source link

Bug: Acme: Kill fails to correctly cut "e" #675

Open spektrokalter opened 1 month ago

spektrokalter commented 1 month ago

Expected behavior

Sometimes I start the program called "e" by accident. It is actually E, but on macOS "e" works as well.

Acme adds "e" to the beginning of the top tag. When I kill it with Kill builtin, Acme must remove "e" from the beginning of the tag.

Unexpected behavior

If I run 2-1 chord on Kill, also in the top tag, with "e" selected, Acme removes the second instance of "e".

Steps to reproduce

Start a fresh Acme session. The top tag is: Newcol Kill Putall Dump Exit.

Add "e " (space is required) to the end of the tag. Run it with button 2. Acme just added another "e" to the beginning of the tag. Select it and run Kill with 2-1 chord. Acme removes the second instance of "e ".

plan9port version

a2567fcac9851e5cc965a236679f568b0e79cff2

OS version

macOS 14.5 (23F79)