From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: tool bar: mouse-2, mouse-3, C-mouse-1, S-mouse-1? Date: Tue, 31 Jan 2006 17:50:54 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138731108 16475 80.91.229.2 (31 Jan 2006 18:11:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 18:11:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 31 19:11:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F3zyW-00006t-Lq for ged-emacs-devel@m.gmane.org; Tue, 31 Jan 2006 19:11:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F401W-0003FM-V1 for ged-emacs-devel@m.gmane.org; Tue, 31 Jan 2006 13:14:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F3ymb-0006VK-He for emacs-devel@gnu.org; Tue, 31 Jan 2006 11:55:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F3ymZ-0006UU-JQ for emacs-devel@gnu.org; Tue, 31 Jan 2006 11:55:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F3ymY-0006Tg-76 for emacs-devel@gnu.org; Tue, 31 Jan 2006 11:55:06 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F3yl3-00056z-M8 for emacs-devel@gnu.org; Tue, 31 Jan 2006 11:53:34 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F3yj4-0003TL-OK for emacs-devel@gnu.org; Tue, 31 Jan 2006 17:51:32 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Jan 2006 17:51:30 +0100 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Jan 2006 17:51:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+ 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:49820 Archived-At: [ I though this question were more suitable on gnu.emacs.help, but I didn't get any answer there within ten days. ] Hi, AFAICS, C-mouse-1 and S-mouse-1 on tool bar icons call the same command as mouse-1 (without modifier); mouse-2 and mouse-3 don't have a binding at all. Is it possible to bind C-mouse-1 or S-mouse-1 to some other command (not the command bound to mouse-1)? Is it possible to bind mouse-2 or mouse-3? Background: If mouse-1 on a tool bar icon is bound to `M-x some-command', `C-u mouse-1' runs the command `C-u M-x some-command' (similar for `C-u 42 ...') which is nice (e.g. `C-u ' can be used to print to a file). But tool bar icons are (mostly?) intended for novice users. For this audience, it would be nice to have the result of `C-u' available by pressing S-mouse-1 as in other Gnome applications [1]. Bye, Reiner. [1] I don't know if this permitted by the GNOME UI guidelines, but there are some examples: Firefox: Shift- and/or Ctrl-Reload bypass cache and/or proxy (IIRC). Thunderbird: Shift-Compose starts composing a mail message in "the other" format (plain text vs. HTML; depending on the default format). Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/