emacs-devel
[Top][All Lists]
Advanced

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

Re: when to bind *down-mouse* vs *mouse*?


From: Richard Stallman
Subject: Re: when to bind *down-mouse* vs *mouse*?
Date: Wed, 08 Dec 2004 23:42:15 -0500

     1. when clicking a sensitive area (button, link) to trigger an action -
    bind mouse* (so the user can change his mind after mouse-down and move away
    to cancel the action)

     2. when the position of the mouse action is important (and not case 1) -
    bind down-mouse* (e.g. yank text where button is pressed)

This is not accurate.  Emacs does yanking on the up-event.
(I have no time to discuss whether this is right or wrong;
we're not changing it now.)

     3. opening popup menus - bind down-mouse* (to work correctly on problem
    platforms, as mentioned above)

I think this is the only occasion in which Emacs does something for a
down-event.




reply via email to

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