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: C-... and S-... fail in GTK builds (was: tool bar: mouse-2, mouse-3, C-mouse-1, S-mouse-1?) Date: Thu, 09 Feb 2006 22:22:43 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87zml4aocl.fsf@jurta.org> <871wye18w2.fsf@jurta.org> 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 1139525207 9763 80.91.229.2 (9 Feb 2006 22:46:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2006 22:46:47 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 09 23:46:46 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 1F7KYj-0003EN-Vm for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2006 23:46:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7KYj-0007Qt-6X for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2006 17:46:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7JP6-0006zE-8R for emacs-devel@gnu.org; Thu, 09 Feb 2006 16:32:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7JP5-0006y0-7t for emacs-devel@gnu.org; Thu, 09 Feb 2006 16:32:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7JP4-0006xQ-RU for emacs-devel@gnu.org; Thu, 09 Feb 2006 16:32:39 -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 1F7JSh-00083s-8D for emacs-devel@gnu.org; Thu, 09 Feb 2006 16:36:23 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F7JOY-0002av-Tc for emacs-devel@gnu.org; Thu, 09 Feb 2006 22:32:06 +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 ; Thu, 09 Feb 2006 22:32:06 +0100 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2006 22:32:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s 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:50274 Archived-At: On Wed, Feb 08 2006, Juri Linkov wrote: >>>> 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? >> >> Is it already possible or not? Anyone? > > (info "(elisp)Tool Bar") describes how to add modifiers to the fake > function keys in the tool bar, but really the following sample code > has no effect: > > (define-key tool-bar-map [S-help] 'info) Did you try with a GTK build? It fails with GTK for me, but it works with an X toolkit build: In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-01-24 on bridgekeeper X server distributor `The X.Org Foundation', version 11.0.60801000 configured using `configure '--with-x-toolkit=yes'' (define-key tool-bar-map [C-dired] 'info) ;; works (define-key tool-bar-map [S-dired] 'man) ;; works (define-key tool-bar-map [C-help] 'info) ;; works (define-key tool-bar-map [S-help] 'man) ;; works Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/