9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ben Huntsman <ben@huntsmans.net>
To: "9fans@9fans.net" <9fans@9fans.net>
Subject: [9fans] acme & sam text selection and delete deletes extra character
Date: Wed, 11 May 2022 15:50:09 +0000	[thread overview]
Message-ID: <MWHPR0701MB36741C25F1D6659B08B307BCA7C89@MWHPR0701MB3674.namprd07.prod.outlook.com> (raw)

[-- 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 --]

             reply	other threads:[~2022-05-11 15:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11 15:50 Ben Huntsman [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MWHPR0701MB36741C25F1D6659B08B307BCA7C89@MWHPR0701MB3674.namprd07.prod.outlook.com \
    --to=ben@huntsmans.net \
    --cc=9fans@9fans.net \
    --subject='Re: [9fans] acme & sam text selection and delete deletes extra character' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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