I'm using emacs as a bog-standard program in Windows, and also from the command line in cygwin.
They both use the same installation of emacs.
I just grabbed yaml-mode.el
off the net but I can't get it to load at start-up. Where should I put it?
Initially I thought I'd put it in the emacs installation directory emacs/site-lisp/
but then I noticed there's also an emacs/25.3/site-list/
.
Neither of those works for emacs from the cygwin command line. It complains at startup due to the lisp in my .emacs
.
I also put it in ~/.emacs.d
but that didn't work either.
Ideally I would like to have it one place so that it works in Windows and cygwin, and is in a directory on my Microsoft One Drive (because that's the only place on my workstation which gets backed up).
I can make pointers to wherever I need to, which work for the .emacs
file.