forked from mirrors/org-mode
Backport commit f9ff60e0d from Emacs
* lisp/org-eshell.el (org-eshell-open): * lisp/org.el (org-deadline-time-hour-regexp) (org-scheduled-time-hour-regexp): Avoid attempts to chain ranges, as this can be confusing. For example, instead of [0-9-_.], use [0-9_.-]. Improve regexp advice again, and unchain ranges f9ff60e0d7288e30cdbd1e43225059f1374441f1 Paul Eggert Tue Apr 2 15:01:34 2019 -0700
This commit is contained in:
parent
b913b7404b
commit
b0324a7405
|
@ -37,7 +37,7 @@
|
|||
eshell buffer) or a command line prefixed by a buffer name
|
||||
followed by a colon."
|
||||
(let* ((buffer-and-command
|
||||
(if (string-match "\\([A-Za-z0-9-+*]+\\):\\(.*\\)" link)
|
||||
(if (string-match "\\([A-Za-z0-9+*-]+\\):\\(.*\\)" link)
|
||||
(list (match-string 1 link)
|
||||
(match-string 2 link))
|
||||
(list eshell-buffer-name link)))
|
||||
|
|
|
@ -458,7 +458,7 @@ Matched keyword is in group 1.")
|
|||
|
||||
(defconst org-deadline-time-hour-regexp
|
||||
(concat "\\<" org-deadline-string
|
||||
" *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9-+:hdwmy \t.]*\\)>")
|
||||
" *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy \t.-]*\\)>")
|
||||
"Matches the DEADLINE keyword together with a time-and-hour stamp.")
|
||||
|
||||
(defconst org-deadline-line-regexp
|
||||
|
@ -474,7 +474,7 @@ Matched keyword is in group 1.")
|
|||
|
||||
(defconst org-scheduled-time-hour-regexp
|
||||
(concat "\\<" org-scheduled-string
|
||||
" *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9-+:hdwmy \t.]*\\)>")
|
||||
" *<\\([^>]+[0-9]\\{1,2\\}:[0-9]\\{2\\}[0-9+:hdwmy \t.-]*\\)>")
|
||||
"Matches the SCHEDULED keyword together with a time-and-hour stamp.")
|
||||
|
||||
(defconst org-closed-time-regexp
|
||||
|
|
Loading…
Reference in New Issue