From: Stefan M. <st...@me...> - 2016-08-04 18:31:49
|
Hi Oleksandr! Yesterday Oleksandr Gavenko wrote: > Hi! I actively use rst.el (which come with official Emacs). Over the time different versions of rst.el have been bundled with official Emacs versions. In more recent versions of rst.el you could try ``C-h v rst-version`` for the version you are using. > Only one downside I have. For one long file (700 KiB, 20 kLOC). > > When I open it I have 2-5 sec delay first time and when I mark line as header > (C-c C-= / M-x rst-adjust) it take 1-2 sec to complete action. > > File has near 660 headers (notes for future blog posts). I guess you are using font locking. Some years ago with the help of Emacs developers I spent some effort to enable using `jit-lock-mode`. Please check ``C-h v font-lock-support-mode``. The value should be `jit-lock-mode` (the default). If that makes a difference then fine. If not you may send me your file by private mail. You may want to use rot13 for privacy reasons. You can also try loading your file without font locking switched on. This should not result in any delay. > I have not tried new version yet. There should be no changes in this regard. Grüße Stefan |