clerk

teodorlu 2025-06-20T14:04:41.130589Z

Have any of you bothered to create tooling that helps in "remembering" keywords such as ::clerk/auto-expand-results?? I find that I never remember all of them, and have to refer to check the book most times I need them.

teodorlu 2025-06-20T14:05:44.199179Z

Perhaps something like this could do the trick for Emacs users:

(defun clerk-ohoi ()
  (interactive)
  (insert
   (completing-read
    "Pick your poison > "
    '("::clerk/auto-expand-results?"
      "::clerk/visibility"))))
… though • it only guesses at the ::clerk alias • and the list of "valid things to complete" must be maintained by hand.

borkdude 2025-06-20T14:09:59.398859Z

I don't remember keywords that end with ? because I don't like them :P

😄 2
borkdude 2025-06-20T14:10:34.624769Z

but auto-complete probably works in clojure-lsp or CIDER?

teodorlu 2025-06-20T14:21:05.759769Z

You are absolutely correct, autocomplete works! I think I had some problems with autocompleting keywords a while ago, but it all works now. Thanks again, you're solving all my problems today 🙇

1
😆 1
peterh 2025-06-20T23:31:23.805349Z

Autocompletion could actually be another good reason to namespace keywords that I never thought about!

🎉 1