[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help using my own scm modules
From: |
Nicolas Sceaux |
Subject: |
Re: help using my own scm modules |
Date: |
Fri, 27 Jan 2006 18:49:52 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
Arun Kumar <address@hidden> writes:
> Hi,
>
> I have quite a bit customizations done with scheme code that are directly in
> the .ly files. I would like to move almost all of it to a .scm file that is a
> new module. I have tried doing this by putting the scm file in a separate
> directory and set GUILE_LOAD_PATH env variable.
>
> But the trouble is my customizations include my own markup commands (def-
> markup-command) and so initially i got the error that "def-markup-command" is
> unbound. I added a (use-modules (scm markup)) in my .scm file, and it looks
> like guile found markup.scm but now it complains "Unbound variable:
> Text_interface::interpret_markup". I cannot find a definition for it in scm
> and I presume this is actually in C/C++ code?
>
> What am i doing wrong? How can i accomplish making my lilypond customizations
> as a scheme module or is this not possible?
you should (use-modules (lily))
nicolas