From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: when to bind *down-mouse* vs *mouse*? Date: Wed, 08 Dec 2004 23:42:15 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1102568344 6033 80.91.229.6 (9 Dec 2004 04:59:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2004 04:59:04 +0000 (UTC) Cc: emacs-devel@gnu.org, teirllm@dms.auburn.edu, alex@emacswiki.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 09 05:58:58 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CcGOI-0001g7-00 for ; Thu, 09 Dec 2004 05:58:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CcGYA-0005cR-Rn for ged-emacs-devel@m.gmane.org; Thu, 09 Dec 2004 00:09:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CcGOw-0003KG-Qo for emacs-devel@gnu.org; Wed, 08 Dec 2004 23:59:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CcGOe-0003B5-RO for emacs-devel@gnu.org; Wed, 08 Dec 2004 23:59:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CcGOc-000399-7M for emacs-devel@gnu.org; Wed, 08 Dec 2004 23:59:18 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CcGBc-0001Nc-U5 for emacs-devel@gnu.org; Wed, 08 Dec 2004 23:45:52 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CcG87-0007bo-BR; Wed, 08 Dec 2004 23:42:15 -0500 Original-To: "Drew Adams" In-reply-to: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30922 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.