emacs/var/elfeed/db/data/30/3051b40d6c06818a3d8067451cc999dc4c5e1f2f
2022-01-03 12:49:32 -06:00

1 line
1,021 B
Plaintext

<!-- SC_OFF --><div class="md"><p>Hi folks - </p> <p>I&#39;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>&#x200B;</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 --> &#32; submitted by &#32; <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> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/qyfr68/noob_transient_menu_tutorials/">[comments]</a></span>