[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-superstar 3fbfc0a47e 092/162: Merge pull request #11 f
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/org-superstar 3fbfc0a47e 092/162: Merge pull request #11 from integral-dw/issue-10 |
Date: |
Fri, 31 Dec 2021 19:35:30 -0500 (EST) |
branch: elpa/org-superstar
commit 3fbfc0a47ec3a828245d0de2c1c774229af20bb8
Merge: 715a9681d3 b366a40451
Author: D. Williams <d.williams@posteo.net>
Commit: GitHub <noreply@github.com>
Merge pull request #11 from integral-dw/issue-10
Allow for item bullets other than "*" to lack leading spaces.
---
org-superstar.el | 9 +++++----
tests/issue-10.org | 5 +++++
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/org-superstar.el b/org-superstar.el
index 4ebebbafe8..4b5fb97690 100644
--- a/org-superstar.el
+++ b/org-superstar.el
@@ -5,7 +5,7 @@
;; Author: D. Williams <d.williams@posteo.net>
;; Maintainer: D. Williams <d.williams@posteo.net>
;; Keywords: faces, outlines
-;; Version: 1.0.2
+;; Version: 1.0.3
;; Homepage: https://github.com/integral-dw/org-superstar-mode
;; Package-Requires: ((org "9.1.9") (emacs "26.2"))
@@ -558,11 +558,12 @@ last regexp. If there is no SUBEXPth pair, do nothing."
You should not call this function to avoid confusing this mode’s
cleanup routines."
;; The below regex is nicked from ‘org-list-full-item-re’, but
- ;; reduced to only match simple lists. Replaced [ \t]* by [ \t]+ to
- ;; avoid confusion with title bullets.
+ ;; reduced to only match simple lists. Changes were made to enforce
+ ;; a leading space before asterisks to avoid confusion with title
+ ;; bullets.
(setq org-superstar--font-lock-keywords
`(,@(when org-superstar-prettify-item-bullets
- '(("^[ \t]+\\([-+*]\\) "
+ '(("^[ \t]*?\\(?:\\(?1:[-+]\\)\\|[ \t]\\(?1:\\*\\)\\) "
(1 (org-superstar--prettify-ibullets)))))
("^\\(?3:\\**?\\)\\(?2:\\*?\\)\\(?1:\\*\\) "
(1 (org-superstar--prettify-main-hbullet) prepend)
diff --git a/tests/issue-10.org b/tests/issue-10.org
new file mode 100644
index 0000000000..df0e8b7f3d
--- /dev/null
+++ b/tests/issue-10.org
@@ -0,0 +1,5 @@
+This is a MWE for the bug discussed in Issue #10.
+
+- A.
+ - B.
+ - B.
- [nongnu] elpa/org-superstar bb560c6f7b 143/162: Add new feature: Conditionally hide TODO bullets., (continued)
- [nongnu] elpa/org-superstar bb560c6f7b 143/162: Add new feature: Conditionally hide TODO bullets., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar dcb6c56d50 027/162: fixed spurious compose-region for empty regions (level 1 headers), Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 1741f6eed8 053/162: Fixed custom interface of special-todo-items, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d17d10c443 044/162: updated README, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar c6b8bd604f 023/162: marked update in roadmap, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar c0dacd8562 052/162: updated README to reflect new version, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d94e141c36 069/162: Added a REVIEW marker., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 8a6215a10f 084/162: Merge pull request #6 from progfolio/fix-org-superstar-restart-docstring, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 092de74fb9 099/162: Fixed typo in README., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar f75220cd2d 089/162: Downgrade version requirements, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 3fbfc0a47e 092/162: Merge pull request #11 from integral-dw/issue-10,
Stefan Kangas <=
- [nongnu] elpa/org-superstar a995899117 115/162: Merge branch 'master' of github.com:integral-dw/org-superstar-mode, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 4897c333a8 105/162: Version bump: Update documentation and README accordingly to reflect new feature., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 026c54f1bf 100/162: Version bump: Add new option allowing a more efficient (but sloppy) display of list items, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 15b9c32eae 112/162: Version Bump., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 4b4ddd7c39 122/162: Honor ‘org-inlinetask-show-first-star’., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 7657a777fb 129/162: Adding inlinetask demos., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 94f35c20f8 135/162: Final cleanup before tagging, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 979d2dd199 161/162: Merge pull request #34 from taquangtrung/master, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 715a9681d3 087/162: Removing inconsistent use of apostrophe from README., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar da5c2208e9 085/162: Adding MELPA Stable badge, Stefan Kangas, 2021/12/31