>>>> "Michael" == Michael Werliin, PDI
<mwe(a)post.dk> writes:
Michael> Hi (again)
Michael> I need a LISP function that ask the user for a string.
Michael> I can get a yes and no popup box, but I can't find out
Michael> how to get a popup box that asks for a string.
C-h C-i lispref RET m index RET
and
C-h a \bread-
are good starting points to access the wonderful online-documentation.
Here's an example for user input:
(defun ask-the-user-for-a-string ()
"* Ask user, who they are. Use M-n and M-p to pick choices from a
history which is initialized to a list of likely users."
(interactive)
(let* ((likely-users '("me" "myself" "I"))
(user
(read-string "who are you? " "nobody" 'likely-users)))
(message "Welcome, %s" user)))
Michael> Where should I adress such questions ?
The comp.emacs.xemacs newsgroup is the place to go.
On xemacs-beta you should ask question, report success or failure,
which relate to beta testing of XEmacs, currently XEmacs 21.2-bXX.
Best regards,
Adrian
Michael> Michael Werliin
Michael> PDK, Legacy Access
--
Adrian Aichner <adrian(a)xemacs.org>,
http://www.xemacs.org