summaryrefslogtreecommitdiff
path: root/docutils/tools/editors/emacs/tests/buffer.el
Commit message (Collapse)AuthorAgeFilesLines
* Lots of refactorings and a few minor improvements.smerten2017-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | User visible improvements and changes: * Improve and debug `rst-forward-section` and `rst-backward-section`. * Auto-enumeration may be used with all styles for list insertion. * Improve and debug `rst-toc-insert`. * Adapt change in Emacs to use customization group `text` instead of `wp`. * Bind `n` and `p` in `rst-toc-mode`. * `z` in `toc-mode` returns to the previous window configuration. * Require Emacs version >= 24.1. Lots of refactorings including: * Silence byte compiler. * Use lexical binding. * Use `cl-lib`. * Add tests and raise test coverage. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8011 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Major refactoring:smerten2016-07-311-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce classes `rst-Ado', `rst-Hdr', `rst-Ttl' and `rst-Stn' representing reStructuredText section header concepts. * Introduce use case approach for systematic testing of section header adjustment (files `tests/adjust-uc.el` and `tests/adjust-uc_doc.rst`). * Revise and refactor some old code. * Add lots of unit tests. * Replace `set (make-local-variable 'VAR)` by `setq-local VAR`. * Fix minor bugs. Minor feature changes and fixes: * Link final newline in a toc buffer so navigating at the end of the line works. * Improve section header adjustment slightly. * Integrate and update tutorial. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7963 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add support for `imenu` and `which-func-mode`. Remember settingsmerten2012-09-201-1/+0
| | | | | | | | | | | | | | | `which-func-modes` for this feature to work. Automated calculations of section title faces replaced by `defface`. Remove superfluous `rst-portable-mark-active-p`. Refactoring. Add support for `testcover`. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7515 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added C-c C-a C-a to adjust section header adornment. This works withsmerten2012-07-301-0/+180
all types of input methods. Fixed bug ID 3551316 (https://sourceforge.net/tracker/index.php?func=detail&aid=3551316&group_id=38414&atid=422030). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7490 929543f6-e4f2-0310-98a6-ba3bd3dd1d04