[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-superstar d9accdcad7 002/162: Added README
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/org-superstar d9accdcad7 002/162: Added README |
Date: |
Fri, 31 Dec 2021 19:35:17 -0500 (EST) |
branch: elpa/org-superstar
commit d9accdcad7f878e0b0a8cd7fd645a230b94aff01
Author: D. Williams <d.williams@posteo.net>
Commit: D. Williams <d.williams@posteo.net>
Added README
---
README.org | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 122 insertions(+)
diff --git a/README.org b/README.org
new file mode 100644
index 0000000000..f24315222f
--- /dev/null
+++ b/README.org
@@ -0,0 +1,122 @@
+#+TITLE: org-superstar-mode
+
+* WARNING
+ This package is under construction. I am still working out the kinks.
+ Any function and variable defined here *is subject to change* until
+ version 1.0.0, from which point on I will try my best not to
+ inconvenience people.
+
+* TODO About
+ Prettify headings and plain lists in org-mode. This package is a
+ direct descendant of ‘org-bullets’, with most of the code base
+ completely rewritten. Currently, this package supports (see footnotes
+ for a quick rundown of how superstar is different from bullets):
+
+ * Prettifying Org header lines by:
+ + replacing trailing bullets by UTF-8 bullets^{[fn:a][fn:c]}
+ + hiding leading stars^{[fn:b]} or customizing their look^{(new!)}
+ + applying a custom face to the header bullet^{[fn:d]}
+ + applying a custom face to the leading bullets^{(new!)}
+ * Prettifying Orb plain list bullets^{(new!)} by:
+ + replacing each bullet type (‘~*~’, ‘~+~’ and ‘~-~’) with UTF-8
bullets^{[fn:c]}
+ + [ ] applying a custom face to item bullets
+
+* Installation
+
+ Once ready, this package will likely be available using =package.el=.
+
+ A manual installation is as simple as plugging =org-superstar.el= into
+ your load path and adding the following to your =.emacs=:
+#+BEGIN_SRC elisp
+(require 'org-superstar)
+(add-hook 'org-mode-hook (lambda () (org-superstar-mode 1)))
+#+END_SRC
+
+* Customization
+ A variety of customization features has been added to allow further
+ tweaking. Suggestions are always welcome!
+
+ *NOTE:* Many of the variables listed below require you to restart
+ ~org-superstar-mode~ to take effect. See the see the corresponding
+ variable's documentation.
+
+** "Can you make it more like =org-bullets=?"
+ Naturally! In fact, I made the answer to this it's own function:
+
+*** ~org-sstar-configure-like-org-bullets~
+ This function configures ~superstar-mode~ to be as similar to
+ =org-bullets= as possible. Since this function automatically sets
+ various custom variables, it should only be called *once* per
+ session, before any other (manual) customization of this package.
+
+ ~org-sstar-configure-like-org-bullets~ is only meant as a small
+ convenience for people who just want minor depatures from
+ ~org-bullets-mode~. For a more fine-grained customization, it’s
+ better to just set the variables you want.
+
+** Custom UTF8-Bullets for heading lines
+ Here's how you change which bullets are used for which level.
+
+*** ~org-sstar-headline-bullets-list~
+ Those of you familiar with =org-bullets= will be recognize this
+ list: It's a list of single-character strings where the /Nth/ entry
+ is used to determine the bullet used for heading level /N/. By
+ default, this list is cycled through for /N/ greater than the length
+ of the list.
+
+*** ~org-sstar-cycle-headline-bullets~
+ This variable gives you more control over how ~superstar-mode~ picks
+ headline bullets. The default, ~t~, cycles through the list as
+ explained above. Other values are:
+
+ * ~nil~ :: Go through the list, then repeat the last entry
+ indefinitely.
+ * any integer /k/ :: Cycle through the first /k/ elements of the list.
+
+*** ~org-sstar-leading-bullet~
+ Maybe you actually /like/ that org's heading lines are connected to
+ the left margin, but you find a line of stars too visually busy?
+ Enter ~org-sstar-leading-bullet~. Provide a character of your
+ choice to be displayed instead. Strings are superimposed
+ according to the rules of ~compose-region~. =org-superstar= ships
+ with a subtle
[[https://en.wikipedia.org/wiki/Leader_(typography)][leader]] as the default.
+
+*** Hide leading stars and ~org-sstar-prettify-leading-stars~
+ Since ~org-mode~ already takes care of hiding leading stars by
+ providing the dedicated variable ~org-hide-leading-stars~ and it's
+ associated face ~org-hide~, there is no extra option for /hiding/
+ leading stars. However, you can stop ~superstar-mode~ from
+ prettifying them by setting ~org-sstar-prettify-leading-stars~ to
+ ~nil~.
+
+** Custom UTF8-Bullets for plain lists
+ Why stop at heading lines? Customize the look of your list bullets
+ to make plain lists a little less so.
+
+*** ~org-sstar-item-bullet-alist~
+ Since the concept of "levels" does not really apply to lists, this
+ association list simply assigns a UTF-8 character to each of the
+ three possible bullet characters for plain org lists.
+
+*** ~org-sstar-prettify-item-bullets~
+ Exactly as it says on the tin. Set this variable to ~nil~ to stop
+ ~org-superstar-mode~ from prettifying lists.
+
+** Custom faces
+
+
+* Footnotes
+
+[fn:a] These features are mostly the same as in ~org-bullets-mode~.
+[fn:b] Plain hiding is now left to org-mode and the associated
+variable ~org-hide-leading-stars~ as well as ~org-hide~, as suggested
+by [[https://github.com/Kaligule][Kaligule]].
+[fn:c] ~org-superstar-mode~ tries to prettify in a context-sensitive
+fashion: It strives to only recognize heading lines which are really
+*meant* to be heading lines. Your ~SRC~ blocks are safe!
+[fn:d] Instead of providing the symbol of an existing face in a
+variable to replace org's usual title face(s) for the UTF-8 character,
+superstar merges a custom face with the face that would have been
+used, allowing the user to inherit the level-dependent default look.
+
+# LocalWords: org's
- [nongnu] elpa/org-superstar ca448ebd7c 065/162: Added a temporary file slomode.el, (continued)
- [nongnu] elpa/org-superstar ca448ebd7c 065/162: Added a temporary file slomode.el, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 98bba637cd 078/162: removing old bullet point, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 22a44f14ee 026/162: overhauled testing module composure-test.el, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 589b136106 064/162: updating homepage., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar a0d2cfaae1 076/162: "org-mode" -> "Org mode", Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 4500a774bb 068/162: Added an FAQ., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar a078ca392a 079/162: Remove unnecessary lighter for Org Superstar., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 369292856e 042/162: reduced minimal-setup, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 3818dff655 006/162: Completed first draft of README., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 3bbb8e551c 011/162: updating gitignore to correctly handle temp files, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d9accdcad7 002/162: Added README,
Stefan Kangas <=
- [nongnu] elpa/org-superstar 02497248a9 007/162: Adding first revision of org-superstar.el, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d45e1eb060 004/162: Added further fix: forgot that ‘’-support was a custom modification., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 3f29ff9cba 010/162: added disclaimer, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 8fd1d05c6c 013/162: Added wrapper around org-list-in-valid-context-p for refinement purposes, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 54811604be 012/162: adding new sample image, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 070360a2d2 009/162: Formatting changes to adhere more closely to coding conventions., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 6143af17ed 015/162: updating .gitignore to skip .dir-locals.el, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar b72da86641 014/162: added image to README, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 59391390df 056/162: Added support for making leading stars invisible., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 7e2ca95932 033/162: added new, more modular sample inputs for incoming unit testing, Stefan Kangas, 2021/12/31