From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Back to emacsclient/server Date: Sun, 29 Oct 2006 01:38:38 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162078790 30965 80.91.229.2 (28 Oct 2006 23:39:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Oct 2006 23:39:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 29 01:39:48 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gdxm8-00009q-Fk for ged-emacs-devel@m.gmane.org; Sun, 29 Oct 2006 01:39:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gdxm7-0002Mf-U5 for ged-emacs-devel@m.gmane.org; Sat, 28 Oct 2006 19:39:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gdxlu-0002Ma-82 for emacs-devel@gnu.org; Sat, 28 Oct 2006 19:39:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gdxlt-0002MO-Ar for emacs-devel@gnu.org; Sat, 28 Oct 2006 19:39:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gdxlt-0002ML-5r for emacs-devel@gnu.org; Sat, 28 Oct 2006 19:39:25 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gdxlt-0003ib-6U for emacs-devel@gnu.org; Sat, 28 Oct 2006 19:39:25 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by mx20.gnu.org with esmtp (Exim 4.52) id 1Gdxlr-0005ZB-ES for emacs-devel@gnu.org; Sat, 28 Oct 2006 19:39:23 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id CED6CFAC008; Sun, 29 Oct 2006 01:39:11 +0200 (CEST) Original-To: "Juanma Barranquero" In-Reply-To: (Juanma Barranquero's message of "Sat\, 28 Oct 2006 23\:16\:29 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61323 Archived-At: "Juanma Barranquero" writes: > On 10/28/06, Richard Stallman wrote: > >> Let's make (random 'random) generate a new seed, use it, then restore >> the old one, so that it has no effect on the sequence. This is a much >> smaller change than adding a means to read and set the random seed. > 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. If your > proposal (or any variant) is ever implemented, fixing server.el is a > one-line change. I agree. I see no harm in doing (random t) in server.el. If someone really want repeatable output from random, we _do_ need at way to set the seed, e.g. (random &optional n seed) -- Kim F. Storm http://www.cua.dk