branch: elpa/org-superstar commit 9551ab129d748081b63db59156a5dfdccd544bdf Merge: 0d18d5ab99 10735de9e9 Author: D. Williams <d.willi...@posteo.net> Commit: D. Williams <d.willi...@posteo.net>
Merging updates from master branch. --- README.org | 18 ++++++++++++++---- org-superstar.el | 7 ++++--- tests/issue-10.org | 5 +++++ 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/README.org b/README.org index f35af9c178..9260887e76 100644 --- a/README.org +++ b/README.org @@ -197,10 +197,15 @@ used, allowing the user to inherit the level-dependent default look. * NEWS -** =2020-03-08= - The package is now available on MELPA! My sincerest thanks to all - the people on GitHub and the Org mailing list that helped me along! - I would not have managed without you! :) +** =2020-04-01= + A minor status update. [[https://melpa.org/#/org-superstar][We cracked the 500 downloads mark on MELPA!]] + Unbelievable! Thank you all for your support! Should we reach the + 1-2000 downloads mark by the end of the year, I will consider + contacting major Emacs releases shipping with org-bullets, such as + Spacemacs or Doom. + + In other news, version =1.0.3= is now available, featuring a few + minor fixes. * Announcement Log ** =2020-02-02= @@ -243,4 +248,9 @@ used, allowing the user to inherit the level-dependent default look. * Even then, a backwards incompatible change will result it a major version number change. +** =2020-03-08= + The package is now available on MELPA! My sincerest thanks to all + the people on GitHub and the Org mailing list that helped me along! + I would not have managed without you! :) + # LocalWords: Org's MELPA ELPA Worg fontification TODO README UTF diff --git a/org-superstar.el b/org-superstar.el index b52505c947..935249605b 100644 --- a/org-superstar.el +++ b/org-superstar.el @@ -581,11 +581,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.