From: Stefan M. <st...@me...> - 2016-07-31 15:20:47
|
Hi! Today I uploaded a new version of `rst.el` - the reStructuredText major mode for Emacs. This is a very big patch which is basically a major refactoring introducing some abstractions reflecting reStructuredText concepts. Indeed I developed this for some years now and I'm using the current version for quite some time. Given this and the array of unit tests I added I consider this version production ready. I also pushed this version to the Emacs development tree but at the moment have no idea in which Emacs version it will finally appear. May be it is 25.2. Please find the log entry for this version below. Grüße Stefan === 8< === 8< === 8< === 8< === 8< === 8< === 8< === 8< === 8< === 8< === Major refactoring: * 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. |