From: Damian <ddtest@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-scheduled-time-hour-regexp doesn't capture split repeats used by habit
Date: Wed, 26 Jun 2019 21:11:31 -0700 [thread overview]
Message-ID: <e5c09306-5384-74b1-9531-607e6efe60f6@gmail.com> (raw)
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
next reply other threads:[~2019-06-27 4:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-27 4:11 Damian [this message]
2020-02-04 7:59 ` org-scheduled-time-hour-regexp doesn't capture split repeats used by habit Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e5c09306-5384-74b1-9531-607e6efe60f6@gmail.com \
--to=ddtest@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).