1. 05 Sep, 2010 12 commits
  2. 04 Sep, 2010 24 commits
  3. 03 Sep, 2010 4 commits
    • Stefan Monnier's avatar
      Use SMIE's blink-paren for octave-mode. · 89acf735
      Stefan Monnier authored
      * 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.
    • Stefan Monnier's avatar
      * lisp/electric.el (electricity): New group. · 3b843809
      Stefan Monnier authored
      (electric-indent-chars): New var.
      (electric-indent-post-self-insert-function): New fun.
      (electric-indent-mode): New minor mode.
      (electric-pair-skip-self): New custom.
      (electric-pair-post-self-insert-function): New function.
      (electric-pair-mode): New minor mode.
    • Stefan Monnier's avatar
      * lisp/calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace · 0da20854
      Stefan Monnier authored
      (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
      (calc-do-alg-entry): Only touch the part of the keymap that varies.
      Use the new blink-matching-check-function.
    • Stefan Monnier's avatar
      Provide blink-matching support to SMIE. · a49e651e
      Stefan Monnier authored
      * lisp/emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
      (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
      (smie-blink-matching-check, smie-blink-matching-open): New functions.