I agree with Adam that the code is... etwas messy ATM. Taking a moment to reindent everything and perhaps add a .dir-locals.el file that enforces a consistent code style would be of long-term use. > - Org-weblog (that I may rename org-blog): > https://gitlab.com/7dnz/org-weblog. Version 0. > Written in literate programming, yet by a lisp beginner > in that time. > The documentation goes along with the program itself and > they get both published as a static site. > Demo here: https://7d.nz/Blogging-with-org.html > The code is quite long. This paragraph gives the overall idea: > https://7d.nz/Blogging-with-org.html#Introduction. > Has a lot of space for improvements, options and customization, > but only a few for a v1. Hmm, I don't know if we have any literate programs on ELPA yet. If you prefer that style of development, that is fair, but what I would suggest would be to add a Makefile and extract the elisp at "compile-time", or in the case of ELPA when the tarball is being built. Evaluating the expression in org-weblog.el gives me an error Debugger entered--Lisp error: (void-function org-weblog-auto-export-mode) so I don't think that is ready yet. Nevertheless, skimming through the .org file (which most certainly should /not/ be the README btw) the code could also use some cleaning up, at least if the intention is to publish it as a generic package. The functions don't seem to adhere to a specific conventional namespace, Occur on "defun" gives me: --8<---------------cut here---------------start------------->8--- 319: (defun org-up-heading (level) 327: (defun heading-components-at-level (level) 366: (defun split-datetime+title (str) 375: (defun timestamp-and-title (str) 387: (defun org-html-title-only (str) 462: (defun replace-chars-in-string (set-1 with-set-2 str) 476: (defun replace-chars (set-1 char-2 str) 514: (defun sluggify (str) 540: (defun sluggif1 (str) 588: (defun append-next-numeral (string-list item) 623: (defun exporting-article-p (info) (plist-get info :export-article)) 625: (defun org-blog-headline (headline contents info) 761: (defun src-code-block (src-block contents info) 792: (defun blog-html-statistics-cookie (statistics-cookie _contents _info) 833: (defun org-blog--build-meta-info (info) 921: (defun org-blog-inner-template (contents info) 939: (defun org-blog-template (contents info) 1110: (defun org-blog--build-pre/postamble (type info) --8<---------------cut here---------------end--------------->8--- I have my doubts as to how much sense it would make to try and convert this personal code into a proper package, instead of starting over again :/ > Questions and Criticism are welcome, > along enthusiasm and motivation. > > Cheers, > > Phil > > -- Philip Kaludercic on siskin