[Top][All Lists]

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

Re: random doesn't feel very random

From: Eli Zaretskii
Subject: Re: random doesn't feel very random
Date: Fri, 31 Aug 2012 12:42:21 +0300

> From: Achim Gratz <address@hidden>
> Date: Mon, 27 Aug 2012 07:17:45 +0200
> Richard Stallman writes:
> > It is a feature that, if you don't call (random t), `random' returns
> > a predictable sequence.  That is good for debugging.
> I recognize that, but it leads directly to the mis-use of (random t) all
> over the place.  Wouldn't it be better (in the absence of any API
> changes) to have an option to start Emacs with a predictable seed for
> debugging and have it use a random seed otherwise?

IMO, it would be better to fix the packages that misuse '(random t)'.

reply via email to

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