all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to define a `multiple prompt' function?
@ 2008-09-03  0:21 Rodolfo Medina
  2008-09-03  4:08 ` Barry Margolin
  2008-09-03 19:43 ` How to define a `multiple prompt' function? Evans Winner
  0 siblings, 2 replies; 19+ messages in thread
From: Rodolfo Medina @ 2008-09-03  0:21 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2008-09-08 10:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03  0:21 How to define a `multiple prompt' function? Rodolfo Medina
2008-09-03  4:08 ` Barry Margolin
2008-09-03 20:31   ` ps-print variables interactive setting (was: How to define a `multiple prompt' function?) Rodolfo Medina
2008-09-03 19:51     ` ps-print variables interactive setting Lennart Borgman (gmail)
2008-09-03 22:32     ` Andreas Politz
2008-09-04 17:24       ` `are-you-fine' function definition (was: ps-print variables interactive setting) Rodolfo Medina
2008-09-05  2:18         ` `are-you-fine' function definition Kevin Rodgers
     [not found]         ` <mailman.18482.1220581140.18990.help-gnu-emacs@gnu.org>
2008-09-06 16:27           ` Rodolfo Medina
2008-09-06 16:32             ` `y-or-n-p' function definition (was: `are-you-fine' function definition) Rodolfo Medina
2008-09-08 10:14               ` `y-or-n-p' function definition Nikolaj Schumacher
2008-09-04 21:47     ` ps-right-footer interactive setting (was: ps-print variables interactive setting) Rodolfo Medina
2008-09-05  1:19       ` Barry Margolin
2008-09-05 10:21         ` ps-right-footer interactive setting Rodolfo Medina
2008-09-05 19:21           ` Chetan
2008-09-06 16:28             ` Rodolfo Medina
2008-09-07 16:44     ` A `my-ps-print-setting' function (was: ps-print variables interactive setting) Rodolfo Medina
2008-09-07 19:40       ` A `my-ps-print-setting' function Andreas Politz
2008-09-08  1:18         ` defchoice macro (was: A `my-ps-print-setting' function) Rodolfo Medina
2008-09-03 19:43 ` How to define a `multiple prompt' function? Evans Winner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.