Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs lisp library for input forms?

Tags:

emacs

elisp

In Emacs Lisp (elisp), if I want to get several values from the user, is there a better way than just asking for each value in turn in the minibuffer?

Ideally, there would be a library that would let me define an input form with several fields, present that form to the user (as a text-based dialog in text mode, and as a GUI-based dialog in GUI mode), and let me query the results. A text-only library would be fine too.

Is there any such library?

thanks!

ilya

like image 300
user410315 Avatar asked Aug 04 '10 02:08

user410315


1 Answers

There is the Emacs Widget Library. (C-h i m Widget RET for info)
You can create text fields, check boxes, buttons, etc. in an emacs buffer. In a graphical frame it is more graphical, but still in a buffer, just like in a customize buffer, which uses the widget library.

like image 64
andre-r Avatar answered Sep 28 '22 06:09

andre-r