help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to define a `multiple prompt' function?


From: Rodolfo Medina
Subject: How to define a `multiple prompt' function?
Date: Wed, 03 Sep 2008 01:21:11 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux)

I wish to define a function that prompts me more than once: let's call it
`my-function': when I type `M-x my-function', in the echo area I see (just an
example):

 Hi, how are you today?

.  Then I type, e.g., `fine RET', and again it prompts me with:

 I see.  And, what did you do yesterday?

... and so on.  Then I'm going to put some `if... else' conditions over my
possible answers.  Can anybody please provide some hints about how to elisp
this?

Thanks for any help
Rodolfo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]