Emacs package quickstart with Eldev (my notes) #78
Replies: 1 comment 2 replies
-
I guess most documentation should be moved out of About |
Beta Was this translation helpful? Give feedback.
-
I guess most documentation should be moved out of About |
Beta Was this translation helpful? Give feedback.
-
I've written a couple of packages in the past (run-command and director) and I'm looking at adopting Eldev to cut down on maintenance work and possibly enforce structure and good practices.
The project's README is very thorough; the flip side is that the basic use flow is not immediately apparent. I tried reconstructing it some weeks ago, didn't get far, and put it on hold. I picked it up again today, and this time I wrote notes, mostly to help myself next time. They're at https://massimilianomirra.com/notes/emacs-package-quickstart-with-eldev. I might expand them as I encounter other typical tasks (e.g. linting, publishing).
A couple of observations:
Would it make sense to modify the README so that it's a little less reference-like and a little more guide-like, at least in its first part? I'm happy to contribute my notes if they seem like a suitable starting point.
In the JavaScript world, there are many
create-xyz-app
CLI tools which take a project name as argument, and create a project directory, structure, example content (e.g. a main application page, components, tests), initialize the git repo, and install dependencies. They're great at getting people started immediately on application code, while still keeping them within the boundaries of best practices. @doublep do you think that aneldev create
command that does the above could be useful?Beta Was this translation helpful? Give feedback.
All reactions