Ralph,

If you haven't already tried it, have a look at this short, sweet walkthrough for setting up lilypond-mode for emacs:

http://www.geoffhorton.com/lilymacs.html

I did this under Windows XP and (with some figuring and a little luck) got it working on both my XP machines. I assume that under Ubuntu, the only thing different would be the file paths that would need to be corrected (I trust if I'm wildly off-base, one of the command-line ninjas on this list will enlighten us ;-) ).

When I installed Emacs 22 (GTK flavor) from the Ubuntu repos on my Hardy installation, I literally had only to save a file with the .ly extension (or open one previously saved that way) in order to call up lilypond-mode. Emacs knew where to find the lilypond-mode file in my LilyPond directory.

Let me know if you run into difficulty and I'll try to dig deeper and see how my system is set up.

Good Luck,

Dave

Ralph Palmer wrote:
When I try either M-x lilypond-mode or M-x lilypond, emacs replies that it can't find the mode.

Ralph

On Wed, Feb 25, 2009 at 8:54 PM, David Stocker <dstoc...@thenotesetter.com <mailto:dstoc...@thenotesetter.com>> wrote:

    Forgot to mention, the Emacs I installed from the repos was the
    GTK flavor of Emacs 22. Not sure whether it makes a difference.

    As far as Emacs vs. gEdit or something else, Emacs is a little
    more 'programmerish', with keystrokes that take some getting used
    to (c-x c-s instead of ctr-s for save, etc.), but it's nicer on
    the eyes than gEdit and the liypond-mode syntax highlighting and
    auto indentation is nice to have.

    Dave


    David Stocker wrote:

        Hi Ralph,

        The lilypond-mode worked 'out of the box' for me when after
        opening a .ly file with emacs or saving whatever file I was
        working on with a .ly extension. At least this was true on
        Ubuntu 8.04 and Emacs 22 from the Ubuntu repositories. Did you
        install Emacs from the repositories? If you do, I think it
        sets all the correct paths by default.

        Ralph Palmer wrote:

            Hi -

            I'm an intermediate lilyponder and a novice penguinista. I
            have Ubuntu 8.10 (Intrepid Ibex) mounted on an older
            laptop. I successfully removed the LilyPond version that
            came with the Ubuntu package, and installed 2.12 (although
            I thought the documentation would come with the
            installation package, and it doesn't seem to be anywhere
            on the machine). Prior to this, I'd been working on an XP
            machine and using ConText to edit my .ly files; I liked
            it, but it's not available for Linux (yet). I've had some
            experience with Emacs, and I'd like to use it for
            LilyPond. I know there's a lilypond-mode for Emacs, but I
            can't figure out how to locate, configure, download, or
            use it. Is there a more experienced user out there who
            might be able to walk me through it, or at least steer me
            in the right direction? Or should I cop out and use gEdit?

            Thanks in advance for any help,

            Ralph

-- Ralph Palmer
            Montague City, MA
            USA
            palmer.r.vio...@gmail.com
            <mailto:palmer.r.vio...@gmail.com>
            <mailto:palmer.r.vio...@gmail.com
            <mailto:palmer.r.vio...@gmail.com>>
            
------------------------------------------------------------------------

            _______________________________________________
            lilypond-user mailing list
            lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
            http://lists.gnu.org/mailman/listinfo/lilypond-user


        _______________________________________________
        lilypond-user mailing list
        lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
        http://lists.gnu.org/mailman/listinfo/lilypond-user





--
Ralph Palmer
Montague City, MA
USA
palmer.r.vio...@gmail.com <mailto:palmer.r.vio...@gmail.com>


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to