all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chong Yidong'" <cyd@stupidchicken.com>
Cc: 5774@debbugs.gnu.org
Subject: bug#5774: 23.1.92; Emacs manual, node Persistent Marks
Date: Tue, 6 Apr 2010 10:07:24 -0700	[thread overview]
Message-ID: <FE96032D0F8545DB804516B11C03C848@us.oracle.com> (raw)
In-Reply-To: <87mxxgv9qn.fsf@stupidchicken.com>

> > "When Transient Mark mode is off, the mark is _never_ 
> > deactivated..."
> >
> > This is wrong.  And it confuses users. Check `C-h v 
> > mark-active' with t-m-mode off and see if what it says
> > makes sense in combination with this Info doc (no).
> 
> It is correct.  If tmm is off, the mark starts out inactive, and the
> variable `mark-active' is nil.  Once you type C-SPC, `mark-active'
> becomes t, and remains t regardless of (almost) anything you do.

`mark-active' is an internal variable that is irrelevant to this doc and a
conceptual understanding. What is relevant for the user's conceptual model is
observable behavior, not implementation.

It makes no difference what the value of `mark-active' is when t-m-mode is off.
Your code can set it to anything at all, including nil, and that will change
nothing in terms of observable behavior.

What is important to get across here is that activeness of the mark has meaning
_only_ for transient-mark-mode and similar, derived modes. (That includes
temporary t-m-mode.)

Inactive/active affects behavior only for t-m-mode and the like. When t-m-mode
is off there is _no recognition_ of the mark states active/inactive - no
observable difference or change in behavior. And that's as it should be.

> > 2. Replace undo (`C-x u') in the example given by a more 
> > typical command wrt t-m-mode (e.g. query-replace).
> >
> > 3. "`C-u C-x C-x'  Activate the mark without changing it". 
> > Remove "without changing it". That doesn't add anything
> > except confusion.

4. This node should be renamed. "Persistent Marks" implies persistence, which
typically means saving to disk and across sessions. Some 3rd-party Emacs
libraries do provide for persistent marks, but that's not what this is about.
Please rename the node - perhaps something like `Transient Mark Mode Off' would
be a much clearer indicator of the content.







  reply	other threads:[~2010-04-06 17:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 23:03 bug#5774: 23.1.92; Emacs manual, node Persistent Marks Drew Adams
2010-04-06 16:14 ` Chong Yidong
2010-04-06 17:07   ` Drew Adams [this message]
2014-02-10  3:26 ` Lars Ingebrigtsen
2014-02-10  3:40   ` Drew Adams

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=FE96032D0F8545DB804516B11C03C848@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=5774@debbugs.gnu.org \
    --cc=cyd@stupidchicken.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 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.