From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#9118: 23.3.50; Don't seed the RNG in message-unique-id Date: Thu, 21 Jul 2011 13:57:51 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311249556 9120 80.91.229.12 (21 Jul 2011 11:59:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2011 11:59:16 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 9118@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 21 13:59:09 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QjruH-0005ma-0b for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 13:59:09 +0200 Original-Received: from localhost ([::1]:39600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjruG-0001QG-IY for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 07:59:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjruD-0001Q0-Fz for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2011 07:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjruC-0006KR-ES for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2011 07:59:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjruC-0006KN-Cq for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2011 07:59:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QjruA-0005sF-DV; Thu, 21 Jul 2011 07:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 21 Jul 2011 11:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9118 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: wontfix Original-Received: via spool by 9118-submit@debbugs.gnu.org id=B9118.131124953522565 (code B ref 9118); Thu, 21 Jul 2011 11:59:02 +0000 Original-Received: (at 9118) by debbugs.gnu.org; 21 Jul 2011 11:58:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qjru2-0005ru-2I for submit@debbugs.gnu.org; Thu, 21 Jul 2011 07:58:54 -0400 Original-Received: from mail-pv0-f172.google.com ([74.125.83.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qjrtk-0005rT-RG for 9118@debbugs.gnu.org; Thu, 21 Jul 2011 07:58:53 -0400 Original-Received: by pvh18 with SMTP id 18so1121829pvh.3 for <9118@debbugs.gnu.org>; Thu, 21 Jul 2011 04:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=L/BC0eic+j6/cwe6Su7JSC6OzPYqyIUpRk/bfcIXYys=; b=s2Tfw3Vw52st/+41Rph7xtxRMjRWDQtjLD86+pDubHnotFiC6WaNO71+R4GTY+acDn O1UjW0ZgZ7uyvgBgGFQjgDgTJWlUZ42AglJTgI+g7PghU02QdGQZWkaVJMLkevDJCOUG p6SUTU1eDdZDmOhSq6TfD8qCU0shUtpGpRz5k= Original-Received: by 10.142.166.19 with SMTP id o19mr57440wfe.410.1311249511062; Thu, 21 Jul 2011 04:58:31 -0700 (PDT) Original-Received: by 10.142.12.14 with HTTP; Thu, 21 Jul 2011 04:57:51 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 21 Jul 2011 07:59:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49500 On Thu, Jul 21, 2011 at 06:45, Leo wrote: > Indeed, some do some don't. I wonder if Emacs should? Many systems (languages, etc.) have a facility to seed the RNG with a specific seed (saved from a previous run, for example), so you can have repeated runs with the exact same sequence of random numbers, if needed. That can be useful for simulation, testing, etc. AFAIK, the Emacs RNG does not allow that at the lisp level, so it would be better to automatically seed it and remove the many (random t) calls, which, as has been pointed out, can in fact be harmful for the quality of the generated random number series, if called repeatedly. =C2=A0 =C2=A0 Juanma