all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 9934@debbugs.gnu.org
Subject: bug#9934: 24.0.91; `region-active-p' definition
Date: Tue, 01 Nov 2011 21:26:00 -0400	[thread overview]
Message-ID: <jwvbosviagr.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <FABB045649F24350A6983CF6C968CDE5@us.oracle.com> (Drew Adams's message of "Tue, 1 Nov 2011 15:26:35 -0700")

> It is the name `region-active-p' that is a bit misleading.  Outside t-m mode the
> region is neither active nor inactive.  When `region-active-p' returns nil it

That's false as well.  (transient-mark-mode -1) followed by C-SPC C-SPC
will create an active region.
Nowadays transient-mark-mode basically only toggles the behavior between
C-SPC and C-SPC SPC as well as between C-x C-x and C-u C-x C-x.

Yes, mark-active is weird and messy and so is transient-mark-mode.
The implementation is ugly, messy, and twisted.  Patches to clean up the
mess are welcome, but I see no bug here.


        Stefan





      reply	other threads:[~2011-11-02  1:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 17:12 bug#9934: 24.0.91; `region-active-p' definition Drew Adams
2011-11-01 17:59 ` Andreas Schwab
2011-11-01 18:13   ` Drew Adams
2011-11-01 18:50     ` Andreas Schwab
2011-11-01 19:43       ` Drew Adams
2011-11-01 20:42         ` Andreas Schwab
2011-11-01 22:26           ` Drew Adams
2011-11-01 22:45             ` Andreas Schwab
2011-11-01 20:09 ` Stefan Monnier
2011-11-01 22:26   ` Drew Adams
2011-11-02  1:26     ` Stefan Monnier [this message]

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=jwvbosviagr.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=9934@debbugs.gnu.org \
    --cc=drew.adams@oracle.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.