comparison lisp/ChangeLog @ 110164:da442f29c7b6

Use SMIE's blink-paren for octave-mode. * lisp/progmodes/octave-mod.el (octave-font-lock-close-quotes): Backslashes do not escape single-quotes, single-quotes do. (octave-block-else-regexp, octave-block-end-regexp) (octave-block-match-alist): Remove. (octave-smie-bnf-table): New var, with old content. (octave-smie-op-levels): Use it. (octave-smie-closer-alist): New var. (octave-mode): Use it. Setup smie-blink-matching and electric-indent. (octave-blink-matching-block-open): Remove. (octave-reindent-then-newline-and-indent, octave-electric-semi) (octave-electric-space): Let self-insert-command run expand-abbrev and blink parens.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 03 Sep 2010 15:28:09 +0200
parents c9b982e5aefd
children 9e17fce46124
comparison
equal deleted inserted replaced
110163:c9b982e5aefd 110164:da442f29c7b6
1 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca> 1 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Use SMIE's blink-paren for octave-mode.
4 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5 Backslashes do not escape single-quotes, single-quotes do.
6 (octave-block-else-regexp, octave-block-end-regexp)
7 (octave-block-match-alist): Remove.
8 (octave-smie-bnf-table): New var, with old content.
9 (octave-smie-op-levels): Use it.
10 (octave-smie-closer-alist): New var.
11 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
12 (octave-blink-matching-block-open): Remove.
13 (octave-reindent-then-newline-and-indent, octave-electric-semi)
14 (octave-electric-space): Let self-insert-command run expand-abbrev and
15 blink parens.
2 16
3 * electric.el (electricity): New group. 17 * electric.el (electricity): New group.
4 (electric-indent-chars): New var. 18 (electric-indent-chars): New var.
5 (electric-indent-post-self-insert-function): New fun. 19 (electric-indent-post-self-insert-function): New fun.
6 (electric-indent-mode): New minor mode. 20 (electric-indent-mode): New minor mode.