[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] The best way to choose an "action" at point: context-menu-mode
From: |
Suhail Singh |
Subject: |
Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? |
Date: |
Fri, 13 Dec 2024 17:57:48 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Ihor Radchenko <yantar92@posteo.net> writes:
> Tentatively, I am thinking about the following:
>
> For a given Emacs "prefix" command (e.g. org-open-at-point), we define a
> set of customizations:
>
> 1. List of possible actions: ((name1 . action1 props) (name2 . action2 ...)
> ...)
> PROPS is a plist defining extra properties like key-binding, display
> string, maybe something else to be used in the future.
> 2. Menu interface to use (transient, context-menu, embark, which-key)
> 3. Layout settings for the specific interfaces. For example, transient
> layout definition.
>
> WDYT?
By "display string" do you mean a description of the action? Or would
that be additional?
Hopefully, the description of each action will be a first-class member
of the "List of possible actions". Or is the intent that the
description be taken from the form representing an action (e.g. a defun,
a lambda etc).
--
Suhail
- Re: Alternative defaults for visually impaired users? (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)), (continued)
- Re: Alternative defaults for visually impaired users? (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)), Eli Zaretskii, 2024/12/22
- Re: Alternative defaults for visually impaired users? (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)), Ihor Radchenko, 2024/12/22
- Re: Alternative defaults for visually impaired users? (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)), Eli Zaretskii, 2024/12/22
- Message not available
- Re: Alternative defaults for visually impaired users? (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)), Eli Zaretskii, 2024/12/23
- Re: Alternative defaults for visually impaired users? (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)), Ihor Radchenko, 2024/12/23
- Message not available
- Re: Alternative defaults for visually impaired users? (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)), Ihor Radchenko, 2024/12/24
- Re: Alternative defaults for visually impaired users?, Björn Bidar, 2024/12/24
- Re: Alternative defaults for visually impaired users?, Ihor Radchenko, 2024/12/25
- Re: Alternative defaults for visually impaired users?, Eli Zaretskii, 2024/12/25
- Re: Alternative defaults for visually impaired users? (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)), John ff, 2024/12/29
Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?,
Suhail Singh <=
Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?, indieterminacy, 2024/12/14
Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?, Juri Linkov, 2024/12/14
- Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?, Ihor Radchenko, 2024/12/15
- Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?, Juri Linkov, 2024/12/16
- Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?, Ihor Radchenko, 2024/12/16
- Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?, Tor-björn Claesson, 2024/12/22
- Message not available
- Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?, Juri Linkov, 2024/12/24
- Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?, Tor-björn Claesson, 2024/12/24