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

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

Re: LISP Questions - random, random elements and memory management


From: Barry Margolin
Subject: Re: LISP Questions - random, random elements and memory management
Date: Fri, 20 Nov 2009 01:28:26 -0500
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <address@hidden>,
 Kevin Rodgers <address@hidden> wrote:

> Jeff Clough wrote:
> > From: Barry Margolin <address@hidden>
> > Date: Thu, 19 Nov 2009 08:44:24 -0500
> > 
> >> How about putting it in a text file that you load into a temporary 
> >> buffer when you need it?  Then kill the buffer when you're done with it.
> 
> Isn't the point to read the words into a list?  So assuming the file looks
> like:
> 
> ("word1" "word2" "word3" ... "wordN")

I thought the point was to select a word at random.  Putting it into a 
list was just part of his initial implementation of this.

If he reads it into a buffer, instead of picking a random list element, 
he can pick a random line number.

-- 
Barry Margolin, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

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