[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 <mailman.11114.1258689162.2239.help-gnu-emacs@gnu.org>,
Kevin Rodgers <kevin.d.rodgers@gmail.com> wrote:
> Jeff Clough wrote:
> > From: Barry Margolin <barmar@alum.mit.edu>
> > 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, barmar@alum.mit.edu
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 ***
- LISP Questions - random, random elements and memory management, Jeff Clough, 2009/11/18
- Re: LISP Questions - random, random elements and memory management, Jeff Clough, 2009/11/18
- Re: LISP Questions - random, random elements and memory management, Kevin Rodgers, 2009/11/18
- Re: LISP Questions - random, random elements and memory management, Jeff Clough, 2009/11/19
- Message not available
- Re: LISP Questions - random, random elements and memory management, Barry Margolin, 2009/11/19
- Re: LISP Questions - random, random elements and memory management, Jeff Clough, 2009/11/19
- Re: LISP Questions - random, random elements and memory management, Kevin Rodgers, 2009/11/19
- Message not available
- Re: LISP Questions - random, random elements and memory management,
Barry Margolin <=
- Message not available
- Re: LISP Questions - random, random elements and memory management, Colin S. Miller, 2009/11/19
- Re: LISP Questions - random, random elements and memory management, Jeff Clough, 2009/11/19