[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern 8c4bc6a320 12/65: Ensure that todo keywords
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern 8c4bc6a320 12/65: Ensure that todo keywords stay editable (See #2) |
Date: |
Mon, 7 Mar 2022 12:57:45 -0500 (EST) |
branch: externals/org-modern
commit 8c4bc6a3205aeb9d1a8177e14f3d2e6c4775d844
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Ensure that todo keywords stay editable (See #2)
---
org-modern.el | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/org-modern.el b/org-modern.el
index b9750223e4..079f895336 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -270,14 +270,18 @@ Set to nil to disable the progress bar."
(let ((todo (match-string 1))
(beg (match-beginning 1))
(end (match-end 1)))
+ (put-text-property
+ beg (1+ beg)
+ 'display (format " %c" (char-after beg)))
+ (put-text-property
+ (1- end) end
+ 'display (format "%c " (char-before end)))
(put-text-property
beg end
- 'display
- (propertize (concat " " todo " ")
- 'face
- (if (member todo org-done-keywords)
- 'org-modern-done
- 'org-modern-todo)))))
+ 'face
+ (if (member todo org-done-keywords)
+ 'org-modern-done
+ 'org-modern-todo))))
(defun org-modern--timestamp ()
"Prettify timestamps."
- [elpa] externals/org-modern 7d741dba51 60/65: Take advantage of more flexible boxes on Emacs 28, (continued)
- [elpa] externals/org-modern 7d741dba51 60/65: Take advantage of more flexible boxes on Emacs 28, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern e13be0f433 40/65: Preserve line-prefix and wrap-prefix if org-indent-mode is enabled (Fix #7), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 4f5d010a9f 42/65: Use en-dash for list bullets, ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 394460be40 50/65: Document minimal setup (Fix #13), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern 37bbac24a0 55/65: Increase font sizes by default (See #19), ELPA Syncer, 2022/03/07
- [elpa] externals/org-modern a15d8353ed 61/65: Fix :type, ELPA Syncer, 2022/03/07
- [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 <=
- [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, 2022/03/07
- [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