Hello, Yea. I'm familiar with transients. Hydras have been around longer and are much simpler to implement.
I understand the resistance to adding dependencies which is why I sent the email. The use of lexical-let may kill my patch submittal as well. I don't remember how far back the compatibility goes, 25 maybe.. That's ok too. There have been some people who have tried making transients that work like hydras. I think transients fall short, or their complexity is a hinderance. I'm not sure which. I'd have to try making one of my more complex hydras as a transient to see if it can work. My instinct says no. The gridded group aspect with descriptions and messages seems limiting. I haven't seen any transients that were much more than groups of grids. They don't seem to have much flexibility in formatting. But I might be surprised. I'm perfectly happy with the hydras so I have very little motivation to dig into transients. If people want some nice hydras, there they are. Erica Envoyé depuis Proton Mail pour Android -------- Message d'origine -------- Le 30/03/2025 16:35, Daniel Semyonov <dan...@dsemy.com> a écrit : > >>>>> Erica Qi via writes: > > > Hello, > > Here is a set of Hydras for Emms, including the the filter system that > I gave > > as a patch yesterday. So that would we need to be applied... > > > I would like to contribute this, but recognize that using hydras is a > choice that not everyone likes. Adding hydras as a > > dependency could possibly be something people would be against. > > > If you would like I can add some doc and a make a patch. > > Otherwise, here they are. > > > Have a nice day. > > Erica > > I'm not super familiar with Hydras, but AFAIK they work similarly to > Transient, which is included as part of newer versions of Emacs; > if such optional integration is implemented in EMMS, I'd prefer it to be > using Transient to minimize potential dependencies, but that's just my > personal opinion. > > In any case thank you for sharing, I'm sure it'll be useful for someone > even if it doesn't get added to EMMS. > > Daniel >