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

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

Re: a function more than interactive..


From: Alan Mackenzie
Subject: Re: a function more than interactive..
Date: Wed, 08 Dec 2010 15:07:53 -0000
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (FreeBSD/4.11-RELEASE (i386))

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).



reply via email to

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