libera/#emacs-lisp - IRC Chatlog
Search
2:49:04
anarcat
i've been trying to find an article about writing a major mode, and i just can't find it anymore
2:49:14
anarcat
i'm looking for a guide on how to take the output of a command and turn that into a major mode
2:50:06
anarcat
it *feels* simple, but i'm missing some crucial hacks... i think i know how i can fontify the buffer, and i can probably figure out how to make a keybinding refresh it (but not sure how to "pre" generate the buffers' content on start)
2:50:31
anarcat
the biggest thing i'm missing, i think, is how to make "buttons" that would ... uh... do things (which i'm not sure yet what they would do, but that's another story)
2:50:55
anarcat
(i think i'd mostly like to drop into magit in the given directory, but i think i could also add pull/push or shortcuts like this)
2:52:03
anarcat
all guides i'm finding are basically "how to add support for language foo in emacs" and talk about the syntax table, and this is not what i'm looking for here (i'm not looking at editing .mrconfig files, i want to interact on the myrepos output and call myrepos commands)