unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: 50950@debbugs.gnu.org
Subject: bug#50950: "(emacs) Mark" should contrast to "selecting" text in other editors
Date: Sat, 02 Oct 2021 09:22:41 +0300	[thread overview]
Message-ID: <83ilygc5e6.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkmmLH_k16iTHv4bchDpB557sbTz=jtfFqaQSLK3u9hZ6mA@mail.gmail.com> (message from Stefan Kangas on Sat, 2 Oct 2021 01:01:21 +0200)

> From: Stefan Kangas <stefan@marxist.se>
> Date: Sat, 2 Oct 2021 01:01:21 +0200
> Cc: 50950@debbugs.gnu.org
> 
> > I disagree that the region is a basic feature.  It may look
> > deceptively similar to text selections, but it isn't.  We have the
> > region, the active region, and the shift- and mouse-selected text,
> > which all look similar, and sometimes behave similarly, but they are
> > not identical.
> 
> IMO, it is not an advanced feature, and on the most basic level it
> really is just selecting text.  You want to copy it, make it bold,
> indent it, or what have you.
> 
> It is of course precisely what makes it different that needs to be
> explained.  But this can and IMO should be done by starting out from
> what is already known.  For example, where we now have:
> 
>   Many Emacs commands operate on an arbitrary contiguous part of the
>   current buffer.  To specify the text for such a command to operate on,
>   you set “the mark” at one end of it, and move point to the other end.
> 
> it would be better to put something along these lines:
> 
>   In other text editors, you can select text to perform various
>   operations on, such as copying or deleting it.  In Emacs, we say
>   that such commands operate on the "region".
> 
>   The region starts at point, and ends at what in Emacs is known
>   as "the mark" ...
> 
>   [Note: this a very quick write-up, and not a proposal.]
> 
> We don't need to talk about "arbitrary contiguous parts" or anything
> like that.  There is no need to pretend as if the user don't already
> have a very strong concept of what exactly is a text selection and how
> it works: our job is to help the user see exactly where that intuition
> fails.

As I said, rewriting this overview text is probably a good idea, so no
argument here.  But the new text should still explain how our region
is different in subtle but important ways from what people see in
other editors.  Would you like to propose such a rewording?

> In any case, AFAICT, the manual doesn't make much of an attempt to
> explain this difference as it is, so I'm not sure it is very
> important.

I think it is important to explain; the fact that we don't is just
because once upon a time there was just one kind of region, and other
applications at that time didn't have anything even close.  Nowadays
things are different, so the way the overview is presented needs to be
rethought.





  reply	other threads:[~2021-10-02  6:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01 19:31 bug#50950: "(emacs) Mark" should contrast to "selecting" text in other editors Stefan Kangas
2021-10-01 19:43 ` Eli Zaretskii
2021-10-01 23:01   ` Stefan Kangas
2021-10-02  6:22     ` Eli Zaretskii [this message]
2021-10-16 13:04       ` Stefan Kangas
2021-10-16 14:11         ` Eli Zaretskii
2021-10-16 18:14           ` bug#50950: [External] : " Drew Adams
2021-10-16 18:21             ` Eli Zaretskii
2021-10-16 18:33               ` Drew Adams
2021-10-16 18:55                 ` Eli Zaretskii
2021-10-16 19:26                   ` Drew Adams
2021-10-17  6:27           ` Eli Zaretskii
2021-10-17  8:34             ` martin rudalics
2021-10-17 10:05               ` Eli Zaretskii
2021-10-17 11:15                 ` martin rudalics
2021-10-17 11:35                   ` Eli Zaretskii
2021-10-17 17:44                     ` martin rudalics
2022-09-04 20:59           ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83ilygc5e6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=50950@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).