all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Subject: Re: tool bar: mouse-2, mouse-3, C-mouse-1, S-mouse-1?
Date: Wed, 08 Feb 2006 11:18:33 +0200	[thread overview]
Message-ID: <871wye18w2.fsf@jurta.org> (raw)
In-Reply-To: <v9acd2lxks.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Tue, 07 Feb 2006 21:32:03 +0100")

>>> 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)

>> A good thing for mouse-3 to do on the tool bar icon is to display a popup
>> menu with more related actions, e.g. display a whole Customization submenu
>> on the Customization icon, all 6 printing-related items from the File
>> menu on the Printer icon, all 9 Search submenu items on the Search icon,
>> etc.
>
> I'm not a usability expert, but I think tool bar icon commands should
> not popup menus (as the Emacs help icon does: duplicating the Help
> menu item).

I think only mouse-1 should not popup menus, but in many modern
applications mouse-3 is a standard way to show a popup menu
with a complete list of items related to the main item invoked
via mouse-1.

> The different commands I have in mind for Gnus are variations of the
> Reply command (e.g. with or without citing the text) or
> gnus-summary-sort-by-whatever and the reverse sort.

Good idea.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2006-02-08  9:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-21 16:10 tool bar: mouse-2, mouse-3, C-mouse-1, S-mouse-1? Reiner Steib
2006-01-31 16:50 ` Reiner Steib
2006-02-06  7:47   ` Juri Linkov
2006-02-07 20:32     ` Reiner Steib
2006-02-08  9:18       ` Juri Linkov [this message]
2006-02-08 17:36         ` Reiner Steib
2006-02-09 17:34           ` Juri Linkov
2006-02-09 21:18             ` Reiner Steib
2006-02-10  6:57             ` Jan D.
2006-02-11  1:03               ` Juri Linkov
2006-02-12 18:17                 ` Jan Djärv
2006-02-09 21:22         ` tool bar: C-... and S-... fail in GTK builds (was: tool bar: mouse-2, mouse-3, C-mouse-1, S-mouse-1?) Reiner Steib
2006-02-10  0:57           ` tool bar: C-... and S-... fail in GTK builds Juri Linkov
2006-02-14 10:10             ` Jan D.
2006-02-14 17:43               ` Juri Linkov
2006-02-15 10:57                 ` Jan D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871wye18w2.fsf@jurta.org \
    --to=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.