From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: More clocktable breakage Date: Thu, 27 Apr 2017 20:56:12 +0200 Message-ID: <8737ct1xyr.fsf@nicolasgoaziou.fr> References: <877f39nr05.fsf@Rainer.invalid> <87d1d0p2qx.fsf@nicolasgoaziou.fr> <87tw5bumck.fsf@Rainer.invalid> <87shkt4tuf.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3oaW-0007MW-Uy for emacs-orgmode@gnu.org; Thu, 27 Apr 2017 14:56:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3oaS-0004ip-9O for emacs-orgmode@gnu.org; Thu, 27 Apr 2017 14:56:24 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:57951) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3oaS-0004hq-3a for emacs-orgmode@gnu.org; Thu, 27 Apr 2017 14:56:20 -0400 In-Reply-To: <87shkt4tuf.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 27 Apr 2017 19:56:56 +0200") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Achim Gratz writes: >> Nicolas Goaziou writes: >>> At the moment, I cannot reproduce it. I tried M-up in the following >>> document: >>> >>> #+BEGIN: clocktable :tstart "<2006-08-10 Thu 10:00>" :tend "<2006-= 08-10 Thu 12:00>" >>> #+END: clocktable These are not timestamps. Even though they look like timestamps, you wouldn't want them to appear in the agenda. So `org-at-timestamp-p' is correct, IMO. Moreover, its docstring says This function checks context and only return non-nil for valid time stamps. If you need to match anything looking like a time stamp, or if you are sure about the context, consider using =E2=80=98org-in-regexp=E2=80=99, e.g., (org-in-regexp org-ts-regexp) so ISTM a correct fix would be to have the function you're calling (I don't remember it) use this instead of `org-at-timestamp-p'. WDYT? --=20 Nicolas Goaziou