1 line
1,021 B
Plaintext
1 line
1,021 B
Plaintext
<!-- SC_OFF --><div class="md"><p>Hi folks - </p> <p>I'm fiddling around with using transient for building a menu over a CLI. I wanted some insight into typical transient usage. My main use of transient currently is magit. </p> <p>I want to build a transient menu which lets me choose from an arbitrary number of options. I will only know the number of options at run time. How do I paginate this with transient? </p> <p>​</p> <p>for example, show only the first 4 elements and map those to `a s d f` and when the user presses `g` show the next 4 elements. Or is there a better way of using transient menus with arbitrary lists of options?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/PigsDogsAndSheep"> /u/PigsDogsAndSheep </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/qyfr68/noob_transient_menu_tutorials/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/qyfr68/noob_transient_menu_tutorials/">[comments]</a></span> |