Quick
index
main
eev
eepitch
maths
angg
blogme
dednat6
littlelangs
PURO
(C2,C3,C4,
 λ,ES,
 GA,MD,
 Caepro,
 textos,
 Chapa 1)

emacs
lua
(la)tex
maxima
 qdraw
git
lean4
agda
forth
squeak
icon
tcl
tikz
fvwm
debian
irc
contact

Blogme3: support for "sandwiches"

The HTML files in angg are generated by Blogme3, and Blogme3 htmlizes elisp hyperlinks like this:

(find-maximanode "makelist")

It does that by splitting each sexp hyperlink into alternating layers of "bread" - the boring parts - and "fillings" - the interesting parts. For example, in the sexp above, the layers are:

(find-maximanode "makelist")
-                            :bread
 ---------------             :filling:1: help
                --           :bread
                  --------   :filling:2m: node
                          -- :bread

The code that handles sandwiches is mainly in these two files,

(find-blogme3 "sandwiches.lua")
(find-blogme3 "sandwiches-defs.lua")

and the best thing is that nowadays they are quite easy to debug. In my Emacs `M-h b' is bound to this function,

(find-angg ".emacs.templates" "find-sandwichsexp-links")

and if I type `M-h b' after the the sexp with `find-maximanode' above I get a temporary buffer with an eepitch block, and if I run that eepitch block I get the stuff at the right in the screenshot below: