]> git.donarmstrong.com Git - lilypond.git/commitdiff
colour groups for horizontal, vertical and expressional grouping.
authorHeikki Junes <heikki.junes@hut.fi>
Fri, 10 Jan 2003 23:19:49 +0000 (23:19 +0000)
committerHeikki Junes <heikki.junes@hut.fi>
Fri, 10 Jan 2003 23:19:49 +0000 (23:19 +0000)
ChangeLog
lilypond-font-lock.el
lilypond.words

index 704c1114813f91291853a04ffe87b58b91281efa..c821c4289e855a9a6059a886d0c12d381b9768df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-01-11  Heikki Junes  <hjunes@cc.hut.fi>
+
+       * lilypond.words: add one.
+
+       * lilypond-font-lock.el: add colour groups for horizontal, vertical 
+       and expressional note grouping. Fontify chord modes.
+
 2003-01-09  Heikki Junes  <hjunes@cc.hut.fi>
 
        * Documentation/user/music-glossary.tely (Top): translate melisma.
index f4cf55dd53e1b89d397aabe16327233f8e6786fa..cc2a7599bc5b580b243da33534736205232a20fc 100644 (file)
 
     (list 
 ;; Fonts in use (from GNU Emacs Lisp Reference Manual, elisp.ps):
-;; font-lock- comment / string / keyword / builtin / function-name / 
-;;            variable-name / type / constant / warning -face
+;; font-lock- (c)omment / (s)tring / (k)eyword / (b)uiltin / (f)unction-name / 
+;;            (v)ariable-name / (t)ype / co(n)stant / (w)arning -face
 
 ;; The order below is designed so that proofreading would be possible.
 
 ;; Fontify...
-;; ... first identifiers and keywords.
-;; ... then other expressions having '\'-mark in the beginning.
-;; ... the right and the left side of '='-marks.
-;; ... reserved words, e.g., FiguredBass.
-;; ... notes and rests
-;; "on top", 6) ... '<{[]}>'-brackets
-;; "on top", 7) ... ties, slurs and hairpins
-;; "on top", 8) ... (multiline-)scheme; urgh. one should count the slurs
-;; "on top", 9) ... strings
-;; "on top", 10) ... (multiline-)comments
+;; ... (f) identifiers and (k) keywords.
+;; ... (n) user defined indetifiers
+;; ... (v) the right and the left side of '='-marks.
+;; ... (v) reserved words, e.g., FiguredBass.
+;; ... (t) notes and rests
+;; "on top", ... (w) horizontal grouping
+;; "on top", ... (f) vertical grouping
+;; "on top", ... (b) expressional grouping
+;; "on top", ... (s) lyrics-mode
+;; "on top", ... (s) (multiline-)scheme; urgh. one should count the slurs
+;; "on top", ... (s) strings
+;; "on top", ... (c) (multiline-)comments
 
 ;; One should note 'font-lock-multiline' has been possible since Emacs 21.1.
 ;; See, e.g., text in "http://emacs.kldp.org/emacs-21.1/etc/NEWS".
 ;; ... note or rest (with an accidental), e.g., b,? -- allows cis\longaX
       '("\\(^\\|[ <\{[~(!)\t\\\|]\\)\\(\\(\\(bb\\|as[ae]s\\|eses\\|\\(do\\|re\\|[ms]i\\|[fl]a\\|sol\\)\\(bb?\\|dd?\\|ss?\\)?\\)\\|\\([a-h]\\(\\(flat\\)+\\|\\(sharp\\)+\\|is\\(siss\\|i?s\\)?\\|es\\(sess\\|e?s\\)?\\|ff?\\|ss?\\)?\\)\\)[,']*[?!]?\\|[srR]\\)" 2 font-lock-type-face)
 
-;; "on top", ... '{[]}'-brackets
-      '("\\([][}{]\\)" 0 font-lock-warning-face t)
+;; "on top", ... horizontal grouping:
+;;               - brackets '{[]}'
+;;               - ties '~'
+      '("\\([][~}{]\\)" 0 font-lock-warning-face t)
 
-;; "on top", ... '<>'-brackets, not marcato '->'
-      '("\\(\\(-.\\)+\\|[^-^_]\\)\\([[<>]+\\)" 3 font-lock-warning-face t) 
+;; "on top", ... vertical grouping:
+;;               - '<>'-chord brackets with '\\'-voice sep., not marcato '->'
+;;               - '<< a b >>8' -chords
+      '("\\(\\(-.\\)+\\|[^-^_]\\)\\([<>]+\\(128\\|6?4\\|3?2\\|16?\\|8\\|\\\\\\(breve\\|longa\\)\\)?\\|\\\\\\\\\\)" 3 font-lock-function-name-face t)
 
-;; "on top", ... ties ~, slurs \( () \), hairpins \<, \>, \! 
-      '("\\(\\\\[(<!>)]\\|[(~)]\\)" 0 font-lock-builtin-face t)
+;; "on top", ... expressional grouping:
+;;               - slurs \( () \)
+;;               - hairpins \<, \>, \! 
+      '("\\(\\\\[(<!>)]\\|[()]\\)" 0 font-lock-builtin-face t)
 
 ;; "on top", ... lyrics-mode: fontify everything between '{' and '}'
       '("\\(\\\\lyrics[^{]*{\\)\\([^}]*\\)" 2 font-lock-string-face t)
index 4e9277ce325b1182ed5762177b35db8ee974d9c9..b501a3284639a77b4f60f9fd0a6828bd02dd8515 100644 (file)
@@ -399,6 +399,7 @@ tenor
 \\textIII
 \\textscript
 TextScript 
+TextSpanner
 \\thenotes
 \\thrd
 Thread