emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: double-clicking on closing paren - wrong region marked


From: Stefan Monnier
Subject: Re: double-clicking on closing paren - wrong region marked
Date: Tue, 13 Mar 2007 10:47:03 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

>> I cannot think of a case where scrolling would be legitimate and expected
>> when there is just a short click with no movement or other events in
>> between mouse-1-down and mouse-1-up.

>     I can: current-buffer is just constantly scrolling (it's watching an
>     active log file, or it's a game, or a shell buffer with a process gone
>     wild, ...).

> If you hold down the mouse on a buffer that is scrolling continually,
> you will see it scroll and you will see a region start to highlight.
> Wouldn't operating on that region be the right thing?

I guess the jury is still out on this one.  I don't think there's a right
answer in general for this case, it depends on the specifics.  But at least
if the click is short, I'd expect it to be a click.  If it lasts long, I'd
probably expect it to be a drag.  If it's in the middle...


        Stefan




reply via email to

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