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

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

[elpa] externals/org-modern b8010f4011: modify org-modern-timestamp rege


From: ELPA Syncer
Subject: [elpa] externals/org-modern b8010f4011: modify org-modern-timestamp regex to match French-style (and maybe others), day-of-week short representation. (#94)
Date: Sun, 11 Sep 2022 15:57:54 -0400 (EDT)

branch: externals/org-modern
commit b8010f401143bb24272f441a7491fdf573377a67
Author: Vladimir F <21038976+Vladontheroad@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    modify org-modern-timestamp regex to match French-style (and maybe others), 
day-of-week short representation. (#94)
    
    Co-authored-by: vlad <vlad@ricardo>
---
 org-modern.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-modern.el b/org-modern.el
index eb8f76e00a..4683fb8b9a 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -676,7 +676,7 @@ You can specify a font `:family'. The font families 
`Iosevka', `Hack' and
               ,@(unless (cadr org-modern-radio-target)
                   '((2 '(face nil invisible t)))))))))
       (when org-modern-timestamp
-        '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: 
[[:word:]]+\\)?\\(?: [.+-]+[0-9ymwdh/]+\\)*\\)\\(\\(?: [0-9:-]+\\)?\\(?: 
[.+-]+[0-9ymwdh/]+\\)*\\)\\(?:>\\|\\]\\)"
+        '(("\\(?:<\\|\\[\\)\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\(?: 
[[:word:]]+\\.?\\)?\\(?: [.+-]+[0-9ymwdh/]+\\)*\\)\\(\\(?: [0-9:-]+\\)?\\(?: 
[.+-]+[0-9ymwdh/]+\\)*\\)\\(?:>\\|\\]\\)"
            (0 (org-modern--timestamp)))
           
("<[^>]+>\\(-\\)\\(-\\)<[^>]+>\\|\\[[^]]+\\]\\(?1:-\\)\\(?2:-\\)\\[[^]]+\\]"
            (1 '(face org-modern-label display #("  " 1 2 (face 
(:strike-through t) cursor t))) t)



reply via email to

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