Chris Jackson <[EMAIL PROTECTED]> writes:
> OK - The code below is a first attempt at indentation for lilypond-mode.
Wow. That first attempt seems to work quite well, at first try!
> However...
>
> The problem with the accents / phrase marks is that the standard Emacs
> syntax table is not able to deal with regexps as parenthesis-pairs, just
> single characters.
Ouch. Have you tried asking emacs gurus (eg [EMAIL PROTECTED] or
[EMAIL PROTECTED])?
> As a result, this code is *very slow*, especially for indenting big
> blocks of text at once at the bottom of a source file... But it's OK for
> indenting single lines as you type.
I must say that the speed is not too bad. On my fairly old G3/233MHz,
it feels comparable with c-mode's indenting speed.
> diff -purN lilypond-1.5.28/AUTHORS.txt
> lilypond-1.5.28-new/AUTHORS.txt
That file is generated from Documentation/topdocs/AUTHORS.texi, so
i've added:
--- Documentation/topdocs/AUTHORS.texi~ Thu Oct 11 17:29:20 2001
+++ Documentation/topdocs/AUTHORS.texi Thu Jan 24 11:18:11 2002
@@ -37,6 +37,8 @@
American chord names, gnu-windows testing
@item @email{bjoern.jacke@@gmx.de, Bjoern Jacke}
German glossary stuff.
+@item @email{chris@@fluffhouse.org.uk, Chris Jackson},
+ Emacs mode indentation, directed arpeggios.
@item @email{nj104@@cus.cam.ac.uk, Neil Jerram}.
parts of Documentation/Vocab*
@item @email{heikki.junes@@hut.fi, Heikki Junes}.
> +;;; Chris Jackson <[EMAIL PROTECTED]>
> +;;; some code is taken from ESS (Emacs Speaks Statistics) S-mode by A.J.Rossini
><[EMAIL PROTECTED]>
(that's gpl'd right?)
Oh, and could you please send a ChangeLog entry?
Thanks,
Jan.
--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel