lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Aw: Re: Lilypond+Emacs


From: Amir Teymuri
Subject: Aw: Re: Lilypond+Emacs
Date: Fri, 20 Nov 2015 20:05:33 +0100

Hello,
 
i have now uninstalled lilypond and reinstalled it again from the package repository, there is no directories named usr/share/emacs/site-lisp/ in the lilypond directory in my ~/usr/share. I have put this in my init.el:
(setq load-path (append (list (expand-file-name "~/usr/share/emacs/site-lisp")) load-path))
(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))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
 
But if now i open an .ly file the text are colored, and i see a LilyPond at the top of minibuffer (as majormode), but there are no autocompletions (although there are auto-indentations), is this now the correct lilypond mode?
 
thanks
 
Gesendet: Freitag, 20. November 2015 um 17:14 Uhr
Von: "Simon Albrecht" <address@hidden>
An: "Amir Teymuri" <address@hidden>, address@hidden
Betreff: Re: Lilypond+Emacs
On 20.11.2015 16:40, Amir Teymuri wrote:
> Hello Lilypond communiy,
> i am new to lilypond, i am trying to set up the lilypond mode in
> emacs, till now unsuccessfuly!
> This is what i have tried so far:
>
> 1. downloaded the lilypond extecutable sh file from the homepage and
> installed it by doing this command:
> sh lilypond-2.18.2-1.linux.x86.sh
>
> in the directory i downloaded the sh file. But in my
> /usr/local/lilypond/ there is only a usr directory and nothing more
> (no el files or such)

The .el files should be in lilypond/usr/share/emacs/site-lisp/.

HTH, Simon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]