all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: Reopen bug 535: Problem with highlit regions on Linux virtual terminal
Date: Wed, 08 Apr 2009 18:26:13 +0900	[thread overview]
Message-ID: <87r603h4y2.fsf@xemacs.org> (raw)
In-Reply-To: <20090408081342.GA1066@muc.de>

Alan Mackenzie writes:

 > This is a misuse of the word "active",

Any dictionary will quickly show that this usage of "active" is
well-known.  From dictionary.reference.com:

2. 	being in a state of existence, progress, or motion:
        active hostilities.

5. 	characterized by action, motion, volume, use, participation,
   	etc.: an active market in wheat; an active list of
   	subscribers.

reference.com doesn't mention it, but biology and biochemistry have a
very similar usage, viz. "active receptors", "active sites".

 > "Active" is the wrong word.  Possibly "Reactive" would be a
 > suitable one - a "reactive region" being one which reacts to
 > commands directed at it.

I don't think that's as good a term as "active".  The region is not an
object with methods it uses to "react" to commands.  It is an object
to which things may be done, unless it is inactive.  "Receptive
region" might be more accurate, but unfortunately there is no verb "to
receptivate".  I think documenters would mutiny if they had to write
"to activate the receptivity of the region".

 > Do you have definitions of (as contrasted to a discussion around)
 > "active region" and "active mark" that you could contribute to the
 > Emacs manual?

Not really.  As you say, transient-mark-mode is complex.  And we've
been through this discussion before, IIRC, and the XEmacs terminology
was considered inappropriate for Emacs.

To recap, XEmacs does not have a concept of "active mark" (or if that
term is used, I guess it is identical to "the mark", ie, the mark on
the top of the mark stack).  It does have two concepts of active
region, the more often used of which is `region-exists-p' (for
compatibility with code written for Emacs):

    Return t if the region exists.
    If active regions are in use (i.e. `zmacs-regions' is true), this
    means that the region is active.  Otherwise, this means that the
    user has pushed a mark in this buffer at some point in the past.

the other being `region-active-p':

    (defun region-active-p () (and zmacs-regions (region-exists-p)))

where zmacs-regions is the XEmacs equivalent to transient-mark-mode.





  parent reply	other threads:[~2009-04-08  9:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-05 23:05 Reopen bug 535: Problem with highlit regions on Linux virtual terminal Alan Mackenzie
2009-04-06  1:12 ` Miles Bader
2009-04-06  3:10   ` Chong Yidong
2009-04-06  9:36     ` Alan Mackenzie
2009-04-06  9:03   ` Alan Mackenzie
2009-04-06  9:30     ` Miles Bader
2009-04-06 12:52       ` Alan Mackenzie
2009-04-06 15:35         ` David De La Harpe Golden
2009-04-07 21:46           ` Alan Mackenzie
2009-04-07 20:55       ` Alan Mackenzie
2009-04-08  5:35         ` Stephen J. Turnbull
2009-04-08  8:13           ` Alan Mackenzie
2009-04-08  9:16             ` Eli Zaretskii
2009-04-08  9:26             ` Stephen J. Turnbull [this message]
2009-04-08 13:05               ` Alan Mackenzie
2009-04-08 14:44                 ` Stephen J. Turnbull
2009-04-06  3:03 ` Chong Yidong

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=87r603h4y2.fsf@xemacs.org \
    --to=stephen@xemacs.org \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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.