9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] acme & sam text selection and delete deletes extra character
@ 2022-05-11 15:50 Ben Huntsman
  2022-05-11 15:57 ` Mark van Atten
  0 siblings, 1 reply; 7+ messages in thread
From: Ben Huntsman @ 2022-05-11 15:50 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

Hi there-
   Please pardon the dumb question if this has been covered before.  I did some brief searches of the archive and couldn't find it...

   I'm running plan9port on macOS.  I noticed that in acme, (and also sam) if I select part of a string and press delete, the selection gets deleted and also one additional character in front of the selection.  For example, if I type "/path/to/file" and double-click file, file gets highlighted, and if I press delete, "/file" gets deleted leaving me with "path/to".  This seems counter-intuitive as I expected only what I had highlighted to be deleted.

   There is a GitHub issue (#424) https://github.com/9fans/plan9port/issues/424 filed for this as well.

   Just curious, is this by design, or is this a bug?  I'm inclined to think it's by design as it occurs within sam as well.

   As always, thanks!!

-Ben


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T06d3bdd208f5a90b-M97206433039ca2198ba50801
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 3542 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [9fans] acme & sam text selection and delete deletes extra character
@ 2022-05-11 15:52 Richard Miller
  2022-05-11 16:18 ` Richard Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Miller @ 2022-05-11 15:52 UTC (permalink / raw)
  To: ben, 9fans


Hi there-
   Please pardon the dumb question if this has been covered before.  I did some brief searches of the archive and couldn't find it...

   I'm running plan9port on macOS.  I noticed that in acme, (and also sam) if I select part of a string and p delete, the selection gets deleted and also one additional character in front of the selection.  For example, if I type "/path/to/file" and double-click file, file gets highlighted, and if I press delete, "/file" gets deleted leaving me with "path/to".  This seems counter-intuitive as I expected only what I had highlighted to be deleted.

   There is a GitHub issue (#424) https://github.com/9fans/plan9port/issues/424 filed for this as well.

   Just curious, is this by design, or is this a bug?  I'm inclined to think it's by design as it occurs within sam as well.

   As always, thanks!!

-Ben



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf6b94eeff34dd2d7-M674a970ef824d9c5094cb3d7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-11 19:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 15:50 [9fans] acme & sam text selection and delete deletes extra character Ben Huntsman
2022-05-11 15:57 ` Mark van Atten
2022-05-11 16:23   ` michaelian ennis
2022-05-11 19:28     ` umbraticus
2022-05-11 17:49   ` Ben Huntsman
2022-05-11 15:52 Richard Miller
2022-05-11 16:18 ` Richard Miller

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).