all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* question about completing read
@ 2002-09-19  9:14 Klaus Berndl
  2002-09-19 16:48 ` Joe Casadonte
  0 siblings, 1 reply; 3+ messages in thread
From: Klaus Berndl @ 2002-09-19  9:14 UTC (permalink / raw)



The TABLE argument must be an alist where the car of each element must be a
string. Ok, but i have nowhere found anything about the cdr of the elements,
inall examples it is a sequence of numbers beginning from 1 but no explanation
why and no word about the cdr's in general! Am i blind?

First i supposed that the cdr of an element is returned when the car matches
but obviously this is not the case ;-)

Ok, what about these mysterious cdr's?

Thanks a lot,
Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about completing read
  2002-09-19  9:14 question about completing read Klaus Berndl
@ 2002-09-19 16:48 ` Joe Casadonte
  2002-09-19 18:01   ` Chuck Siska
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Casadonte @ 2002-09-19 16:48 UTC (permalink / raw)


On 19 Sep 2002, Klaus Berndl wrote:

> First i supposed that the cdr of an element is returned when the car
> matches but obviously this is not the case ;-)
>
> Ok, what about these mysterious cdr's?

I believe they are ignored.  I guess it assumes an alist because
that's how it's often used.  I know in most/all of my usages of
completing-read, it's been with an alist of values.  You can then use
assoc to look up the cdr of the value.

--
Regards,

joe
Joe Casadonte
jcasadonte@northbound-train.com

------------------------------------------------------------------------------
         Llama Fresh Farms => http://www.northbound-train.com
   Gay Media Resource List => http://www.northbound-train.com/gaymedia.html
            Perl for Win32 => http://www.northbound-train.com/perlwin32.html
               Emacs Stuff => http://www.northbound-train.com/emacs.html
          Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
                       Live Free, that's the message!
------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about completing read
  2002-09-19 16:48 ` Joe Casadonte
@ 2002-09-19 18:01   ` Chuck Siska
  0 siblings, 0 replies; 3+ messages in thread
From: Chuck Siska @ 2002-09-19 18:01 UTC (permalink / raw)


klaus --

i've used the alist with a font's readable string name, e.g.,
"terminal 9" in the car and its system descriptor in the cdr.
cheers.

-- chuck


Joe Casadonte wrote:
> 
> On 19 Sep 2002, Klaus Berndl wrote:
> 
> > First i supposed that the cdr of an element is returned when the car
> > matches but obviously this is not the case ;-)
> >
> > Ok, what about these mysterious cdr's?
> 
> I believe they are ignored.  I guess it assumes an alist because
> that's how it's often used.  I know in most/all of my usages of
> completing-read, it's been with an alist of values.  You can then use
> assoc to look up the cdr of the value.
> 
> --
> Regards,
> 
> joe
> Joe Casadonte
> jcasadonte@northbound-train.com
> 
> ------------------------------------------------------------------------------
>          Llama Fresh Farms => http://www.northbound-train.com
>    Gay Media Resource List => http://www.northbound-train.com/gaymedia.html
>             Perl for Win32 => http://www.northbound-train.com/perlwin32.html
>                Emacs Stuff => http://www.northbound-train.com/emacs.html
>           Music CD Trading => http://www.northbound-train.com/cdr.html
> ------------------------------------------------------------------------------
>                        Live Free, that's the message!
> ------------------------------------------------------------------------------
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
                                           |\_/\_.-'""``:-._       
What is life without looking for           . . `; -._      )-;-,_`)
the next cute little bug to play with?     v_,-    _  ),(,.\  ``-' 
                                          _.- _.,-_/ /  ((.'    
-- chuck.siska@skyworksinc.com  `<}:..  ((,.-'   ((,/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-19 18:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-19  9:14 question about completing read Klaus Berndl
2002-09-19 16:48 ` Joe Casadonte
2002-09-19 18:01   ` Chuck Siska

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.