[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 34b36df5b7 30/65: Use two different space ob
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 34b36df5b7 30/65: Use two different space objects |
Date: |
Mon, 7 Mar 2022 12:57:46 -0500 (EST) |
branch: externals/org-modern
commit 34b36df5b7d57826d62b9494a2a203b80846890a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use two different space objects
---
org-modern.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/org-modern.el b/org-modern.el
index dcda258c58..135300b751 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -362,6 +362,9 @@ Set to nil to disable the indicator."
(save-excursion
(let* ((beg (match-beginning 0))
(end (match-end 0))
+ ;; Unique objects
+ (sp1 (list 'space :width 1))
+ (sp2 (list 'space :width 1))
(color (face-attribute 'org-table :foreground nil t))
(inner (progn
(goto-char beg)
@@ -394,7 +397,8 @@ Set to nil to disable the indicator."
(b (match-end 0)))
;; TODO Text scaling breaks the table formatting since the space
is not scaled accordingly
(cl-loop for i from a below b do
- (put-text-property i (1+ i) 'display (list 'space :width
1)))))))))
+ (put-text-property i (1+ i) 'display
+ (if (= 0 (mod i 2)) sp1 sp2)))))))))
(defun org-modern--block ()
"Prettify blocks."
- [elpa] externals/org-modern 83ee897ac1 63/65: Update face when org-modern-variable-pitch is changed, (continued)
- [elpa] externals/org-modern 83ee897ac1 63/65: Update face when org-modern-variable-pitch is changed, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 7bce289ac6 62/65: Improve timestamp handling, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 3baf87f80e 09/65: README: Mention manual installation, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 5278d9787c 01/65: Initial commit, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 8c4bc6a320 12/65: Ensure that todo keywords stay editable (See #2), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 664f57ae12 10/65: Add option org-modern-hide-stars, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 1f0db02412 17/65: README reorganization, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern dbbb6c297c 18/65: Add license, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 7a245a435d 24/65: Update example, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 9510fa1550 25/65: Update example, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 34b36df5b7 30/65: Use two different space objects,
ELPA Syncer <=
- [elpa] externals/org-modern 00d7fd7324 33/65: Add range example, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 787e69884e 35/65: Fix regexp search for end of block, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 5c46042666 36/65: Simplify org-modern--timestamp, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern c32dd29318 37/65: timestamps: Add support for repeaters, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern dd7d45878f 41/65: Do not add fringes to blocks when org-indent-mode is enabled (See #7), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern fdb7b59682 39/65: README: Package is available on MELPA, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 18787dfa38 44/65: Improve date regexp, recognize international dates (Fix #8), ELPA Syncer, 2022/03/07
- [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