From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: What is the difference between down-mouse-3 and mouse-3 Date: Tue, 15 Apr 2008 10:45:52 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208272559 4207 80.91.229.12 (15 Apr 2008 15:15:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2008 15:15:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Ye Wenbin" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 15 17:16:30 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JlmQr-0007Aq-3n for ged-emacs-devel@m.gmane.org; Tue, 15 Apr 2008 16:46:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlmQC-0006zU-Jt for ged-emacs-devel@m.gmane.org; Tue, 15 Apr 2008 10:46:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JlmQ9-0006wy-0z for emacs-devel@gnu.org; Tue, 15 Apr 2008 10:46:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JlmQ5-0006tc-Ex for emacs-devel@gnu.org; Tue, 15 Apr 2008 10:46:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlmQ5-0006tX-BT for emacs-devel@gnu.org; Tue, 15 Apr 2008 10:46:01 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JlmQ4-0005gt-VA for emacs-devel@gnu.org; Tue, 15 Apr 2008 10:46:01 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 60D5A2CFAA9; Tue, 15 Apr 2008 10:46:00 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id B01123FE0; Tue, 15 Apr 2008 10:45:52 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 784A6AF5C6; Tue, 15 Apr 2008 10:45:52 -0400 (EDT) In-Reply-To: (Ye Wenbin's message of "Tue, 15 Apr 2008 12:38:47 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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: news.gmane.org gmane.emacs.devel:95266 Archived-At: > I wrote try to figure out how to set up mouse menu, after spending a lot of > time to to figure out why no action preform when click submenu, I found that > I should bind down-mouse-3 event rather than mouse-3 event. I can't find > where is the difference mentioned in elisp manual. Is there any documents > for the reason that submenu does not work for mouse-3 binding? Don't know, it works for me (tried both with the trunk and with 22.1). What do you mean by "does not work"? This said, binding it to down-mouse-3 is *much* better so you can do "press-button, select-entry, release-button". Stefan