Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Gnu Emacs v23, I'd like to find out what is bound to mouse events like the following:

<mouse-5>
<double-down-mouse-5>
<double-mouse-5>
<triple-down-mouse-5>
<triple-mouse-5>

If it was a keystroke, I would just do M-x describe-key but what can I do for a mouse stoke that I cannot reliably produce, that is I don't know how to create these events consistently?

share|improve this question
up vote 3 down vote accepted

describe-bindings gives me a buffer with a list of all keybindings defined. Apart from others, it offers:

<C-mouse-5> mwheel-scroll
<S-mouse-5> mwheel-scroll
<mouse-5>   mwheel-scroll

where mwheel-scroll is apparently the mousewheel scrolling function :-)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .