From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: [PATCH] When testing, fake the current time more robustly Date: Tue, 12 Feb 2019 18:50:52 -0500 Message-ID: <875zto8t2b.fsf@kyleam.com> References: <20190212224423.3388-1-eggert@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gti5U-00028w-WA for Emacs-orgmode@gnu.org; Tue, 12 Feb 2019 19:07:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gthpL-0007M3-Gh for Emacs-orgmode@gnu.org; Tue, 12 Feb 2019 18:51:00 -0500 Received: from pb-smtp21.pobox.com ([173.228.157.53]:63767) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gthpL-0007FN-3b for Emacs-orgmode@gnu.org; Tue, 12 Feb 2019 18:50:59 -0500 In-Reply-To: <20190212224423.3388-1-eggert@cs.ucla.edu> 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" To: Paul Eggert , Emacs-orgmode@gnu.org Paul Eggert writes: > The old approach required Lisp code to use (current-time) > explicitly when calling other primitives, e.g., (float-time > (current-time)). The new approach fakes all the primitives, > so that Lisp code can now use expressions like plain (float-time). Great, thanks! I'll go through all the spots where I've s/nil/(current-time)/ for the sake of testing and restore nil. -- Kyle