From 4ed8572a77cba6fac2c6f9db4882a35b0588074f Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Mon, 27 Dec 2021 10:13:21 -0800 Subject: [PATCH] Magic incantation to get org-superstar working Seems that since this package has both an `org-superstar` and a `org-superstar-mode`, the standard `:hook` picks up the wrong one. --- ha-org-word-processor.org | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ha-org-word-processor.org b/ha-org-word-processor.org index 835e5f4..8476a71 100644 --- a/ha-org-word-processor.org +++ b/ha-org-word-processor.org @@ -62,7 +62,9 @@ Now that headers are noticeable, I have no reason to see a number of asterisks. #+BEGIN_SRC emacs-lisp (use-package org-superstar + :after org :straight (:type git :protocol ssh :host github :repo "integral-dw/org-superstar-mode") + :hook (org-mode . org-superstar-mode) :init (setq org-superstar-headline-bullets-list '("▶") org-superstar-special-todo-items nil @@ -70,10 +72,21 @@ Now that headers are noticeable, I have no reason to see a number of asterisks. org-superstar-prettify-item-bullets t org-superstar-item-bullet-alist '((42 . "⊙") ; * (43 . "⁍") ; + - (45 . "•"))) - :hook org-mode) + (45 . "•")))) #+END_SRC +If this works, then we get the prettier bulleted list: + + * Top bullets + * Plus bullets: + + Apples + + Oranges + + Bananas + * Minus bullets: + - Dogs + - Cats + - Birds + Oh, and as I indent lists, they should change the /bulleting/ in a particular sequence. If I begin with an =*= asterisk, I walk down the chain, but with the dashed bullets (my default choice), I just stay with dashed bullets. Numeric bullets should cycle: #+BEGIN_SRC emacs-lisp