From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] make 'org-at-date-range-p work like org-at-timestamp-p Date: Tue, 19 Mar 2019 21:28:16 +0100 Message-ID: <87r2b2r4m7.fsf@nicolasgoaziou.fr> References: <23692.5492.62319.323977@AGAME7.local> <87mulrsvta.fsf@nicolasgoaziou.fr> <23697.18397.929488.153848@AGAME7.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6LLj-0002hS-K0 for emacs-orgmode@gnu.org; Tue, 19 Mar 2019 16:28:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6LLg-0007SG-Qp for emacs-orgmode@gnu.org; Tue, 19 Mar 2019 16:28:39 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:40101) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h6LLe-0007AF-TO for emacs-orgmode@gnu.org; Tue, 19 Mar 2019 16:28:36 -0400 In-Reply-To: <23697.18397.929488.153848@AGAME7.local> (Thomas Plass's message of "Tue, 19 Mar 2019 20:49:49 +0100") 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: Thomas Plass Cc: emacs-orgmode@gnu.org Hello, thunk2@arcor.de (Thomas Plass) writes: > I don't know what I've done to my Org buffer, but what look like > timestamps are a mixture of element types 'timestamp and 'planning. > > Anyway, 'org-at-timestamp-p returns nil for the 'planning timestamps. > Which causes breakage. That behaviour is correct. Planning lines are not timestamps. See `extended' parameter in `org-at-timestamp-p'. Regards, -- Nicolas Goaziou