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

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

Re: Using passing the tempo-template user input to my function?


From: Hattuari
Subject: Re: Using passing the tempo-template user input to my function?
Date: Wed, 27 Oct 2004 12:59:06 -0400
User-agent: KNode/0.8.1

Hattuari wrote:

> Kevin Rodgers wrote:
> 
> 
>> If tempo-interactive is nil, perhaps you need to do something like
>> 
>> (let ((tempo-interactive t))
>>    (tempo-define-template ...))
>> 
>> which would also allow you to use (p ...) instead of (P ...) in your
>> template.
>> 
> 
> The user is prompted for input.  The input is available for insertion
> using
> s NAME.  My question is how do I use the value returned by s NAME in my
> own function?
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?
-- 
p->m == (*p).m == p[0].m


reply via email to

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