Re: [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?)

2024-12-14 Thread Karthik Chikmagalur
>> intercepts the main loop > This is optional, per transient menu (prefix) and the commands within it. > A common technique, used by magit and others, is to have entry point > commands in the regular keymap so that many commands can be started without > traversing several menus. If you want norma

Re: [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?)

2024-12-14 Thread Karthik Chikmagalur
> Regarding the normalization with interactive, if you are not using > transient infixes and instead lean on the :info class and dynamic > :descriptions, you can display state and store it using normal buffer-local > and defvar techniques, providing visual feedback for what might be hidden > states

Re: [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?)

2024-12-14 Thread Psionic K
> Do you have an example of using buffer-local variables to store > transient state? Directing me to an appropriate section of the > showcase should be plenty. It's less magic than it sounds. I basically bypassed the infix system when making transients for Master of Ceremonies. https://github.co

Re: Table width cookies become part of data table in R

2024-12-14 Thread Suhail Singh
Ihor Radchenko writes: > Tentatively, I am leaning towards restoring the old behavior for the > time being, until we can come up with something better. I think doing so is prudent. Further, I think it would help if the manner in which special rows are handled were user-configurable. Once we ha

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-14 Thread Philip Kaludercic
Can I please be removed from the CCs in this thread? Ihor Radchenko writes: > Psionic K writes: > >>> intercepts the main loop > >> This is optional, per transient menu (prefix) and the commands within it. >> A common technique, used by magit and others, is to have entry point >> commands in th

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-14 Thread Gabriel Santos
>> The consideration for context-menu for me is particularly intriguing, as >> there's >> a lot of functionality already included in Org's context menu. > > This is not right. I think you are confusing ordinary menu bar and > context menu. Context menu is "right click" menu that will display > dif

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-14 Thread indieterminacy
Hello Ihor, On 2024-12-13 19:41, Ihor Radchenko wrote: TL;DR: We are in the process of designing a more unified selection interface for Org mode and want to see if there is some way to unify context-menu-mode, transient, which-key and embark together. The idea is to (1) avoid too many customiz

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-14 Thread Ihor Radchenko
Gabriel Santos writes: > Maybe it's some third-party package I'm using, but right-cliking on an Org > buffer gives me a lot of options: > > This is simply a copy of the top-level menu. You would see the same if you enable the menu bar. No "context" is considered in this

texinfo export has no targets for src blocks

2024-12-14 Thread Fraga, Eric
Hello all, Just a heads up as I spent some time debugging a problem with export to texinfo. If you have a heading, say ** The model <> but also happen to have a code block #+name: model #+begin_src ... exporting to texinfo, asking to refer to [[model]], creates a reference to an non-existing

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-14 Thread Suhail Singh
Ihor Radchenko writes: >> 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). > > Using a docstring sounds like a good

Re: Table width cookies become part of data table in R

2024-12-14 Thread Ihor Radchenko
William Denton writes: > Up until recently, width cookies were ignored when reading a table into an R > code block as data. For example, take this test table: > > #+name: test_table > | Date | Weather | > | <10> | <50> | > |+-

What's the proper way to define a recurring event

2024-12-14 Thread General discussions about Org-mode.
Hello, I've look around, and I haven't found a way to achieve the result I would like regarding recurring events (and not tasks) Let's say I want to insert my yoga class in my Agenda. This class starts on date X, it is planned to repeat every week, for 8 weeks. In my "agenda.org" file I would

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-14 Thread Juri Linkov
> 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) This l

Re: What's the proper way to define a recurring event

2024-12-14 Thread Mark Barton
> On Dec 14, 2024, at 9:51 AM, Renaud Bussières via General discussions about > Org-mode. wrote: > > Let's say I want to insert my yoga class in my Agenda. This class starts on > date X, it is planned to repeat every week, for 8 weeks. In my "agenda.org > " file I would w

Re: EmacsConf - The Future of Org

2024-12-14 Thread Dr. Arne Babenhauserheide
Dominik Schrempf writes: > Thumbs up also from my side! A big thanks to the Org Mode maintainers! > Thanks also for the interesting talk and insights into Org Mode > maintenance. Big thanks from me, too! I’m sure that I would not be where I am today without Org, because I failed with all other s

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-14 Thread Ihor Radchenko
Gabriel Santos writes: > context-menu-mode > No particular target, should mostly be used for actions on > the whole buffer or on a region, or all particular elements > defined. > > Example: Org -> Headings -> Demote Headings > ... > Personally, I'd prefer for built-in pack

Re: [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?)

2024-12-14 Thread Ihor Radchenko
Psionic K writes: >> intercepts the main loop > This is optional, per transient menu (prefix) and the commands within it. > A common technique, used by magit and others, is to have entry point > commands in the regular keymap so that many commands can be started without > traversing several menu

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-14 Thread Ihor Radchenko
Suhail Singh writes: >> 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 >>st

Re: [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?)

2024-12-14 Thread Ihor Radchenko
Panayotis Manganaris writes: > Menus should of course be useful without embark. If the goal here is to > deprecate many of org's ad-hoc interfaces, I think the natural default > replacement for most is completing-read. I may be completely wrong. For the existing interfaces, we are not going to c

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-14 Thread Leo Butler
Benjamin, What if you remove the anchor at the beginning of the regexp? Does the following work with the other tests? (add-to-list 'org-babel-maxima--output-filter-regexps "(linenum:0,") Best regards, Leo On Fri, Dec 13 2024, Benjamin McMillan wrote: > Hi Leo, > The first suggestion, to add t