From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: random doesn't feel very random Date: Sat, 25 Aug 2012 00:57:50 +0200 Message-ID: References: <876288yh72.fsf@kanis.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345849087 30591 80.91.229.3 (24 Aug 2012 22:58:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 22:58:07 +0000 (UTC) Cc: Leo , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 25 00:58:07 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T52pG-0006MH-3m for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2012 00:58:02 +0200 Original-Received: from localhost ([::1]:47449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T52pE-0000N4-De for ged-emacs-devel@m.gmane.org; Fri, 24 Aug 2012 18:58:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T52pC-0000Mx-Gd for emacs-devel@gnu.org; Fri, 24 Aug 2012 18:57:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T52pA-0004pj-K6 for emacs-devel@gnu.org; Fri, 24 Aug 2012 18:57:58 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:60659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T52pA-0004pf-E3; Fri, 24 Aug 2012 18:57:56 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3X3dDw4scVz3hhbl; Sat, 25 Aug 2012 00:57:52 +0200 (CEST) X-Auth-Info: 7MW9//6BLI8b8X005F6rB4V7rxQbUifZRqexYWgv5eU= Original-Received: from linux.local (ppp-88-217-97-88.dynamic.mnet-online.de [88.217.97.88]) by mail.mnet-online.de (Postfix) with ESMTPA id 3X3dDw4Rxkzbbg1; Sat, 25 Aug 2012 00:57:52 +0200 (CEST) Original-Received: by linux.local (Postfix, from userid 501) id 39DE814E297; Sat, 25 Aug 2012 00:57:51 +0200 (CEST) X-Yow: The appreciation of the average visual graphisticator alone is worth the whole suaveness and decadence which abounds!! In-Reply-To: (Richard Stallman's message of "Fri, 24 Aug 2012 18:48:10 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152821 Archived-At: Richard Stallman writes: > That is probably because we have only one global random state and many > packages reset it from time to time (see message-unique-id). > > Why would extra invocations of (random t) cause repetitive behavior? Depends on how random your seed is. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."