Re: Aw: Re: Lilypond+Emacs

2015-11-20 Thread Simon Albrecht

Hello Amir,

I’m not familiar with Emacs at all. Please always ‘reply all’, 
especially include the list.

Sorry to be no further help here.

Yours, Simon

On 20.11.2015 19:26, Amir Teymuri wrote:

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" 
*An:* "Amir Teymuri" , lilypond-user@gnu.org
*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



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Aw: Re: Lilypond+Emacs

2015-11-20 Thread Amir Teymuri

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" 
An: "Amir Teymuri" , lilypond-user@gnu.org
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




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user