Mon, 1 Mar 2004 00:46:18 +0100, Han-Wen a dit : 

 > [EMAIL PROTECTED] writes:
 >> since I'd like to become a "brilliant LilyPond hacker", and I currently
 >> want to do some more ore less evil scheme hacking, I wonder wether
 >> there's an easy way to debug scheme code or to get something like an
 >> interactive scheme interpreter with LilyPond's extensions allready loaded.
 >> Starting with .ly files isn't very convenient.

 > try #(top-repl)

that's cute :-)

there is a place for an emacs command that would launch that, with I/Os in a
buffer with ilisp-mode or so, which would enable symbol completion...

-----
toto=\notes { c'' }
#(top-repl)
-----

nicolas:/tmp> lilypond toto.ly 
lilypond (GNU LilyPond) 2.1.28
Exécution de usr...
Maintenant en traitement: « toto.ly »
Analyse...
guile> (define-module (*anonymous-ly-1*))
guile> toto
#<Music SequentialMusic>
guile> (use-modules (lilypond music-expressions))
guile> (mus:display toto)
<SequentialMusic
  :elements (
             <EventChord
               :elements (
                          <NoteEvent
                            :duration #<Duration 4 >
                            :pitch #<Pitch c'' > >) >) >
guile> (quit)

Thanks for that precious tip, Han-Wen.

nicolas



_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to