bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9934: 24.0.91; `region-active-p' definition


From: Stefan Monnier
Subject: bug#9934: 24.0.91; `region-active-p' definition
Date: Tue, 01 Nov 2011 21:26:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]