[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/svg-tag-mode e2481ae15a 63/63: Modified example to high
From: |
ELPA Syncer |
Subject: |
[elpa] externals/svg-tag-mode e2481ae15a 63/63: Modified example to highlight real org tags. |
Date: |
Mon, 27 Dec 2021 15:58:02 -0500 (EST) |
branch: externals/svg-tag-mode
commit e2481ae15adb979333b51fc83cab982e4a095152
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Modified example to highlight real org tags.
---
examples/example-2.el | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/examples/example-2.el b/examples/example-2.el
index ea0ce6e4a8..cc17058cc4 100644
--- a/examples/example-2.el
+++ b/examples/example-2.el
@@ -39,13 +39,14 @@
(setq svg-tag-tags
`(
;; Org tags
- ("\\(:#[A-Za-z0-9]+\\)" . ((lambda (tag)
- (svg-tag-make tag :face 'org-tag
- :beg 2 :alignment 0))))
- ("\\(:#[A-Za-z0-9]+:\\)$" . ((lambda (tag)
- (svg-tag-make tag :face 'org-tag
- :beg 2 :end -1
- :alignment 0))))
+ ("\\(:[A-Za-z0-9]+\\)" . ((lambda (tag)
+ (svg-tag-make (string-trim tag ":+" ":+")
+ :margin 1 :alignment 0))))
+ ("\\(:[A-Za-z0-9]+:+\\)" . ((lambda (tag)
+ (svg-tag-make (string-trim tag ":+" ":+")
+ :margin 1 :alignment 0))))
+ ("\\(:[A-Za-z0-9]+[ \-]\\)" . ((lambda (tag) tag)))
+
;; Task priority
("\\[#[A-Z]\\]" . ( (lambda (tag)
(svg-tag-make tag :face 'org-priority
@@ -86,7 +87,7 @@
(svg-tag-mode t)
;; To do: TODO DONE
-;; Tags: :#MEETING:#NOTE:
+;; Tags: :MEETING:NOTE:
;; Priorities: [#A] [#B] [#C]
;; Progress: [1/3]
;; [42%]
- [elpa] externals/svg-tag-mode 861c68af89 40/63: Updated example 1 to new tags format., (continued)
- [elpa] externals/svg-tag-mode 861c68af89 40/63: Updated example 1 to new tags format., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode ee16277655 42/63: Added examples from documentation, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 8533c6c174 50/63: Added progress bar example., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode d9a803a92e 49/63: Added date without time format example., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 3e49ddcee2 57/63: Cancel tag editing in read-only or view mode., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 7266de9f9c 61/63: Simplified advice on org fontify blocks., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 1d0d91bb00 46/63: Fixed layout, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 02d60e0a86 55/63: Fixed cursor selection., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode b5a00a5746 56/63: Bumped version number and fixed some documentation., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 85aed73bc6 58/63: Added custom option to let user decide on action at point., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode e2481ae15a 63/63: Modified example to highlight real org tags.,
ELPA Syncer <=