简体   繁体   中英

emacs lisp library for input forms?

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

There is the Emacs Widget Library . ( Ch im 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.

What kind of values are they? You could use Customize, which has many more options than most GUI dialog boxes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM