unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Roehler <andreas.roehler@online.de>
To: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Documentation of transient-mark-mode is sloppy, wrong,   and confused.
Date: Fri, 29 May 2009 07:47:50 +0200	[thread overview]
Message-ID: <4A1F7706.80501@online.de> (raw)
In-Reply-To: <gvnodp$2r3$1@ger.gmane.org>

Kevin Rodgers wrote:
> Stefan Monnier wrote:
>>> Hmmm.  No you haven't.  You have noted one of the circumstances in which
>>> a mark becomes active, yet haven't said what it is for a mark to BE
>>> active.  It is as though a young child has asked you what "pregnant"
>>> means, and the entire gist of your answer is "a woman becomes pregnant
>>> after a kissing and cuddling session".  Unless you mention the growing
>>> foetus, your answer is evasive and unhelpful, in fact not really an
>>> answer at all.  What, exactly, is the essence of "active"ness, in the
>>> same way that the foetus is the essence of pregnancy?
>>
>> The problkem is that the activeness of the mark doesn't describe some
>> property of some other state.  It's a state itself.  In your analogy,
>> there's no foetus that would allow us to determine whether the mark
>> is active.  All we have is the `mark-active' variable, so in the end all
>> we can say is "the mark is active if the mark is active".
> 
> Can't we say that "the mark is active if `mark-active' is non-nil"?
> 
> Note that mark-active is not mentioned in the Emacs manual, only in the
> Emacs Lisp manual.
> 


We have three states but two words for now to describe it

States are:

- the mark is set
- the mark is set and exists at different location from point, i.e. region has an extent
- region has an extent and is visible (transient-mark-mode on)

The both first may be described with `exist'
The both latter with `active'

Confusion might be solved naming the states

1) region-exists-p
2) region-has-extent
3) region-is-visible

Best regards

Andreas Röhler




  reply	other threads:[~2009-05-29  5:47 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
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 [this message]
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

  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=4A1F7706.80501@online.de \
    --to=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=kevin.d.rodgers@gmail.com \
    /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).