[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Random number generation in LISP or using it
From: |
Lennart Borgman |
Subject: |
Re: Random number generation in LISP or using it |
Date: |
Wed, 10 Jun 2009 20:56:01 +0200 |
On Wed, Jun 10, 2009 at 8:04 PM, Colin S.
Miller<no-spam-thank-you@csmiller.demon.co.uk> wrote:
> bolega wrote:
>>
>> I am a newbie with the following problem.
>>
> <snip>
>>
>> The function "random" does not work in emacs. I guess one get the
>> start line and end line of a marked region and then use that to
>> disorder (or re-order) the lines according to a list of random numbers
>> generated ?
>
> Bolega,
> (random) is in the package cl. Since (random) doesn't have an autoload,
> you'll need to use
> (require 'cl)
> before you can use (random).
Or do as the manual says:
(eval-when-compile (require 'cl))
to avoid some potential problems.
> <snip>
>
>
>
> HTH,
> Colin S. Miller
>
- Random number generation in LISP or using it, bolega, 2009/06/11
- Re: Random number generation in LISP or using it, Colin S. Miller, 2009/06/10
- Re: Random number generation in LISP or using it,
Lennart Borgman <=
- Re: Random number generation in LISP or using it, TomSW, 2009/06/11
- Re: Random number generation in LISP or using it, bolega, 2009/06/11
- Re: Random number generation in LISP or using it, Thomas A. Russ, 2009/06/11
- Re: Random number generation in LISP or using it, Thomas A. Russ, 2009/06/11
- Re: Random number generation in LISP or using it, Xah Lee, 2009/06/11