2003-05-05 Heikki Junes <hjunes@cc.hut.fi>
- * lilypond-mode.el: Move comments of parenthesis matching below.
+ * lilypond-mode.el: Move comments of parenthesis matching away,
+ (blink-matching-paren-on-screen) fix blinking in Emacs.
* lilypond-font-lock.el: Fix parent-matching for Emacs:
- Emacs knows only "13"-style, XEmacs knows also "1b3b", etc.
+ Emacs syntax-table knows only "13"-style, XEmacs knows also "1b3b".
- * lilypond-indent.el: Add TODO.
+ * lilypond-indent.el: Add TODO for parenthesis matching.
2003-05-03 Heikki Junes <hjunes@cc.hut.fi>
;;; TODO:
;;; * emulate show-paren-mode
-;;; * separate slurs '(' and ')' from '\(' and '\)'
-;;; * blinking is not shonw in Emacs, but is shown in XEmacs
+;;; * separate '('- and ')'-slurs from '\('- and '\)'-slurs.
(defcustom LilyPond-indent-level 4
"*Indentation of lilypond statements with respect to containing block.")
(setq local-abbrev-table LilyPond-mode-abbrev-table)
(use-local-map LilyPond-mode-map)
+ ;; In Emacs blink-...-on-screen needs to be declared (, not in XEmacs).
+ (make-local-variable 'blink-matching-paren-on-screen)
+ (setq blink-matching-paren-on-screen t)
+
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression LilyPond-imenu-generic-expression)
(imenu-add-to-menubar "Index")
- (easy-menu-add LilyPond-mode-menu) ; automatically added in Emacs, but
- (easy-menu-add LilyPond-command-menu) ; explicitly added in XEmacs
+ ;; In XEmacs one needs to use 'easy-menu-add' (, not in Emacs).
+ (easy-menu-add LilyPond-mode-menu)
+ (easy-menu-add LilyPond-command-menu)
;; run the mode hook. LilyPond-mode-hook use is deprecated
(run-hooks 'LilyPond-mode-hook))