Functional changes
commit126131bff46eec7813b9d2d308eddf82ae655eb0
authorsmerten <smerten@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 12 Dec 2010 18:32:18 +0000 (12 18:32 +0000)
committersmerten <smerten@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 12 Dec 2010 18:32:18 +0000 (12 18:32 +0000)
treeb20745e2c9dfaa64320b2470b246f4ccabfd25b5
parent6e5024e6a8f51329519d620617eed1ce48fa145b
Functional changes
==================

* `rst-insert-list` inserts new list or continues existing lists

  * Based on code by Wei-Wei Guo

* Revised key bindings

  * Rebound nearly all bindings to make room in the keymap for further
    extensions and to bind them to the same keys as in other modes

  * New key bindings use a two step approach

  * Old bindings are still present but deprecated

  * Bindings are described with ^H

* Improvements in regular expressions

  * `comment-start-skip` cares about indendation relative to explicit
    markup tag so such comments are filled properly

  * Shift region works with all kinds of valid item types

  * Paragraph starts recognize list item types and no longer allows
    ">" prefixes

* Other improvements

  * Bullets are no longer customizable and contain all bullets
    supported by reST

  * `rst-toc-update` sets point correctly

  * `rst-bullet-list-region` uses `rst-preferred-bullets`

Refactorings
============

* Regular expressions are handled by own infrastructure so they become
  much more comprehensible

* Revised tests

  * Introduced `ert` as a test framework

  * Added support for `ert` based tests

  * Refactored existing tests to use `ert`

  * Added tests for regular expression refactoring

  * Added tests for inserting items

  * Added tests for toc insertion

* Improved structure of some functions

* Replaced "decoration" and derivatives to "adornment" so the wording
  is now the same everywhere

* Made a couple of reST structures explicit in `defconst`\s

* Removed Emacs backward compatibility code

* Added `IDEAS.rst`

git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk@6501 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
15 files changed:
docutils/tools/editors/emacs/IDEAS.rst [new file with mode: 0644]
docutils/tools/editors/emacs/rst.el
docutils/tools/editors/emacs/tests/Makefile
docutils/tools/editors/emacs/tests/README.txt
docutils/tools/editors/emacs/tests/adjust-section.el [new file with mode: 0644]
docutils/tools/editors/emacs/tests/adornment.el [new file with mode: 0644]
docutils/tools/editors/emacs/tests/ert-support.el [new file with mode: 0644]
docutils/tools/editors/emacs/tests/font-lock.el [new file with mode: 0644]
docutils/tools/editors/emacs/tests/items.el [new file with mode: 0644]
docutils/tools/editors/emacs/tests/re.el [new file with mode: 0644]
docutils/tools/editors/emacs/tests/support.el [new file with mode: 0644]
docutils/tools/editors/emacs/tests/tests-adjust-section.el [deleted file]
docutils/tools/editors/emacs/tests/tests-basic.el [deleted file]
docutils/tools/editors/emacs/tests/tests-runner.el [deleted file]
docutils/tools/editors/emacs/tests/toc.el [new file with mode: 0644]