Thanks, David - worked beautifully! Saved me a lot of time and aggravation. I had tried searching the docs, but found only Linux instructions. I also tried searching the list archives and found only a thread I could not understand.
Browse to the folder "C:\Documents and Settings\User\Application
Data\.emacs.d" or, if ".emacs.d" isn't already present, then create a
new directory with that name in "Application Data" Make sure you change
"User" in the path to whatever your actual user account's name is.
In the ".emacs.d" directory, open (or create) a file called "init.el"
Make sure that in the section starting "(expand-file-name "C:/..."
points to the "site-lisp" folder in you LilyPond installation. Save the
file and try opening a *.ly file in Emacs.
BTW, I'm not a programmer and I have no experience with lisp. I adapted
this from some instructions I found online (possibly the "Usage"
section of the LilyPond docs) and extrapolated from what I knew about
the .emacs.d file in my UbuntuStudio installation, which came with
LilyPond pre-installed and had Emacs working with lilypond-mode out of
I hope this works for you.
On 06/09/2010 03:49 PM, Ralph Palmer wrote:
I've been forced (temporarily, I hope) onto a WinXP Pro laptop. I've
successfully downloaded LilyPond 220.127.116.11 and Emacs 22.3. I cannot
figure out how to get Emacs to recognize (much less accept as default
for .ly files) lilypond-mode. If anyone out there has successfully
gotten Emacs to work with lilypond-mode on WinXP and can explain the
process to me, I would be grateful.