From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] `org-clock--oldest-date` performance Date: Sat, 20 Jan 2018 19:18:49 +0100 Message-ID: <87y3ksmm0m.fsf@nicolasgoaziou.fr> References: <87po64ok7n.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecxjE-0007aM-AA for emacs-orgmode@gnu.org; Sat, 20 Jan 2018 13:18:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecxjB-0005cS-4c for emacs-orgmode@gnu.org; Sat, 20 Jan 2018 13:18:56 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:47186) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ecxjA-0005bp-Ug for emacs-orgmode@gnu.org; Sat, 20 Jan 2018 13:18:53 -0500 In-Reply-To: (Jack Henahan's message of "Sat, 20 Jan 2018 12:09:45 -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: Jack Henahan Cc: emacs-orgmode@gnu.org Jack Henahan writes: > Apologies again, didn't update the commit hash properly. I swear this is > the last one. :| Thank you. However, I'm surprised that `org-clock-special-range' callers handle a nil start date. Have you tested it? If that's true, we don't need the -50000 hack at all. Returning an empty string might be enough.