Re: "Buttons" in a message buffer that evaluate to plain text?
Michael Heerdegen via Users list for the GNU Emacs text editor <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Tim Landscheidt <[email protected]> writes: > With Emacs 30.2, what is the best practice to achieve that > plain text ↔ "buttons" conversion? Is there an existing > ELPA package that does something similar? The simplest way to convert a region of buffer text into buttons is probably `buttonize-region' - see (info "(elisp) Making Buttons") I don't know if there are more high-level tools that handle your use case are available. Not so far in the past I needed something similar (a button toggling between different string values that are/get part of the resulting text) and wrote it by myself. Michael.