GNU bug report logs - #9934
24.0.91; `region-active-p' definition

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 1 Nov 2011 17:16:02 UTC

Severity: minor

Found in version 24.0.91

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9934 <at> debbugs.gnu.org
Subject: bug#9934: 24.0.91; `region-active-p' definition
Date: Tue, 01 Nov 2011 21:26:00 -0400
> 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




This bug report was last modified 13 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.