emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-scheduled-time-hour-regexp doesn't capture split repeats used by


From: Damian
Subject: [O] org-scheduled-time-hour-regexp doesn't capture split repeats used by habit
Date: Wed, 26 Jun 2019 21:11:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]