Subject: bug#41130: outline-mode: Add new commands like org-cycle and org=global-cycle

From: Robert Pluim <[email-masked]>
Date: Wed, 13 May 2020 18:54:44 +0200

>>>>> On Wed, 13 May 2020 09:13:14 +0200, Tassilo Horn <[email-masked]> said:

    Tassilo> PS: On a related note, I think there should be some standard facility
    Tassilo> for defining keys depending on the context.  If Stefan hadn't shown me
    Tassilo> the menu-item-with-:filter trick some years ago, I would probably not
    Tassilo> found out myself.

You can set a 'keymap property on buffer text. Of course then you have
to make sure that the property is kept up to date....

Robert