all messages for Emacs-related lists mirrored at yhetil.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, 16 Oct 2021 17:11:58 +0300	[thread overview]
Message-ID: <83ilxxgitt.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=LFuSWK2pf=sTh36bku30kmho_W_eDvVnxp7fPYU5gog@mail.gmail.com> (message from Stefan Kangas on Sat, 16 Oct 2021 09:04:38 -0400)

> From: Stefan Kangas <stefan@marxist.se>
> Date: Sat, 16 Oct 2021 09:04:38 -0400
> Cc: 50950@debbugs.gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > 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?
> 
> I have made an attempt in the attached patch.  I wrote this a week or
> two ago, and returned to it again, and with fresh eyes I only find some
> minor touch-ups to be made.  I'm interested to hear what you all think.

Are you happy with the result?

My main problem with this text is that it says there are important
differences, but with a single exception leaves it to the reader to
deduce or guess which parts of the description are about these
differences and which ones just describe related issues and features.

Another, more minor problem is that the text starts under the
assumption that when you say "selected text", the reader immediately
understands what you mean, and that is neither a given nor a good
style, IME: it is always better to have some introductory sentence
that provides context.  For example:

  Emacs, like many other applications, lets you select some arbitrary
  part of the buffer text and invoke commands that operate on such
  @dfn{selected text}.  In Emacs, we call the selected text @dfn{the
  region}; its handling is very similar to that of selected text in
  other programs, but there are also important differences.

As for differences themselves, I'd suggest an explicit itemized list,
first naming them and then explaining each difference in some detail,
including cross-references to sections which describe them in more
detail.  The differences I think we should describe here are:

  . the "mark" and its relation to region (after all, the chapter is
    called "The Mark and the Region")
  . the fact that region can be active or inactive, and the basic
    difference between these two
  . the fact that some commands operate on region if it's active, and
    some even if it's inactive (the main difference here is that in
    Emacs many more commands are region-sensitive than in other
    programs, where it basically only supports copy/paste)
  . maybe also that we have some unusual ways of extending the region

The main challenge in describing these is how to describe enough, but
not too much (because the full details are elsewhere, and this is just
an introduction).

Thanks.





  reply	other threads:[~2021-10-16 14:11 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
2021-10-16 13:04       ` Stefan Kangas
2021-10-16 14:11         ` Eli Zaretskii [this message]
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

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

  git send-email \
    --in-reply-to=83ilxxgitt.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.