[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to define a `multiple prompt' function?
From: |
Evans Winner |
Subject: |
Re: How to define a `multiple prompt' function? |
Date: |
Wed, 03 Sep 2008 13:43:08 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
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?
'read-from-minibuffer might be what you want.
(format "Your name is: %s"
(read-from-minibuffer "Who are you? "))
- `y-or-n-p' function definition (was: `are-you-fine' function definition), (continued)
- ps-right-footer interactive setting (was: ps-print variables interactive setting), Rodolfo Medina, 2008/09/04
- Re: ps-right-footer interactive setting (was: ps-print variables interactive setting), Barry Margolin, 2008/09/04
- Re: ps-right-footer interactive setting, Rodolfo Medina, 2008/09/05
- Re: ps-right-footer interactive setting, Chetan, 2008/09/05
- Re: ps-right-footer interactive setting, Rodolfo Medina, 2008/09/06
- A `my-ps-print-setting' function (was: ps-print variables interactive setting), Rodolfo Medina, 2008/09/07
- Re: A `my-ps-print-setting' function, Andreas Politz, 2008/09/07
- defchoice macro (was: A `my-ps-print-setting' function), Rodolfo Medina, 2008/09/07
Re: How to define a `multiple prompt' function?,
Evans Winner <=