Re: CUA mode cursor color

From:

Kim F. Storm

Subject:

Re: CUA mode cursor color

Date:

15 May 2002 23:26:58 +0200

User-agent:

Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

Richard Stallman <address@hidden> writes:
> This only fails in the most bizarre of cases; for instance:
> if t-m-m is disabled, and the user turns on cua-mode, and then turns off
> t-m-m and then turns t-m-m back on, and somehow expects it to then
> `stick' if he subsequently turns off cua-mode. This seems like a very
> unlikely scenario.
>
> What if t-m-m was enabled, and the user enables cua-mode, disables
> t-m-m, then disables cua-mode? Should that reenable t-m-m?
If you enable cua-mode via the Options menu, notice that the menu item
for transient mark mode becomes inactive, ie. the user cannot easily
change the setting of transient-mark-mode while cua-mode is
enabled...
BTW, cua-mode selectively enables and disables t-m-m depending on
its state, e.g. if you mark a rectangle, t-m-m is disabled, since
cua does its own rectangle highlighting.
>
> Is the suggestion that cua-mode would only disable t-m-m, never
> reenable it? I guess that is safe enough.
I think it is safer to restore the value of t-m-m that was active
before cua-mode was enabled.
--
Kim F. Storm <address@hidden> http://www.cua.dk