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

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

Re: interact with user


From: Xend
Subject: Re: interact with user
Date: Thu, 27 Nov 2008 18:22:50 -0800 (PST)
User-agent: G2/1.0

On Nov 26, 11:25 pm, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > how can i get input from user (interact with user)in function
> > with GNU/emacs,the function interactive only work to parse
> > arguments. are there bulitin emacs function or i should
> > programming to do it?
>
> Do you mean that you want to ask the user for input and show output to the 
> user?
>
> If so then see the Elisp manual, nodes `Text from Minibuffer' and `Minibuffer
> Completion', for reading input. You can use a function such as 
> `completing-read'
> or `read-from-minibuffer'.
>
> To show output, you can use function `message' or fill a buffer with the 
> output
> and use `display-buffer' or `pop-to-buffer'. See also
> `with-output-to-temp-buffer.

thanks men


reply via email to

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