[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.
Ok.
- Re: Back to emacsclient/server, (continued)
- Re: Back to emacsclient/server, Juanma Barranquero, 2006/10/27
- Re: Back to emacsclient/server, Slawomir Nowaczyk, 2006/10/27
- Re: Back to emacsclient/server, Stefan Monnier, 2006/10/27
- Re: Back to emacsclient/server, Juanma Barranquero, 2006/10/27
- Re: Back to emacsclient/server, Richard Stallman, 2006/10/28
- Re: Back to emacsclient/server, Stefan Monnier, 2006/10/29
- Re: Back to emacsclient/server, Juanma Barranquero, 2006/10/30
- Re: Back to emacsclient/server, Richard Stallman, 2006/10/28
- Re: Back to emacsclient/server, Juanma Barranquero, 2006/10/28
- Re: Back to emacsclient/server, Kim F. Storm, 2006/10/28
- Re: Back to emacsclient/server,
Richard Stallman <=
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Back to emacsclient/server, Juanma Barranquero, 2006/10/27