dotfiles
clojure-small-pieces
dotfiles | clojure-small-pieces | |
---|---|---|
4 | 1 | |
50 | 10 | |
- | - | |
8.4 | 0.0 | |
16 days ago | over 7 years ago | |
Emacs Lisp | TeX | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
Bad Emacs Defaults
Heh, I recently did a "clean sweep" of my .emacs files (inspired by the new support for `$XDG_CONFIG_HOME/config/emacs/init.el` in 27.1) and something like 90% of it was workarounds (some dating back to the late 1990s, for example a "vertical-motion-fix" for something that was fixed in emacs 19.29)
I definitely recommend doing some form of "dotfile bankruptcy" every 20 years or so :-)
(I also ended up doing a crude "load-file-literate" so that now most of my elisp is actually markdown, inspired by https://github.com/skx/dotfiles )
-
Bikeshedding Friday: How do you organize your init file?
I keep meaning to explore using org-mode for this. At the moment I have a trivial init.el which loads a literate markdown file init.md.
-
Noweb – A Simple, Extensible Tool for Literate Programming
I keep meaning to experiment with bable/tangle in Emacs.
I setup a simple literate configuration of my init file via markdown, which worked out really well, but doing it "properly" in org-mode would be a nice evolution.
With markdown I just search for code-blocks, write them all sequentially to a temporary buffer and evaluate once done. So it is very simplistic, but also being able to write and group things is useful:
https://github.com/skx/dotfiles/blob/master/.emacs.d/init.md
-
What parts of your config do you like best?
~/.emacs.d/init.el the helper, which loads/executes it.
clojure-small-pieces
-
Noweb – A Simple, Extensible Tool for Literate Programming
I've been writing literate programs for years
Here is a video showing a literate form of Clojure:
https://www.youtube.com/watch?v=mDlzE9yy1mk
The literate program creates a new PDF and a working version of Clojure, including running a test suite. If you change the literate code and type 'make' it re-makes the PDF with the new changes and rebuilds/retests Clojure.
and here is the source:
https://github.com/robleyhall/clojure-small-pieces
What are some alternatives?
fw-utf8 - Modern fork of FunnelWeb (original written by Ross Williams)
Literate - A literate programming tool for any language
spiralweb - Literate programming system with a Pandoc-extended Markdown backend.
dotemacs - My emacs configuration.
ob-restclient.el - An org-mode extension to restclient.el
portia - ultimate literate programing preprocessor
straight.el - 🍀 Next-generation, purely functional package manager for the Emacs hacker.
ntangle.vim - Literate programming in VIM
verso - A new approach to literate programming.
knot - A literate programming tool that uses Markdown.