spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
practicalli-john 2021-06-27T18:30:22.021800Z

Sorry, I don't understand the question or what nested bullets are in Clojure, do you have a specific example?

rberger 2021-06-27T19:23:33.022Z

@jr0cket Lets say I wanted to have something like

#_(
* If foo room/token info does not yet exist for this event
   * Create the foo room for the event
     * `name`: Ether set it as a kebab-case version of the display-name or empty
       * If empty, foo will set a unique name
     * `privacy`: Optional "private" | "public" defaults to public
)
If I put that in a clj or cljs file, emacs will force all the bullet items to be at the same indention:
#_(
   * If foo room/token info does not yet exist for this event
   * Create the foo room for the event
   * `name`: Ether set it as a kebab-case version of the display-name or empty
   * If empty, foo will set a unique name
   * `privacy`: Optional "private" | "public" defaults to public
   )
It’s the same if I use `#_(comment ….) My emacs config is based on the practicalli spacemacs init.el though it possibly was modified at some point that might impact this. I haven’t done too many modifications though. I don’t really know how to track down what emacs feature / package might be doing this. Its not a super big deal, I ended up putting this kind of planning doc into its own markdown file. Though it would be nice to be able to make markdown blocks like that inline in the clojure files.

practicalli-john 2021-06-27T21:10:34.022200Z

As it's not Clojure, I would write this text as line comments using ;; A (comment ) block could be used to contain this text as line comments, interspersed with actual Clojure code on its own lines, if that aids with implementation.

rberger 2021-06-27T21:31:20.022400Z

Yeah, I hate that (Code blocks with each line requiring semi-colons) Have the added complication that I’m trying to document re-frame handlers which can’t use docstrings ;-(

rberger 2021-06-27T21:34:39.022600Z

Like I said, not a big deal, but this is an area where IMHO, clojure falls down a bit. There should be less friction to document things. (Note: I love clojure[script], this is a nit)