From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: Re: a function more than interactive..
Date: Tue, 11 May 2010 13:46:12 +0000 (UTC) [thread overview]
Message-ID: <hsbn34$6kf$1@colin2.muc.de> (raw)
In-Reply-To: 98189c61-6637-4e08-949b-a591904f9271@b7g2000yqk.googlegroups.com
jdx2172 <dj9027@gmail.com> wrote:
> [Dont know what to call this functionality in emacs.. hence the
> subject "more than interactive..."]
> How do I write a function that when executed prompts the user to enter
> a value at a prompt, asks another value and so on.. until all the
> arguments are provided returns a result.
If you're prompting the user at the start of the command, use
`interactive'. It has lots of rarely used argument types, which together
will probably do what you want. "C-h f interactive" is your friend.
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2010-05-11 13:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 13:11 a function more than interactive jdx2172
2010-05-11 13:46 ` Alan Mackenzie [this message]
[not found] ` <lztyqejwer.fsf@informatimago.com>
2010-05-11 15:57 ` jdx2172
2010-05-11 22:57 ` Tim X
2010-05-12 21:45 ` jdx2172
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hsbn34$6kf$1@colin2.muc.de' \
--to=acm@muc.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.