From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hattuari Newsgroups: gmane.emacs.help Subject: Re: Using passing the tempo-template user input to my function? Date: Sun, 31 Oct 2004 11:02:14 -0500 Organization: Asii Message-ID: References: <2u7a14F27qaajU1@uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1099238857 19908 80.91.229.6 (31 Oct 2004 16:07:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 16:07:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 31 17:07:28 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1COIEq-0005mI-00 for ; Sun, 31 Oct 2004 17:07:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COIMn-0003o6-4N for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Oct 2004 11:15:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 31 Oct 2004 10:04:28 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: KNode/0.8.1 Original-Lines: 23 Original-NNTP-Posting-Host: 66.92.149.152 Original-X-Trace: sv3-v7rDKFe1hoXMXulsHdb1E0TvFNYnTnslCIzgSADlQby8d+g6BONsDWk/0ZP3oTX77jI6Xi3SEA0MwVo!gCbd8zO8cz5SqHhueb5QZDW6zE9knbDS8a6XiWGgse5NjN4x3x4yD+wFlKgSe6bLIARSJUA35JiL!S9exfyMQI/d2lUCIRrQ= Original-X-Complaints-To: abuse@speakeasy.net X-DMCA-Complaints-To: abuse@speakeasy.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.20 Original-Xref: shelby.stanford.edu gnu.emacs.help:126275 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21657 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21657 Kai Grossjohann wrote: > The normal Emacs way to do this by reading it from the minibuffer with > completion. See the function completing-read. > > Kai That's pretty much what I'm shooting for. What I want is to prompt the reader for a series of responses, the first being of the form 'GL' where is selected from a pick list. The next will be an integer in the range 1 through 4. And the last value will be boolean, preferably with some mnemonic representation indicating its meaning. I've looked at completing-read and completing-read-multiple. I wasn't able to figure out how to use the latter. I haven't directly revisited the topic because I want to finish reading the preceeding sections of the Reference Manual. And because someone who's IP address traced to a Redhat linux box in Japan discovered a way to attach to several of my highports with ssh and gain access to my system... I was forced to reinstall since I couldn't upgrade from the very ancient version of SuSE Linux I was running on the server. -- p->m == (*p).m == p[0].m