From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: org-today broken Date: Sun, 03 Feb 2019 20:10:32 -0500 Message-ID: <874l9k4auv.fsf@kyleam.com> References: <874l9o9mev.fsf@kyleam.com> <84y36yjw8r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqSmc-0005Wy-Tn for emacs-orgmode@gnu.org; Sun, 03 Feb 2019 20:10:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqSmb-0002pi-LA for emacs-orgmode@gnu.org; Sun, 03 Feb 2019 20:10:46 -0500 Received: from pb-smtp21.pobox.com ([173.228.157.53]:65057) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqSmY-0002mS-Dd for emacs-orgmode@gnu.org; Sun, 03 Feb 2019 20:10:43 -0500 In-Reply-To: <84y36yjw8r.fsf@gmail.com> 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: Marco Wahl Cc: emacs-orgmode@gnu.org Hi Marco, Marco Wahl writes: > Occasionally I like to bend time to see what the agenda would look like > if another day was current. This can be achieved conveniently when > solely function "current-time" is the source for the current time. > > So I'm all for using the explicit calls to current-time instead of using > alternatve sources for the current time. Sorry for making your time travel harder :] Emacs's c75f505dea6 argues for replacing current-time calls with nil where possible because "nil is a bit more efficient and should have less timing error". But if there are any particular spots where you'd like to use current-time for the reasons you give above, please feel free to make those changes. (There are already quite a few places where I've done this because we depend on overriding current-time in tests.) -- Kyle