Re: Emacs: lilypond-ts-mode and the future of lilypond-mode

Werner LEMBERG <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.devel
Message-ID <[email protected]>
>> I believe that quite a few LilyPond devs are Emacs users. If you
>> haven't yet, I highly encourage you to give lilypond-ts-mode a try.
>> I think you'll be pleased — or if not, please let me know why!
> 
> I most certainly will, as soon as I have some time to set it up.

OK, so I give this thing a try.

* Running a freshly compiled Emacs from today's git.

* Commenting out all LilyPond mode stuff from the `.emacs` file.

* Installing 'geiser' and 'geiser-guile' as requested (using `M-x
  package-install`).

* Cloning the 'lilypond-ts-mode' as requested (i.e., I'm using the git
  version of today), also adding

    (add-to-list 'load-path "... path to 'lilypond-ts-mode' repo ...")
    (require 'lilypond-ts-mode)

  to my `.emacs` file.

* Setting

    '(geiser-guile-binary "/usr/local/opt/bin/guile")

  to find my guile binary, which is in a non-standard location.
  Executing `M-x geiser-guile` brings me a guile prompt, so it seems
  to work.  Executing `M-x geiser`, then selecting 'lilypond-guile',
  though, responds with 'No prompt found!', but this is probably
  expected, I guess.

Alas, if I now try to load an arbitrary `.ly` file, I get the error

  File mode specification error:
    (file-missing "Opening directory"
                  "Datei oder Verzeichnis nicht gefunden"
                  "/opt/bin")

Directory `/opt/bin` doesn't exist on my openSUSE GNU/Linux box, and I
have no idea where this comes from and what this is referring to...

Please advise.


    Werner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.