help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RE: RE: RE: Viewing Info Files - Introduce Top Menu also before end


From: Drew Adams
Subject: RE: RE: RE: RE: Viewing Info Files - Introduce Top Menu also before end of buffer
Date: Sat, 17 Oct 2020 09:37:48 -0700 (PDT)

> Have tried your suggestion and ended up commenting everything and
> loading just your code. Scroll up gets me to the First Node I visited,
> Scroll Down gets me to Last Node I visited.

Aha.  Sorry for the trouble, and thanks for your report.

Yes, Info+ made these mouse key-bindings in `Info-mode-map':

(define-key Info-mode-map [mouse-4] 'Info-history-back)
(define-key Info-mode-map [mouse-5] 'Info-history-forward)

But that's not correct for systems that use `mouse-[45]'
events for mouse-wheel scrolling instead of for buttons
4 and 5.

Please try the latest info+.el version, which removes
those two bindings for systems like yours.
___

FYI, node `Misc Events' of the Elisp manual tells us:

 ‘(wheel-up POSITION)’
 ‘(wheel-down POSITION)’
  These kinds of event are generated by moving a mouse wheel....

  This kind of event is generated only on some kinds of systems.
  On some systems, ‘mouse-4’ and ‘mouse-5’ are used instead.
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
___

On other systems, such as MS Windows, it's common for
`mouse-[45]' to be used for browser etc. history Back
and Forward.  `mouse-4' and `mouse-5' (and `-6' etc.)
are legitimate mouse buttons, for mice that have more
than three buttons.  But on some systems those events
are co-opted, in Emacs at least, to represent mouse
wheel movement, so they can't be used for history
navigation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]