unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: greenwaters <regularclockwork@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Binding mouse key sequences
Date: Tue, 2 Jul 2013 15:48:43 -0700 (PDT)	[thread overview]
Message-ID: <1372805323230-291017.post@n5.nabble.com> (raw)

I tried unsuccesfully to bind a sequence of two mouse keys. For example

(global-set-key [mouse-8 mouse-9] 'write-file)

after unsetting mouse-8 globally. Pressing mouse-8 gives a message "Empty
menu" at the bottom of the screen. 
Section 

48.3.10 Rebinding Mouse Buttons

in the manual mentions, at the end, the possibility of binding mouse
sequences.

What is the right way to do this?





--
View this message in context: http://emacs.1067599.n5.nabble.com/Binding-mouse-key-sequences-tp291017.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



             reply	other threads:[~2013-07-02 22:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02 22:48 greenwaters [this message]
2013-07-03  0:16 ` Binding mouse key sequences Michael Heerdegen
2013-07-04  9:50   ` greenwaters
2013-07-04 14:40     ` Michael Heerdegen
2013-07-04 16:36       ` greenwaters

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=1372805323230-291017.post@n5.nabble.com \
    --to=regularclockwork@gmail.com \
    --cc=Help-gnu-emacs@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.
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).