Hello,

I have made some elisp that hopefully could work as a starting point for what you want.

The features are:

Keyboard macros to facilitate writing Musixtex-command. For instance: when closing a 
group of beamed notes the macro tries to find the opening command for the beam group 
and insert the last note-beam in the opening command to achieve the correct slope.

Font-locking, meaning that the editor colorizes different types of Musixtex commands 
according to the group the command belongs to. This makes it easier to keep track of, 
for instance the notes in a beam group and different "voices", the beginnings and ends 
of different ties etc. The groups are user definable, I've chosen stemup/down, two 
beam groups up, two down, slurs and ties and the like, rests, ornaments, fingerings, 
justifying commands (like \qsk), headings and comments.

The solution as it is now covers a very small subset of Musixtex commands and 
specially made macros I use to make guitar music, but it should be possible extend it 
to make a more generic solution, or different versions for different purposes.

I've sent the elisp file directly to Stefan Svensson, but I'll gladly send it to 
anyone who want it, or to the list if that is considered appropriate.  The size is 
only 41K.

Regards
Ketil Mehl



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Stefan Svensson
Sent: Monday, February 10, 2003 10:14 PM
To: Rainer Dunker
Cc: TeX Music
Subject: Re: [TeX-music] emacs modes


> Well, I've done a few things in elisp quite a while ago, so perhaps I'm
> able to help here. But what features should such an Emacs mode have?
> Maybe we can just collect ideas of useful functions and then see whether
> we can implement them.

Mainly, I'd like proper font-lock. Comments, TeX inline, notes and 
non-note symbols (especially slurs and ties) in different colors.

Stefan

-- 
Stefan Svensson                     Phone: +46-90-135000
Himlastigen 14                      WWW: http://raggmunk.nu/~stefan/
906 41 UmeƄ, Sweden                 ICQ: 1956984

_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music


-Ketil

_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music

Reply via email to