[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better mouse navigation in Info-mode
From: |
Eli Zaretskii |
Subject: |
Re: Better mouse navigation in Info-mode |
Date: |
Sat, 28 Sep 2024 12:33:24 +0300 |
> Date: Fri, 20 Sep 2024 11:31:26 +0000
> From: jonas@moller.systems
>
>
> Some computer mice have additional buttons off to the side, Emacs
> supports two of these additional buttons as `<mouse-8>` and `<mouse-9>`.
>
> Conventionally, in web-browsers and similar applications these buttons
> are mapped to history-backwards and history-forwards respectively.
>
> I suggest implementing this for Info-mode by default, with:
>
> (define-key Info-mode-map (kbd "<mouse-8>") #'Info-history-back)
> (define-key Info-mode-map (kbd "<mouse-9>") #'Info-history-forward)
>
> And similarly for other modes that have history navigation.
I don't see any harm in adding this. Patches welcome.