Hi Parviz, The issue is not WIndows specific. You need to add a line similar to this in your emacs init file to get the compile to work:
;; lilypond (setq LilyPond-lilypond-command "lilypond -I ~/lib/lilypond -I~/lib/openlilylib/snippets") I also add the following: (autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode)) (add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode)) But as said, you will run into issues with narrowing, and nested tuplets smash the formatting badly. As mentioned, search the archives of this list. There is quite a lot of discussion about this topic. I'd love to fix the issues, but my elisp-fu is not powerful enough I'm afraid. Andrew On Mon, 27 Jul 2020 at 00:55, Parviz Farnia <mydiscussionfor...@gmail.com> wrote: > > Hello, > > I would like to ask a question about using Lilypond with Emacs. According to > the online documentation it is possible to use Lilypond with Emacs: >