mickeynp / combobulate

Structured Editing and Navigation in Emacs with Tree-Sitter
GNU General Public License v3.0
892 stars 50 forks source link

C-g quits all transients, not the innermost one #103

Open aspiers opened 4 months ago

aspiers commented 4 months ago

https://magit.vc/manual/transient/Aborting-and-Resuming-Transients.html says:

Pressing C-g while a nested transient is active only quits the innermost transient, causing a return to the previous transient.

and indeed this desirable behaviour is observed in magit and other packages using transient... except for combobulate, in which C-g exits all transients. I find this very inconvenient while learning combobulate, because if I want to see what's inside a nested transient, or remind myself, and then decide there's nothing in that transient I need right now, I have to always start from the top again.

mickeynp commented 4 months ago

Hm. I did not know about this behaviour, and transient is very difficult to configure for me. Do you know what the fix might be?

aspiers commented 4 months ago

I don't as I hardly worked with transient, but @tarsius might.

tarsius commented 4 months ago

I couldn't reproduce that.

Please provide an exact example of an instance where that doesn't work. But first make sure you use the latest version of both packages.