[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-mode in Emacs on Windows
From: |
Jan Nieuwenhuizen |
Subject: |
Re: lilypond-mode in Emacs on Windows |
Date: |
Thu, 04 Jul 2002 14:36:53 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) |
Bernard Hurley <address@hidden> writes:
> Try putting this in ylur .emacs file:
Can that be done automatically, ie, does the Emacs for Windows
configuration know the concept of a site start directory, something
like:
/etc/emacs/site-start.d
that we could copy the lilypond-init.el snippet to?
Also, could you tell were the other .ELs should be installed?
> (Yes the regular expression does contain 8 backslashes in a row!
Ah, that's nice.
> (defun LilyPond-master-file ()
> (string-replace-match ".*\\(/\\|\\\\\\\)" (buffer-file-name) "" t t))
Could you make this conditional, for Cygwin only, so that we can
include it in lilypond-mode.el itself, something like:
(defun LilyPond-master-file ()
(if (on-cygwin-p)
(string-replace-match ".*\\(/\\|\\\\\\\)" (buffer-file-name) "" t t))
(buffer-file-name))
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org