[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buttons in help buffer that displays contents of variables
From: |
Heime |
Subject: |
Re: Buttons in help buffer that displays contents of variables |
Date: |
Sun, 23 Jul 2023 20:05:41 +0000 |
------- Original Message -------
On Monday, July 24th, 2023 at 7:57 AM, Yuri Khan <yuri.v.khan@gmail.com> wrote:
> On Mon, 24 Jul 2023 at 02:34, Heime heimeborgia@protonmail.com wrote:
>
> > Does the function associated with the button be restricted to a single
> > argument,
> > meaning that users cannot pass any additional data to it ?
>
>
> Passing the button is sufficiently general. An action can reach into
> the button’s properties and/or use the button’s identity or one of its
> properties to look up in an external alist. And, of course, you can
> always create lexical closures over a multi-argument function,
> adapting it to the action interface.
Are the things you describe done often with buttons in emacs source code ?
- Re: Buttons in help buffer that displays contents of variables, (continued)
- Re: Buttons in help buffer that displays contents of variables, Stephen Berman, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Stephen Berman, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Stephen Berman, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Yuri Khan, 2023/07/23
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/23
- Re: Buttons in help buffer that displays contents of variables, Yuri Khan, 2023/07/23
- Re: Buttons in help buffer that displays contents of variables,
Heime <=