From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: Using passing the tempo-template user input to my function? Date: Sun, 31 Oct 2004 16:22:13 +0100 Message-ID: <86mzy2lxp6.fsf@ketchup.de.uu.net> References: <2u7a14F27qaajU1@uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099232606 6437 80.91.229.6 (31 Oct 2004 14:23:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 14:23:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 31 15:23:19 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 1COGc2-0000GZ-00 for ; Sun, 31 Oct 2004 15:23:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COGjz-0002Ri-PX for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Oct 2004 09:31:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1COGjm-0002PM-PV for help-gnu-emacs@gnu.org; Sun, 31 Oct 2004 09:31:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1COGjl-0002OG-MX for help-gnu-emacs@gnu.org; Sun, 31 Oct 2004 09:31:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COGjl-0002Ng-H5 for help-gnu-emacs@gnu.org; Sun, 31 Oct 2004 09:31:17 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1COGbR-00014g-CL for help-gnu-emacs@gnu.org; Sun, 31 Oct 2004 09:22:41 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1COGbQ-0001X2-00 for ; Sun, 31 Oct 2004 15:22:40 +0100 Original-Received: from p5487c5c3.dip.t-dialin.net ([84.135.197.195]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Oct 2004 15:22:40 +0100 Original-Received: from kai by p5487c5c3.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Oct 2004 15:22:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 12 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5487c5c3.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:HkElGXD3dob0CAQ2AWX9g35O5KQ= 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:21654 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21654 Hattuari writes: > Well, at least I can refine my question based on further > understanding. My mistake is trying to compare the string "GLbyte" > with the symbol 'GLbyte. These are distinct objects with unrelated > values. What I should probably be doing is providing the user with > a picklist of symbols to chose from. Is there a way to do that? The normal Emacs way to do this by reading it from the minibuffer with completion. See the function completing-read. Kai