Re: Suggestion: convert dispatchers to use transient

2022-02-07 Thread Anders Johansson
I agree that transient dispatchers would be great and consistent. What is not so great with transient currently is it’s lacking support for lisp-variable/option workflows. Transient is good for command-line arguments, but setting options for emacs functions is not as streamlined (this would

Re: Suggestion: convert dispatchers to use transient

2022-02-05 Thread João Pedro de Amorim Paula
On 05 February 2022 18:49, Samuel Wales wrote: > jus want to state the obvious here in case it is useful [but everybody > probbly lready knows] --- not everybody uses packages or maybe trusts > them has internet etc. Indeed! What I posted assumes using packages, but they also work with any

Re: Suggestion: convert dispatchers to use transient

2022-02-05 Thread Samuel Wales
jus want to state the obvious here in case it is useful [but everybody probbly lready knows] --- not everybody uses packages or maybe trusts them has internet etc. On 2/5/22, João Pedro de Amorim Paula wrote: > On 04 February 2022 08:30, Tim Cross wrote: > >> I'm assuming it is, but I have to

Re: Suggestion: convert dispatchers to use transient

2022-02-05 Thread João Pedro de Amorim Paula
On 04 February 2022 08:30, Tim Cross wrote: > I'm assuming it is, but I have to admit I'm still not 100% clear on > how Emacs handles the situation where you use a library that is both > built-in and available in ELPA. Does Emacs use the latest version > available or does it use the built-in

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Christopher M. Miles
Tim Cross writes: > Is the transient.el included in Emacs 28 the same as the one on GNU > ELPA? I'm assuming it is, but I have to admit I'm still not 100% clear > on how Emacs handles the situation where you use a library that is both > built-in and available in ELPA. Does Emacs use the latest

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Jim Porter
On 2/3/2022 1:30 PM, Tim Cross wrote: Is the transient.el included in Emacs 28 the same as the one on GNU ELPA? Currently, yes. They're both 0.3.7. However, that could obviously change in the future (e.g. a user on 28.1 would likely have transient 0.3.7, though GNU ELPA might have transient

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Tim Cross
Jim Porter writes: > On 2/3/2022 2:07 AM, Tim Cross wrote: >> After 28.0 is released, if transient is a GNU ELPA package, we can >> probably just make it an org dependency and Emacs 26.x and 27.x should >> be able to install and run it (would need to be verified). > > The transient package is

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Jim Porter
On 2/3/2022 2:07 AM, Tim Cross wrote: After 28.0 is released, if transient is a GNU ELPA package, we can probably just make it an org dependency and Emacs 26.x and 27.x should be able to install and run it (would need to be verified). The transient package is on GNU ELPA already[1], and based

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Tim Cross
Hugo Heagren writes: > Org uses various dispatchers, where invoking a command gives the user a > choice of different sub-commands, chosen by pressing a relevant key, > from a list displayed on the screen. Some of these dispatchers include > options which can affect the command chosen. Examples

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Tom Gillespie
The backward compatibility requirements for org mean that it won't be possible to replace the existing implementation for quite a while. That said, I imagine that having optional transient dispatchers for users on newer versions of emacs would be appreciated. Best, Tom

Suggestion: convert dispatchers to use transient

2022-02-02 Thread Hugo Heagren
Org uses various dispatchers, where invoking a command gives the user a choice of different sub-commands, chosen by pressing a relevant key, from a list displayed on the screen. Some of these dispatchers include options which can affect the command chosen. Examples include org- capture,