From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: commit 7719734dd7 org-compat.el: New compatibility function `org-random' Date: Thu, 06 Sep 2012 19:26:03 +0200 Message-ID: <87bohj3vx0.fsf@altern.org> References: <87k3w7dtt2.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fq6-0007KL-PW for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:26:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9fq2-00076w-GP for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:26:02 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:33013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fq2-00076o-99 for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 13:25:58 -0400 Received: by wgbdt14 with SMTP id dt14so1406063wgb.30 for ; Thu, 06 Sep 2012 10:25:57 -0700 (PDT) In-Reply-To: <87k3w7dtt2.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 06 Sep 2012 18:01:29 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Sorry, but that macro doesn't call `random´ appropriately at all. The real problem is (random t) in previous versions of org-id.el. Do you mean this should be (random) instead of (random t) in those versions? Why? If so, we can simply get rid of the compatibility macro and use (random). > No package should ever use `(random t)´ at all and especially not > repeatedly. I thought (random t) was okay especially because related functions (e.g. org-id-new) are *never* repeated at regular intervals. Besides, (random t) is documented in Emacs <24.3 and XEmacs. -- Bastien