lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: Emacs mode


From: Christophe Richard
Subject: Re: Emacs mode
Date: Thu, 18 Jan 2007 15:25:31 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061117)

Merci à tous pour vos réponses.

J'ai finalement réussi à l'installer en  :

- copiant le fichier "lilypond-init.el" situé dans le dossier "usr/local/lilypond/usr/local/lilypond/usr/share/emacs/site-lisp/" vers le dossier "/etc/emacs/site-start.d" et en le renommant dans mon cas en "50lilypond-init.el"

- et en ajoutant la ligne suivante à mon .emacs

@@(setq load-path (append (list (expand-file-name "/usr/local/lilypond/usr/share/emacs/site-lisp/")) load-path))@@

Ce ne doit pas être la méthode la plus simple mais cela fonctionne et je n'y touche plus ;-)

Christophe.





Jean-Jacques Rétorré a écrit :
Denis Bitouzé a écrit :
Le Thu, 18 Jan 2007 11:51:39 +0100
Christophe Richard <address@hidden> a écrit :

Si quelqu'un à une idée.

Je n'ai que ça au sujet de Llypond, dans mon .emacs :

;; Lilypond mode
(load "lilypond-init.el" t t)

Chez moi, ça ne marche pas si je ne précise pas load-path
(setq load-path (cons (expand-file-name "~/.elisp") load-path))
C'est évidemment à adapter.
address@hidden:~$ ls ~/.elisp
gnus                   lilypond-init.el       pi-tempo-abbrev-asy.el
lily-emacs.el          lilypond-mode.el       pi-tempo-abbrev.el
lily-emacs.el.tar.gz   lilypond-what-beat.el  pi-tempo-abbrev-latex.el
lilypond-font-lock.el  lilypond-words.el      pi-tempo-abbrev-lisp.el
lilypond-indent.el     lyqi

J'ai en plus le mode lyqi (génial !)

(setq load-path (cons (expand-file-name "~/.elisp/lyqi") load-path))

;; when loading LilyPond-mode, lyqi-mode library will also be loaded.
;; type `C-c q' in LilyPond-mode to switch to lyqi-mode.

(eval-after-load "lilypond-mode"
  '(progn
     (load-library "lyqi-mode")
     (define-key LilyPond-mode-map "\C-cq" 'lyqi-mode)))

avec
address@hidden:~$ ls ~/.elisp/lyqi/
lyqi-base.el    lyqi-editor.elc  lyqi-mode.el    lyqi-parser.elc
lyqi-base.elc   lyqi-midi.el     lyqi-mode.elc   lyqi-rumor.el
lyqi-editor.el  lyqi-midi.elc    lyqi-parser.el  lyqi-rumor.elc






reply via email to

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