[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-modern f57b733806 48/65: Do not use invisible text
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-modern f57b733806 48/65: Do not use invisible text properties |
Date: |
Mon, 7 Mar 2022 12:57:48 -0500 (EST) |
branch: externals/org-modern
commit f57b7338061eee528519cda150f8a34719b434c7
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Do not use invisible text properties
Generally org-modern should try to change only a minimal set of text
properties.
In particular the invisible property may become problematic if Org is moving
away from overlays. For now we only use line-prefix, wrap-prefix, face and
display.
---
org-modern.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/org-modern.el b/org-modern.el
index 766228d0f1..7df45b63e8 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -463,15 +463,15 @@ Set to nil to disable the indicator."
'(face nil
,@(if (stringp org-modern-keyword)
`(display ,org-modern-keyword)
- '(invisible t))))))
+ '(display ""))))))
(when org-modern-checkbox
'(("^[ \t]*\\(?:[-+*]\\|[0-9]+[.)]\\)[ \t]+\\(\\[[ X-]\\]\\)[ \t]"
(0 (org-modern--checkbox)))))
(when (or org-modern-star org-modern-hide-stars)
`(("^\\(\\**\\)\\(\\*\\) "
,@(and (not (eq org-modern-hide-stars t)) org-modern-star '((0
(org-modern--star))))
- ,@(and (eq org-modern-hide-stars 'leading) '((1 '(face nil
invisible t))))
- ,@(and (eq org-modern-hide-stars t) '((0 '(face nil invisible
t)))))))
+ ,@(and (eq org-modern-hide-stars 'leading) '((1 '(face nil display
""))))
+ ,@(and (eq org-modern-hide-stars t) '((0 '(face nil display
"")))))))
(when org-modern-horizontal-rule
'(("^-\\{5,\\}$" 0 '(face org-modern-horizontal-rule display (space
:width text)))))
(when org-modern-table
@@ -507,8 +507,8 @@ Set to nil to disable the indicator."
(remove-list-of-text-properties
beg end
(if (bound-and-true-p org-indent-mode)
- '(display face invisible)
- '(wrap-prefix line-prefix display face invisible))))))
+ '(display face)
+ '(wrap-prefix line-prefix display face))))))
(provide 'org-modern)
;;; org-modern.el ends here
- [elpa] externals/org-modern 9510fa1550 25/65: Update example, (continued)
- [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
- [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 <=
- [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, 2022/03/07
- [elpa] externals/org-modern f9be17a631 64/65: Version 0.2, ELPA Syncer, 2022/03/07