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

Vegard Øye vegard_oye at hotmail.com
Fri Jul 23 12:05:03 CEST 2010


On 2010-07-23 08:41, Tim Harper 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.

Thanks!

The patch was applied in commit [9b9c029853].

-- 
Vegard



More information about the implementations-list mailing list