I'd like to create a form, like the one displayed by customize, in order to ask to the user some information. The form should let me provide a description, a default value, and eventually display a choice list when needed.

The idea is that I don't want to use interactive prompt, firstly because the description can be really big, and also because most of the time the user just want to edit a tiny fraction of all the available options.

Any idea?

  • 2
    The question is too broad/vague. You don't even say how what you want is different from what Customize already provides. Consider showing what you've tried so far, and showing how Customize doesn't do the job. – Drew Jan 8 '18 at 23:21
  • 1
    Had you have a look at widgets: gnu.org/software/emacs/manual/html_mono/widget.html ? – wvxvw Jan 9 '18 at 7:42
  • @Drew : Well I don't want to use Customize, because I want to create my own form, for my own applications. But I'd like to understand how Customize was programmed in elisp. – tobiasBora Jan 9 '18 at 17:44
  • @wvxvw: it's exactly was I need, thank you very much! Would you like to add the answer so that I can accept it? – tobiasBora Jan 9 '18 at 17:45

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.