emacs-devel
[Top][All Lists]
Advanced

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

Re: thumbs.el and transparency


From: Kim F. Storm
Subject: Re: thumbs.el and transparency
Date: Wed, 01 Feb 2006 00:08:41 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> Juanma Barranquero wrote:
>
>    Kim and Luc are taking a look at it.
>
> Well, Kim will need to fix it _if_ it needs fixing.  I do not even use
> cua-mode.  All I did was track down the place where cua-mode forces
> transient-mark-mode to the value cua-mode apparently wants.  But I do
> not even know whether it is intentional (although I believe it is).

Luc, thanks for the precise analysis!!

Yes, cua-mode relies on transient-mark-mode to highlight the selected
region, but since it uses other methods to highlight a selected
rectangle, it needs to turn off transient-mark-mode temporarily when
it highlights a rectangle.  That is why it automatically turns it
(back) on when no rectangle is selected.

There is no option to disable transient-mark-mode completely with cua,
but isn't cua-highlight-region-shift-only sufficient?

Of course, cua could turn on transient-mark-mode just in case
mark-active is t, but that wouldn't make any difference, as
transient-mark-mode is only looked at when mark-active is t.

BTW, the code in question hasn't changed since 2002, so I'm puzzled
why you think this is a new "problem"!?

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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