all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Binding a command to the down-event of a toolbar button
Date: Thu, 30 Mar 2006 15:03:42 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICGEEEDEAA.drew.adams@oracle.com> (raw)
In-Reply-To: <jwv3bgzh8jy.fsf-monnier+emacs@gnu.org>

    >> Is such behavior normal in tool bars in other user interfaces?
    >> If not, I think we should not do it.

Why not? It's often good to stick to "normal", "standard", or common UI
features so that users know what to expect. But what's the harm in providing
functionality where the common UIs have none? Users of common UIs won't
think to try press-and-hold or mouse-3 on a tool-bar icon, and they won't be
shocked by the possibility.

    I use Emacs's tool-bar as a "control bar", so its behavior
    doesn't need to
    be related to what people are usually accumstomed for tool-bars.
    See http://www.iro.umontreal.ca/~monnier/elisp/mpc.png for a snapshot.

Looks good to me.
BTW - The pause symbol usually has vertical, not horizontal bars.

    I'd like to be able to also offer the
    press-and-hold behavior
    which may be more convenient in other situations.

Yes, why not?

    I think my request for down-events on the tool-bar is related
    to some other people's requests to be able to bind different
    actions for mouse-1, mouse-2, mouse-3.

Yes, why not? (I was one of the "other people", for the same reason: why
not?)

Why limit Emacs, even if it is not common for GUIs to use other mouse keys
or press-and-hold on tool-bar icons? Tool bars are not all that useful
anyway - why not see if Emacs developers and users can improve on this
not-so-useful cliche? At one time even menus and mice were crazy
experiments.

IOW, it wouldn't hurt to open up the feature set here, and allow for some
invention. There is nothing sacrosanct about the dominant UIs. If using
press-and-hold with a tool bar turns out to be not very useful, that will
soon become apparent and that potential feature will remain unused. If it
turns out to be useful in some contexts, then we will have gained by
allowing the possibility.

Think of the Emacs mouse functionality (e.g. mouse-3 to extend selection,
mouse-2 to paste). If we respected the "norm" then we would have the same
brain-dead mouse as most apps.  Emacs can always do better, precisely
because it is open to experimentation by users. Let a hundred flowers bloom.

  reply	other threads:[~2006-03-30 23:03 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-26  5:10 Binding a command to the down-event of a toolbar button Stefan Monnier
2006-03-28 19:33 ` Richard Stallman
2006-03-30  9:56   ` Mathias Dahl
2006-03-30 22:39     ` Stefan Monnier
2006-03-30 23:03       ` Drew Adams [this message]
2006-03-31  7:58         ` Eli Zaretskii
2006-03-31 20:20           ` Richard Stallman
2006-04-01 11:43             ` Eli Zaretskii
2006-03-31 17:28         ` Richard Stallman
2006-03-31 18:35           ` Drew Adams
2006-04-01 11:45             ` Eli Zaretskii
2006-04-01 16:21               ` Drew Adams
2006-04-02 20:38                 ` Richard Stallman
2006-04-01 13:46             ` Richard Stallman
2006-04-01  3:12           ` M Jared Finder
2006-04-01 20:28             ` Richard Stallman
2006-04-01 20:58               ` M Jared Finder
2006-04-03  1:09                 ` Richard Stallman
2006-04-03  4:14                   ` M Jared Finder
2006-04-03 18:24                     ` Richard Stallman
2006-04-04  2:13                       ` M Jared Finder
2006-04-04 19:57                         ` Richard Stallman
2006-04-05  6:04                           ` M Jared Finder
2006-04-05 19:06                             ` Richard Stallman
2006-04-06  5:40                               ` M Jared Finder
2006-04-06 15:37                                 ` Richard Stallman
2006-03-31 10:18       ` Jason Rumney
2006-03-31 11:01         ` David Kastrup
2006-03-31 14:34         ` Stefan Monnier
2006-04-01 13:45           ` Richard Stallman
2006-04-01 16:27             ` Stefan Monnier
2006-04-01 13:45         ` Richard Stallman
2006-04-01 19:01           ` Jason Rumney
2006-04-02 20:38             ` Richard Stallman
2006-04-02 21:29               ` Jason Rumney
2006-04-03  3:24                 ` Richard Stallman
2006-03-31 17:28     ` Richard Stallman
2006-04-01  0:55       ` Kevin Rodgers
2006-04-01  1:12         ` Robert J. Chassell
2006-04-01  3:59         ` Stefan Monnier
2006-04-01 20:28           ` Richard Stallman
2006-04-03  2:01             ` Stefan Monnier
2006-04-03 13:51               ` Richard Stallman
2006-04-03 18:24                 ` Richard Stallman
2006-04-01 20:28         ` Richard Stallman

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=DNEMKBNJBGPAOPIJOOICGEEEDEAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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.