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

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

Re: Emacs mode


From: Jean-Jacques Rétorré
Subject: Re: Emacs mode
Date: Thu, 18 Jan 2007 13:11:39 +0100
User-agent: IceDove 1.5.0.9 (X11/20061220)

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

--
Jean-Jacques Rétorré

% Les gens qui ne rient jamais ne sont pas des gens sérieux (A. Allais).
--




reply via email to

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