mousewheel + xemacs

Pagina: 1
Acties:

  • Alarmnummer
  • Registratie: Juli 2001
  • Laatst online: 09-07-2024
Hoe krijg ik mijn mousewheel met XEmacs aan de praat? Hij geeft op dit moment iedere keer een :undefined button 4 en 5.

[edit]
voeg dit aan de costom.el toe:
; IntelliMouse scroll down action:
(defun intellimouse-scroll-down ()
"Function to scroll the current window down 3 lines"
(interactive)
(scroll-down 4))

; IntelliMouse scroll up action:
(defun intellimouse-scroll-up ()
"Function to scroll the current window up 3 lines"
(interactive)
(scroll-up 4))

; Redefined keys:
(global-set-key [mouse-5] 'intellimouse-scroll-up )
(global-set-key [mouse-4] 'intellimouse-scroll-down )

Verwijderd

hmm er is een command on die buttons te binden aan bv pijltje omhaag maar weet het ff niet uit mijn hoofd sry