I was really, really hoping this was about enabling emacs to be scripted via siri shortcuts. (Though this is super useful, too).
Honestly, just being able to set emacs full/split screen via a siri shortcut (and hence, any Shortcut script) would be unbelievably useful for automating pieces of my workflow.
I’ve been learning by doing advent of code this year. The ramp up of problem difficulty is nice for general lisp learning, and as I get more comfortable I’ve been stretching out more and more into the emacs specific parts like working with buffers and text properties. Kind of like learning JavaScript first and then getting into the DOM and other browser specific APIs. My main resource has been the emacs lisp manual that ships with emacs.
The official documentation[1] is quite good. An Introduction to Programming in Emacs Lisp[2] is just what it sounds like. It will get you familiar with writing Elisp, using the debugger, and some other basics. At that point, you should be able to navigate the Elisp Reference Manual without too much trouble.
Once you have that foundation, you shouldn't have much trouble scratching whatever itches that arise. The community is thriving so often a web search will return a blog or video explaining how to do exactly what you want. And once you're familiar with it, Elisp is a fairly readable language, so you can learn a lot from looking at the source for other packages to get ideas.
Edit: Sibling comment for Advent of Code is also a solid idea. Arguably Emacs's greatest strength is that it's a fantastic Elisp development environment.
kwooding|4 years ago
Honestly, just being able to set emacs full/split screen via a siri shortcut (and hence, any Shortcut script) would be unbelievably useful for automating pieces of my workflow.
tra3|4 years ago
/opt/homebrew/bin/emacsclient -e '(toggle-frame-maximized)'
ghotli|4 years ago
https://github.com/koekeishiya/yabai
tra3|4 years ago
I've tinkered with my own customizations of course, but can someone recommend a good methodical approach for learning elisp and emacs internals?
pjm331|4 years ago
User23|4 years ago
Once you have that foundation, you shouldn't have much trouble scratching whatever itches that arise. The community is thriving so often a web search will return a blog or video explaining how to do exactly what you want. And once you're familiar with it, Elisp is a fairly readable language, so you can learn a lot from looking at the source for other packages to get ideas.
Edit: Sibling comment for Advent of Code is also a solid idea. Arguably Emacs's greatest strength is that it's a fantastic Elisp development environment.
[1] https://www.gnu.org/software/emacs/manual/
[2] https://www.gnu.org/software/emacs/manual/eintr.html
barbierosey|4 years ago