From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: org-today broken Date: Fri, 01 Feb 2019 13:55:05 +0100 Message-ID: <84y36yjw8r.fsf@gmail.com> References: <874l9o9mev.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpYLg-0005PZ-6i for emacs-orgmode@gnu.org; Fri, 01 Feb 2019 07:55:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpYLf-0000UD-II for emacs-orgmode@gnu.org; Fri, 01 Feb 2019 07:55:12 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:38756) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpYLf-0000Oa-8F for emacs-orgmode@gnu.org; Fri, 01 Feb 2019 07:55:11 -0500 Received: by mail-wr1-x433.google.com with SMTP id v13so6969865wrw.5 for ; Fri, 01 Feb 2019 04:55:10 -0800 (PST) In-Reply-To: <874l9o9mev.fsf@kyleam.com> (Kyle Meyer's message of "Thu, 31 Jan 2019 23:12:56 -0500") 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: Kyle Meyer Cc: emacs-orgmode@gnu.org Kyle Meyer writes: > Samuel Wales writes: > >> recent versions of maint and probably master have nil instead of >> current time in org-today. >> >> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) >> time-subtract(nil (0 0 0)) >> org-today() >> (message "org today is %s" (org-today)) > > Thanks for the report. I introduced this and a handful of other related > incompatibilities with my port of Emacs's c75f505de. I've reverted the > problematic spots. Thanks for the revert! 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. My 2ct, Marco