all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: emacs-devel@gnu.org
Subject: Mode line menus
Date: Sat, 07 Nov 2009 14:06:19 -0500	[thread overview]
Message-ID: <87hbt6m9xw.fsf@stupidchicken.com> (raw)

Currently, the menus accessible from the mode-line (e.g. by clicking on
the major mode name) are bound to down-mouse-1.  Therefore, you have to
hold down the mouse button after clicking the menus.  Releasing the
mouse button immediately dismisses the menu, selecting the item the
cursor was on (if any).

My understanding is that this behavior is nowadays extremely
non-standard.

Nowadays, clicking on a menu button is expected to pop up a menu, which
is dismissed by clicking elsewhere or by selecting a menu item with
another click.  In Emacs, this can be accomplished simply by binding the
menus to mouse-1 rather than down-mouse-1.  (This works for both GTK and
non-toolkit builds).  The `mouse-appearance-menu' command, bound to
S-mouse-1, already makes use of this behavior.

Is anyone attached to the old behavior?  If not, I'd like to switch to
the standard behavior.




             reply	other threads:[~2009-11-07 19:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-07 19:06 Chong Yidong [this message]
2009-11-07 19:30 ` Mode line menus David De La Harpe Golden
2009-11-07 19:34 ` Andreas Schwab
2009-11-07 19:53   ` Chong Yidong
2009-11-07 20:02     ` Chong Yidong
2009-11-07 20:30     ` David De La Harpe Golden
2009-11-07 23:18       ` David De La Harpe Golden
2009-11-07 23:51         ` Chong Yidong
2009-11-08  1:14           ` David De La Harpe Golden
2009-11-07 19:42 ` Eli Zaretskii

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=87hbt6m9xw.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.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.