unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: emacs-devel@gnu.org
Subject: Re: Easy keybinding
Date: Mon, 22 Jul 2002 17:45:26 +0200	[thread overview]
Message-ID: <vafit37ix61.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <200207212014.g6LKEhP00829@aztec.santafe.edu> (Richard Stallman's message of "Sun, 21 Jul 2002 14:14:43 -0600 (MDT)")

Richard Stallman <rms@gnu.org> writes:

>     Gtk applications allow keybindings by selecting a menu item with the
>     mouse, then hitting a key.  So if you select the File/Open item with
>     the mouse and then press the x key, then you have bound x to the
>     command which invokes File/Open.
>
> What does the user do, physically, to "select" a menu item with the
> mouse but not actually invoke it?

One common way to invoke menu items is to move the mouse to the menu
bar, press the (left) mouse button, drag the mouse until the right
item is highlighted, then release the mouse button.

I guess (but I'm not 100% sure) that selecting a menu item means to
do all steps up to, but not including, the button release.

> We could probably make an Emacs command easily enough that makes a key
> binding by copying another key binding.  The second key sequence could
> be a menu item.  That would not be the exact same interface but it
> would provide the same feature and it would fit Emacs better.  Is that
> good enough?

Sounds nice.

> What I would really like is to integrate customization of key bindings
> in to Custom.

Indeed.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

  reply	other threads:[~2002-07-22 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-20 15:28 Easy keybinding Kai Großjohann
2002-07-21 20:14 ` Richard Stallman
2002-07-22 15:45   ` Kai Großjohann [this message]
2002-07-23  4:00     ` Richard Stallman
2002-07-23  8:21       ` Kai Großjohann
2002-07-24  3:24         ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=vafit37ix61.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).