[PATCH] Fixes deactivate-mark issue when expanding selection to text-objects

Tim Harper timcharper at gmail.com
Fri Jul 23 08:41:39 CEST 2010


On Fri, Jul 23, 2010 at 12:37 AM, Tim Harper <timcharper at gmail.com> wrote:
> When CUA mode is active, commands such as viw, viW, vis, etc. would
> exit visual mode because cua-mode, on activation, sets deactivate-mark
> to t, and deactivate-mark isn't protected by save-excursion. This change
> prevents that, and therefore fixes this issue.

Come to think about it... I'm not even sure why I'm using CUA mode
now, since the vimpulse rectangular selection is
PARTY-HATS-FLYING-EVERYONE-DOING-CARTWHEELS-IN-THE-AIR-WORLDS-BETTER
than CUA's rectangle selection mode.

Still... this should be fixed.



More information about the implementations-list mailing list