[Top][All Lists]

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

Re: Back to emacsclient/server

From: Richard Stallman
Subject: Re: Back to emacsclient/server
Date: Mon, 30 Oct 2006 08:33:35 -0500

    But your proposed
    (random 'random), if I'm understanding you, would save the seed,
    return a value, then restore the seed. For that to be useful, it'd
    have to be (random N 'random).

You are right.  It would have to be able to take two arguments.

    I very much doubt the result is hardly random enough; in fact,
    getpid() + time(NULL) is bound to return the same value for a lot of
    consecutive calls... To make that useful we'd need a way to get N
    values at once from random.

That is a good point also.

    But I think that's all unnecessary right now. As others have pointed
    out, several packages already do initialize the random seed for
    trivial reasons; I see no harm in doing the same in server.el.


reply via email to

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