emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/org-modern ef4a16a06c 58/65: Time stamps: Improve color


From: ELPA Syncer
Subject: [elpa] externals/org-modern ef4a16a06c 58/65: Time stamps: Improve coloring of dates with repeater (Fix #22)
Date: Mon, 7 Mar 2022 12:57:48 -0500 (EST)

branch: externals/org-modern
commit ef4a16a06cee6043afeadcd4564483e9ff115861
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Time stamps: Improve coloring of dates with repeater (Fix #22)
---
 example.org   | 3 ++-
 org-modern.el | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/example.org b/example.org
index fb8bb1ea83..7a57d5b043 100644
--- a/example.org
+++ b/example.org
@@ -28,7 +28,8 @@ SCHEDULED: <2022-02-25 10:00>
 DRANGE:    [2022-03-01]--[2022-04-01]
 TRANGE:    [2022-03-01 Tue 10:42-11:00]
 TIMESTAMP: [2022-02-21 Mon 13:00]
-REPEATED:  <2022-02-26 Sat .+1d>
+DREPEATED:  <2022-02-26 Sat .+1d +3d>
+TREPEATED:  <2022-02-26 Sat 10:00 .+1d>
 
 * Blocks
 
diff --git a/org-modern.el b/org-modern.el
index ab87778476..54afc0febb 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -484,7 +484,7 @@ Set to nil to disable the indicator."
       (when org-modern-tag
         '(("^\\*+.*?\\( \\)\\(:.*:\\)[ \t]*$" (0 (org-modern--tag)))))
       (when org-modern-timestamp
-        '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: 
[[:word:]]+\\)?\\)\\(\\(?: [0-9:-]+\\)?\\(?: 
[.+-]+[0-9]+[hdwmy]\\)?\\)\\(?:>\\|\\]\\)"
+        '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: 
[[:word:]]+\\)?\\(?: [.+-]+[0-9]+[[:word:]]\\)*\\)\\(\\(?: [0-9:-]+\\)?\\(?: 
[.+-]+[0-9]+[[:word:]]\\)*\\)\\(?:>\\|\\]\\)"
            (0 (org-modern--timestamp)))))
       (when org-modern-statistics
         '((" \\[\\(\\([0-9]+\\)%\\|\\([0-9]+\\)/\\([0-9]+\\)\\)\\]" (0 
(org-modern--statistics)))))))



reply via email to

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