Strange visual-line bug

Tim Harper timcharper at gmail.com
Fri Jul 23 08:45:24 CEST 2010


On Wed, Jul 21, 2010 at 3:38 AM, Vegard Øye <vegard_oye at hotmail.com> wrote:
> On 2010-07-20 16:12, Tim Harper wrote:
>
>> I don't know exactly how to reproduce the bug, but have managed to
>> record a video of it in action:
>>
>> http://screencast.com/t/YjBlMmVkMjQ
>
> Hi Tim!
>
> Welcome to the list, and thanks for the coolest bug report so far :)
>
> Let's get the basics out of the way first. Is that Aquamacs (what
> version?), and are you using the latest developmental commit of
> Vimpulse?
>
> I don't know exactly why this happens, but I've been able to reproduce
> it by injecting a "bad value" into one of Visual mode's buffer-local
> variables. It seems that somehow Visual mode isn't deactivated
> properly and that a faulty variable causes problems upon reactivation.
> The variable is remembered across Visual sessions, giving rise to a
> persistent "buggy state". Furthermore, as the restoration of the
> previous selection occurs in `post-command-hook' -- after hl-line-mode
> et al. have refreshed their own highlighting -- the other modes aren't
> able to pick up on it, and so their highlighting doesn't coincide with
> Visual mode's.
>
> Commit [9d1af90898] should be more robust with regard to such values.
> Let me know if the bug persists.

After many attempts, I can't isolate exactly what I do that gets emacs
into this state. Merged your change, no more incidents yet. Thanks!

Tim



More information about the implementations-list mailing list