all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: Documentation of transient-mark-mode is sloppy, wrong, and confused.
Date: Thu, 28 May 2009 20:15:29 +0000	[thread overview]
Message-ID: <20090528201529.GA4605@muc.de> (raw)
In-Reply-To: <87fxepf9s8.fsf@cyd.mit.edu>

Hi, Yidong!

On Thu, May 28, 2009 at 12:54:15PM -0400, Chong Yidong wrote:
> Thanks; I've made some changes to the text to address these concerns.
> Please take another look.

;-).

The essence of my unhappiness is that "active" isn't defined.  You've
put in a formal @dfn{active}, but weaselled out of actually defining it.
You state what happens _when_ the mark is "active", but not what a mark
has to do or to be to acquire or to lose the essence of "active"ness.

You also haven't defined what a region has to do, be, or become, to be
"active".  The phrase "when the region is active" occurs several times
in the rest of the manual.  For the rest of this email, I'm going to
presume that the region is "active" exactly whenever the mark is.

If the term "active" cannot be defined, it should be purged from the
manual and the software, being replaced by terms we can define.  Surely?

As I see it, an "active" region has three attributes:
(i) C-w kills it;
(ii) It's highlit;
(iii) M-$ checks the spelling of EACH WORD IN THE REGION (as opposed to
  just the one surrounding point).

Now, which of these (or which combination of them) constitutes
"active"ness?

(i)? I guess it originally was, but due to the default setting of
  `mark-even-if-inactive', all regions are now active(i) all the time,
  rendering the entire description redundant and confusing.

(ii)? "Active" is a strange way of writing "highlit", but if this is the
  meaning, then when transient-mark-mode is nil (as described in
  "Persistent Mark"), the mark is NEVER active(ii).

(iii)? This cannot be.  The semantic chasm between "check the spelling
  of lots of words, not just one" and the dictionary meaning of "active"
  is just too vast.  Anyhow, with null t-m-m, the mark is NEVER
  active(iii).

########################################################################

In *scratch*, disable Transient Mark Mode, write the following line and
put the region as indicated:

    one two threeee
         ^         ^
	 |         |
       point     mark

The mark is now active (since t-m-m is nil).  Therefore the region is
"active".  Execute the command `ispell-word' with M-$; this is a command
which supposedly works on the region when the region is "active".  It
fails to flag the non-word "threeee", suggesting that it regards the
region as "inactive".  Energise transient transient-mark-mode with C-u
C-x C-x, and repeat M-$.  It now flags "threeee", as it should have done
before.

#########################################################################

I assert that the use of "active" in pages "Mark" and "Persistent Mark"
and most of the rest of the book, renders them incoherent and
meaningless, and that the only way to restore coherence is to get rid of
"active".

-- 
Alan Mackenzie (Nuremberg, Germany).




  reply	other threads:[~2009-05-28 20:15 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 12:29 Documentation of transient-mark-mode is sloppy, wrong, and confused Alan Mackenzie
2009-05-28 16:54 ` Chong Yidong
2009-05-28 20:15   ` Alan Mackenzie [this message]
2009-05-28 20:48     ` Chong Yidong
2009-05-28 23:03       ` Alan Mackenzie
2009-05-28 23:53         ` Davis Herring
2009-05-29 11:01           ` Alan Mackenzie
2009-05-29  0:21         ` Chong Yidong
2009-05-29  1:55         ` Stefan Monnier
2009-05-29  4:30           ` Kevin Rodgers
2009-05-29  5:47             ` Andreas Roehler
2009-05-29  8:25               ` Stephen J. Turnbull
2009-05-29  8:58                 ` Alan Mackenzie
2009-06-01  2:34                   ` Stephen J. Turnbull
2009-06-01  9:40                     ` Lennart Borgman
2009-06-02  6:23                     ` Andreas Roehler
2009-06-02 11:50                       ` Stephen J. Turnbull
2009-05-29  8:37           ` Eli Zaretskii
2009-05-29  9:27             ` Alan Mackenzie
2009-05-29 10:11               ` Eli Zaretskii
2009-05-29 13:13                 ` Alan Mackenzie
2009-05-29 14:19                 ` Stefan Monnier
2009-05-29 16:40                   ` Drew Adams
2009-05-29 22:20                     ` Alan Mackenzie
2009-05-30  0:11                       ` Drew Adams
2009-05-29  9:55             ` Stephen J. Turnbull
2009-05-29 10:14               ` Eli Zaretskii
2009-06-01  2:09                 ` Stephen J. Turnbull
2009-05-29 10:45               ` Andreas Roehler
2009-05-29  8:38         ` Eli Zaretskii
2009-05-29  9:35           ` Alan Mackenzie
2009-05-29  9:48             ` Eli Zaretskii
2009-05-29 13:17               ` Alan Mackenzie

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=20090528201529.GA4605@muc.de \
    --to=acm@muc.de \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /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.