From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damian Subject: org-scheduled-time-hour-regexp doesn't capture split repeats used by habit Date: Wed, 26 Jun 2019 21:11:31 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45264) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgLl2-0003JP-Ki for emacs-orgmode@gnu.org; Thu, 27 Jun 2019 00:11:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgLl1-0002LV-O5 for emacs-orgmode@gnu.org; Thu, 27 Jun 2019 00:11:36 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:33289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hgLl1-0002Jt-Ig for emacs-orgmode@gnu.org; Thu, 27 Jun 2019 00:11:35 -0400 Received: by mail-pf1-x42b.google.com with SMTP id x15so537097pfq.0 for ; Wed, 26 Jun 2019 21:11:34 -0700 (PDT) Received: from powerstone.dsmall.com (mail.dsmall.com. [173.228.107.119]) by smtp.gmail.com with ESMTPSA id f10sm867720pfd.151.2019.06.26.21.11.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jun 2019 21:11:32 -0700 (PDT) Content-Language: en-US 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: emacs-orgmode@gnu.org The ':scheduled*' value for org-agenda-entry-types uses org-scheduled-time-hour-regexp to match related entries. The current regexp doesn't match entries with split repeats like those used by habits- for example:       'SCHEDULED: <2019-06-25 Tue 20:30 .+1d/2d>'. Because those entries show up in the agenda with a timestamp I believe they should be caught by the regexp. org.el:      (defconst org-scheduled-time-hour-regexp           (concat "\\<" org-scheduled-string                   " *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy \t.-]*\\)>")           "Matches the SCHEDULED keyword together with a time-and-hour stamp.") Fix?    (defconst org-scheduled-time-hour-regexp           (concat "\\<" org-scheduled-string                   " *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy \t./-]*\\)>")           "Matches the SCHEDULED keyword together with a time-and-hour stamp.") Thanks, -Damian