[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 10a42c6740 59/65: Handle date ranges
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 10a42c6740 59/65: Handle date ranges |
Date: |
Mon, 7 Mar 2022 12:57:49 -0500 (EST) |
branch: externals/org-modern
commit 10a42c67406d01a7e4679f371e4cb2814653d814
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Handle date ranges
---
example.org | 1 +
org-modern.el | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/example.org b/example.org
index 7a57d5b043..6a9c8cdb02 100644
--- a/example.org
+++ b/example.org
@@ -26,6 +26,7 @@ which are styled by =org-modern=.
DEADLINE: <2022-03-01 Tue>
SCHEDULED: <2022-02-25 10:00>
DRANGE: [2022-03-01]--[2022-04-01]
+DRANGE: <2022-03-01>--<2022-04-01>
TRANGE: [2022-03-01 Tue 10:42-11:00]
TIMESTAMP: [2022-02-21 Mon 13:00]
DREPEATED: <2022-02-26 Sat .+1d +3d>
diff --git a/org-modern.el b/org-modern.el
index 54afc0febb..b366ba78ef 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -485,7 +485,10 @@ Set to nil to disable the indicator."
'(("^\\*+.*?\\( \\)\\(:.*:\\)[ \t]*$" (0 (org-modern--tag)))))
(when org-modern-timestamp
'(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?:
[[:word:]]+\\)?\\(?: [.+-]+[0-9]+[[:word:]]\\)*\\)\\(\\(?: [0-9:-]+\\)?\\(?:
[.+-]+[0-9]+[[:word:]]\\)*\\)\\(?:>\\|\\]\\)"
- (0 (org-modern--timestamp)))))
+ (0 (org-modern--timestamp)))
+
("<[^>]+>\\(-\\)\\(-\\)<[^>]+>\\|\\[[^]]+\\]\\(?1:-\\)\\(?2:-\\)\\[[^]]+\\]"
+ (1 '(face org-modern-label display #(" " 1 2 (face
(:strike-through t) cursor t))) t)
+ (2 '(face org-modern-label display #(" " 0 1 (face
(:strike-through t)))) t))))
(when org-modern-statistics
'((" \\[\\(\\([0-9]+\\)%\\|\\([0-9]+\\)/\\([0-9]+\\)\\)\\]" (0
(org-modern--statistics)))))))
(font-lock-add-keywords nil org-modern--keywords 'append)
- [elpa] externals/org-modern 6fc453d10b 45/65: Recognize time stamps with duration (Fix #9), (continued)
- [elpa] externals/org-modern 6fc453d10b 45/65: Recognize time stamps with duration (Fix #9), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern f57b733806 48/65: Do not use invisible text properties, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 718bd89e2f 43/65: Use en-dash for checkbox composed character, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 074b7e5b51 49/65: README updates, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 9974bcb675 52/65: Typo README, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 91e113ff4f 51/65: Revert "Do not use invisible text properties" (Fix #16), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern fc7794ae0b 53/65: README: Recommend org-auto-align-tags=nil, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 7c6b7048e9 57/65: Add org-modern-variable-pitch option (Fix #21), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern ab19a33a26 56/65: Display priorities in similar style as TODO/DONE states (Fix #12), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern ef4a16a06c 58/65: Time stamps: Improve coloring of dates with repeater (Fix #22), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 10a42c6740 59/65: Handle date ranges,
ELPA Syncer <=
- [elpa] externals/org-modern f9be17a631 64/65: Version 0.2, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 6fadad5cdf 65/65: Change copyright, ELPA Syncer, 2022/03/07