smaller_infinity · 2022-02-22 16:30
I have an idea for something I want to build for emacs, but I'm having some trouble getting started. I have experience with common lisp so I'm not too worried about the actual coding part of this (though the whole dynamic scope of it all sounds interesting) mainly what I'm missing is a guide to things like dependency management, package organization, basic things like that. If anyone here could help me out with these issues I would really appreciate it.
xenodium · 2022-02-22 17:05
https://github.com/melpa/melpa/blob/master/README.md
https://github.com/abo-abo/elisp-guide
https://github.com/alphapapa/emacs-package-dev-handbook
https://xenodium.com/emacs-lisp-bookmarks (random elisp bookmarks I accumulated)
https://xenodium.com/modern-elisp-libraries (post I wrote)
radicalzephyr · 2022-02-22 17:08
Have you read the elisp reference manual [section on packaging](https://www.gnu.org/software/emacs/manual/html_node/elisp/Packaging.html)?
Also, you can (and probably should) [turn on lexical binding](https://www.gnu.org/software/emacs/manual/html_node/elisp/Using-Lexical-Binding.html) on a per file basis. Dynamic binding is useful but 99% of the time you don’t want it and you can still get dynamic binding with `defvar`, `defcustom`, and `defconst`.
codethrasher · 2022-02-23 08:51
How is xenodium.com set up? What I mean is, you’re uploading your org files how? And to what?
xenodium · 2022-02-23 09:15
All posts are written to a giant org file.
https://github.com/xenodium/xenodium.github.io/blob/master/index.org
This wasn’t by design but more accidental. The file started as my notes, and eventually exported it to html as a single page (using built-in export). That page grew too large over time, so I wrote some custom code to split into multiple html pages served by GitHub pages:
https://github.com/xenodium/xenodium.github.io
The custom code I wrote isn’t particularly elegant, pretty, nor reusable but does the job for me.
In short, it’s a frankenstenian hack of sorts I’ll likely regret at some point, but at the moment fairly maintenance-free. If I haven’t succeeded in dissuading a peek, the code is [here](https://github.com/xenodium/dotsies/blob/main/emacs/ar/ar-org-split-export.el).
Edit: links