emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Switching over from package org-radiobutton to native support


From: Terje Larsen
Subject: Switching over from package org-radiobutton to native support
Date: Sun, 27 Nov 2022 00:27:18 +0100

So I found out that there is now native support for radio-button style selects and I have tested it and it seems to work well.

However I am missing a function similar to `org-radiobutton-value`:
https://github.com/Fuco1/org-radiobutton/blob/master/org-radiobutton.el#L111-L121

That will return the value of the currently selected checkbox by the attached name.

So for example:

#+ATTR_ORG: :radio t
#+NAME: named_radio_value
- [ ] Value A
- [X] Value B
- [ ] Value C

Would return `Value B` for `named_radio_value`. This is useful when creating interfaces in Org Mode and acting on those.

I know it is possible via a mouthful of lisp. But it would be nice if it was natively supported. It would also be nice if this also worked for normal lists, e.g. having the possibility to easily extract all selected values.

What do you think? Is something like this already implemented, but I missed it?

Best regards,
Terje Larsen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]