help-gnu-emacs
[Top][All Lists]
Advanced

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

tool bar: mouse-2, mouse-3, C-mouse-1, S-mouse-1?


From: Reiner Steib
Subject: tool bar: mouse-2, mouse-3, C-mouse-1, S-mouse-1?
Date: Sat, 21 Jan 2006 17:10:41 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

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 <tool-bar>
<print-buffer>' 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).
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/





reply via email to

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