9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: ben@huntsmans.net, 9fans@9fans.net
Subject: [9fans] acme & sam text selection and delete deletes extra character
Date: Wed May 11 16:52:19 BST 2022	[thread overview]
Message-ID: <3848a8416a0051aa3a742b611e5902a5@hamnavoe.com> (raw)

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!!


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

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11 15:52 Richard Miller [this message]
2022-05-11 16:18 ` Richard Miller
  -- strict thread matches above, loose matches on Subject: below --
2022-05-11 15:50 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

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:

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

  git send-email \
    --in-reply-to=3848a8416a0051aa3a742b611e5902a5@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@9fans.net \
    --cc=ben@huntsmans.net \
    --subject='Re: [9fans] acme & sam text selection and delete deletes extra character' \


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