I need functions to ask for user input both in: 1) Graphical and 2) non-Graphical environment in emacs.
found that I can do something like this for the non-graphical case:
(defun query-friends-phone (name)
"…"
(interactive "sEnter friend's name: ")
(message "Name: %s" name)
)
I need an input box for the Graphical case. Something like an input box to ask for something like other languages. Does Emacs have such a thing?
(to avoid confusion something like this image: http://eleganceit.com/blog/wp-content/uploads/input-form.png, this is just the idea and I know it won't be like this!)